Skip to contentSkip to conversation

dual gateways

DISCUSSION per j 2 participants 2 messages Feb 5, 2003 – Feb 6, 2003

lore
Share & tools
lore

per j

author
#0 lore raw

How about this? Use at to ping something on the Internet periodically or ping the T3 router. Modify the defaultroute by using route whenever ping returns false. Use MASQUERADE instead of SNAT in Netfilter.

Quoted 17 lines

I'm sure this is possible, but I just haven't gotten it to work right by playing around with the settings.

I've got three NICs in the firewall box. I've also got two routers that go to the Internet via two separate lines (a T1 and a partial T3). I've got my default gateway set on the linux box to go out via the T3 and NAT setup for my clients to route out via that interface. I'd like to know if it's possible to setup a failover route to redirect clients out the T1 should the T3 not be available, even if the router is. Here's the basic diagram:

                          (default route)
                          eth2 <---> |T3 Router| <---> Internet
LAN <---> eth1 |firewallBox|
                          eth1 <---> |T1 Router| <---> Internet
Quoted 3 lines

Khanh Tran
Network Operations
Sarah Lawrence College

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

#1 lore raw

let's have a look at www.lartc.org may can help you!! regards,

diego

----- Original Message -----
From: "per j" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 05, 2003 2:25 PM
Subject: Re: dual gateways

Quoted 8 lines

How about this? Use at to ping something on the Internet periodically or ping the T3 router. Modify the defaultroute by using route whenever ping returns false. Use MASQUERADE instead of SNAT in Netfilter.

Quoted 4 lines

I'm sure this is possible, but I just haven't gotten it to work right by playing around with the settings.

I've got three NICs in the firewall box. I've also got two routers that

go

Quoted 3 lines
Quoted 3 lines

to the Internet via two separate lines (a T1 and a partial T3). I've got my
default gateway set on the linux box to go out via the T3 and NAT setup

for

Quoted 22 lines
Quoted 12 lines

my clients to route out via that interface. I'd like to know if it's possible to setup a failover route to redirect clients out the T1 should the
T3 not be available, even if the router is. Here's the basic diagram:

                          (default route)
                          eth2 <---> |T3 Router| <---> Internet
LAN <---> eth1 |firewallBox|
                          eth1 <---> |T1 Router| <---> Internet
Quoted 3 lines

Khanh Tran
Network Operations
Sarah Lawrence College

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail