From owner-freebsd-questions Fri Jun 11 14:50:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 60B0814D55 for ; Fri, 11 Jun 1999 14:50:14 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id OAA04030; Fri, 11 Jun 1999 14:50:07 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 11 Jun 1999 14:50:06 -0700 (PDT) From: Doug White To: Adam Breaux Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Firewall With 2 Gateways In-Reply-To: <000f01beb2df$7027cbe0$1e01a8c0@altronics.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 9 Jun 1999, Adam Breaux wrote: > I need to setup a machine with the ability to switch between 2 > different gateways automatically. > > The system would need 3 nics ( I assume ). Not necessarily. > LAN Interface: > ip: 192.168.1.1 > nm: 255.255.255.0 > > Cable Interface: > ip: 24.x.x.x > nm: 255.255.255.0 > gw: 24.x.x.254 > > Frame Interface: > ip: 205.x.x.x > nm: 255.255.255.224 > gw: 205.x.x.161 > > Some sort of script that pings a remote host...cable provider's router > maybe... That's the basic way. A better, more robust way would be to run gated/routed with your upstreams and use that to swap the gateway. > When it loses connect, change default gateway to frame. > When cable comes back up, change default gateway to cable. > > Any ideas on this? I have a pretty good idea of what is needed but a > good how-to is certainly in order. Thanks in advance. Switching between cable and a direct FR connection? That has to be expensive. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message