LINUX failover between two default gateways

Derek Atkins warlord at MIT.EDU
Wed Feb 27 15:30:42 EST 2002


You need to use dynamic routing on the client.  Look at gated.

-derek

LINUX-User <barzel at rocketmail.com> writes:

> Any suggestions for failover between two default gateways?
>  
> I am setting up a RH 7.2 server (kernel 2.4.9-21smp) and need it to be
> able to failover from one default gateway to another on the same
> subnet.
>  
> For example:
> This server is 192.168.1.10. 
> The two valid gateways, 192.168.1.1 & 192.168.1.2.
> 
> I need failover so that if one gateway is down, the server will use the
> other. The two gateways are Cisco routers, not LINUX servers.
>  
> The failover does not work when both routes are created with "route add
> ..." With or without metrics, only the first route is used.
>  
> I think I need to use iproute2 but I have not found an example of my
> situation.
>  
> Any suggestions? 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every occasion!
> http://greetings.yahoo.com
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the Discuss mailing list