Linux Network Failover

Posted on 2003-03-05
Medium Priority
Last Modified: 2008-02-26
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.

Question by:bennybutler
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

naccad earned 300 total points
ID: 8083992
you might want to look at some linux based BGP implementations, i know of one, zebra from http://www.zebra.org.


Expert Comment

ID: 9077730
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 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question