Link to home
Start Free TrialLog in
Avatar of bennybutler
bennybutler

asked on

Linux Network Failover

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.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nick Accad
Nick Accad
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

bennybutler:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.