Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 14:50:06 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Adam Breaux <adam@idomains.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Firewall With 2 Gateways
Message-ID:  <Pine.BSF.4.03.9906111447480.21365-100000@resnet.uoregon.edu>
In-Reply-To: <000f01beb2df$7027cbe0$1e01a8c0@altronics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9906111447480.21365-100000>