All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] further than dead gateway detection
@ 2003-03-03 13:43 Никита Винокуров
  2003-03-03 15:55 ` Esteban Ribicic
  0 siblings, 1 reply; 2+ messages in thread
From: Никита Винокуров @ 2003-03-03 13:43 UTC (permalink / raw)
  To: lartc

Hi all!

I have  a set up of router with two ISP providers. Each on ADSL modem and with public IP address. I've the patch from Julian Anastasov applied (routed-2.4.20-9.diff).
External interfaces are: eth1 and eth2, internal is: eth0. The modems serve as gateways to my router, so, I simply set them as gateways on correspondent interfaces.

Multipath routing is  implemented as two nexthop's:

ip route add default table 222 proto static \
 nexthop via $GATEWAY1 dev eth1 weight 1 \
 nexthop via $GATEWAY2 dev eth2 weight 10

so when I plug-off the eth1 link to first modem, all the traffic moves to go through the eth2 and vice-versa. It works successfully.

The problem is that the most probably situation is not when one of my gateways is down (because it's really a modem and I have full access to it), but when the modem link to one of providers is down. So almost always I have the routes to be present in the system (I think because of the gateways are really up) and cached while one of my provider is down. The point is that the packets passed through the eth2 keep the same route even after my second provider fails (but gateway remains reachable) and they dont want to switch to the eth1. So any connection seems not working.

Please, help. How to detect that the link _behind_ a gateway is break? All the time gateways are reachable. _______________________

--
Nikita________________
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-03 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-03 13:43 [LARTC] further than dead gateway detection Никита Винокуров
2003-03-03 15:55 ` Esteban Ribicic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.