Daniel Bartlett
2004-Nov-25 17:09 UTC
Monitoring Connections + Updating routes?? - For a load balanced connections over 2 ISP connections
Hi, Before I delve into trying to get this to work I was wondering if anyone had any suggestions. I was thinking of pinging the next-hop after our routers(ie the ISPs routers) and checking to see if the connection is down. If that is the case then updating the ip routes to not use that connection until it is fixed. Also flushing the connection tables for the routing so as the remembered routes don't just time over the non existent route. I'm slightly stumped on how to check when the connection comes back up. Maybe add the route back in and then try the ping, then if it is down leave it there, else take it off line. Anyone got any suggestion on this one?? Cheers, Daniel. ,S f)+-L)Y=jyaffvZ_j)fjb?psLmr
gypsy
2004-Nov-26 05:26 UTC
Re: Monitoring Connections + Updating routes?? - For a load balanced connections over 2 ISP connections
Daniel Bartlett wrote:> Anyone got any suggestion on this one?? > > Cheers, > Daniel.Ping each using any working connection then flag the return status. When I had multiple connections at home, I pinged each from work and sent small flag files (using a working IP) indicating DOWN or UP, monitoring those flag files. It never happened that all were down at the same time, but even if they were it wouldn''t have mattered... At work, our ISP pings our public IP every 30 seconds. A "sleep 30" script could detect that the pings cease. Some ping programs let you specify which interface. If yours doesn''t, download the source and compile it with that option. You might be able to send an ARP or arping asking for the next hop. iptraf can log. HTH gypsy _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/