Skip to contentSkip to conversation

Dead Gateway Detection

LARTC Giorgio Biondi 3 participants 3 messages Aug 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I have a linux box loaded with RH7.1, 3 ethernet with load balance on 2 ISP.
In theory, if one router stop to work (I have turn off for this try), the Dead Gateway Detection, would re-instradate alla traffic on other link. This not work...someone have more experience on this?

Giorgio Biondi

#1 lore raw
Quoted 6 lines · Giorgio Biondi

Hi,

I have a linux box loaded with RH7.1, 3 ethernet with load balance on 2 ISP. In theory, if one router stop to work (I have turn off for this try), the Dead Gateway Detection, would re-instradate alla traffic on other link. This not work...someone have more experience on this?

Have you followed the lartc howto chapter 10?

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw

[LARTC] Dead gateway detection

In reply to Giorgio Biondi

Hi,

I installed the routing patches at
http://www.linuxvirtualserver.org/~julian/#routes for Linux 2.4.19 and have a few questions:

Q1: In the Nano-HOWTO on your site, it says to include these statements:
"ip route append prohibit default table <tablename> metric 1 proto static"
Why? What does it do? If I use these I can't connect to the Internet, without them I can.

Q2: I have the following multipath route to the Internet:
"default proto static
nexthop via GW1 dev eth1 weight 1
nexthop via GW2 dev eth2 weight 1"
If I unplug eth2 the second route is never marked as 'dead', why? Only if I 'ifconfig eth2 down' the second route is marked dead. I thought the patches would detect this?

Thanks,

--
Laurens van Alphen
Keen on dots
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/