[wellylug] multiple gateways

Nigel Roberts nigel at nobiscuit.com
Fri Dec 3 10:21:47 NZDT 2004


You can only have one default gateway. If you know the source
addresses for all traffic coming in one of the interfaces, you can set
up a bunch of static routes (route add <network> <netmask> <gateway>).

Other than that, this indicates a pretty broken network set up and I
suggest you fix it before you try any nasty hacks :)

On Fri, 03 Dec 2004 at 10:06:17 +1300, Mark Signal wrote:

> Hi
> 
> hopefully a simple question
> 
> I want a debian box to be able to respond to traffic that comes  2 
> different gateways.
> 
> I tried adding a second gateway setting for eth0 in the  
> /etc/network/interfaces file but as I expected it spat the dummy
> 
> presumably I need a primary gateway (as defined in 
> /etc/network/interfaces?) and an alternative gateway set up in routing 
> somehow?
> 
> as usual - any pointers/abuse gratefully accepted
> 
> thanks
> 
> Mark Signal
> 
> 
> -- 
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug




More information about the wellylug mailing list