Linux Network Failover
Posted on 2003-03-05
Ok, I have a linux box and two broadband ethernet connections, one bellsouth and the other comcast.
I want to set the firewall up so when comcast(eth1) goes down, it uses bellsouth(eth2). (eth0 will be internal) When comcast comes back up it switches back.
I can do it the "hokey" way and write a bash script that runs every 5 seconds to see if the internet can be reached on eth1, and if not switches to eth2. But I don't want to do it the hokey way. I'm looking for a daeomon to do this, or a project that's modifying IPTables to do all this or something a little less fragile than my cheesy bash scripts.
Anyone know of any projects doing this?
And bonding the two would be awesome, but I think that's not going to be feasible with 2 seperate isp's.