Mike Fedyk wrote: > > bert hubert wrote: > > > > On Thu, Nov 16, 2000 at 02:49:33PM -0800, Andrew wrote: > > > > > > I wan't to do a backup connection with the ADSL link. > > > > With what tools I can do this? > > > > ipchains, iptables, a third party tool? > > > > > > > I'm in the middle of doing something very similar. I don't know how often they > > > update the archives on this list but the subject on the thread for what I'm > > > working on > > > > Linux has a thing called 'dead gateway detection', which might work for you. > > Just make two routes with a different metric, should work I think. > > > > Existing sessions will die however because their source IP address is > > unroutable. > > I'm not sure that is working correctly. I have two DSLs to the internet with > different IP addresses, speeds and ISPs. > > DSL1: 63.194.. 384Kb/sec X 1.5-6Mb/sec ADSL on eth1 via pacbell > DSL2: 64.63.. is 768Kb/sec SDSL on eth2 via lmki > > Test: > ping yahoo site through DSL1 > unplug phone line from bridge on DSL1 > ip route flush table cache > ping yahoo site --- No response > tracepath yahoo site --- Still trying to use DSL1 > > That isn't working. > > Here's my setup: > $ ip route > 10.1.1.1 dev eth2 scope link src 10.1.1.2 > 10.0.0.0/24 dev eth0 scope link src 10.0.0.1 > 127.0.0.0/8 dev lo scope link > default > nexthop via 63.194.239.201 dev eth1 weight 99 > nexthop via 10.1.1.1 dev eth2 weight 1 > For the default route, try: ip route add default via 63.194.239.201 dev eth1 ip route add default via 10.1.1.1 dev eth2 metric 10 But you will loose the load balancing behaviour. Emmanuel.