Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-10-2006, 05:35 AM   #1
Registered: Apr 2006
Posts: 82

Rep: Reputation: 15
Exclamation Isp failover for a dummies

To start out it is probely going to be something were i am going to be like "doup". Ineed to make a isp fail over from T1 to DSL but befor i give it a big job i am testing it at home. I think this is the problem but i dont have a different way but i took my dsl line goes to a router then goes to my computer. there i have a swich to make 2 lines for the different "internet lines" that is probely messing it up. a have 3 internet ports and got my howto from then i have the two lines going into eth0 and 1 with a on 0 and address on the other (also could be a problem). then my eth2 goes dirrectly to my pc (third problem)(i dont know if i need a router but i dont want to buy one to fing out i dont need it). the ip adress is and i can connect to it in my computer but i dont get any receved packets but i can ping it. also on the linux box i dont get internnet connection (i cant get ect). Also the firewall and linux security ard dissabled. can some one tell me what is wrong.
Old 05-10-2006, 10:24 PM   #2
Registered: Apr 2006
Posts: 82

Original Poster
Rep: Reputation: 15
ok i have my program to be able to switch it over when it goes out... It is very basic but i will add to it later when i can. Now i still cant figure out how to get it to have an output i have 3 adapters 2 are on lan and the third one to my pc but i cant get it. i was hoping someone could add to the program and get it capable of using etc2 and the output...






while true; do

if ! ping -c 4 -w 4 $PING; then



if [ $MISSED -gt 2 ]; then

ifconfig eth1 netmask up



if [ $MISSED -eq 2 ]; then

ifconfig eth1 netmask up
ifconfig eth0 down
route add -net netmask gw
route add default gw
sleep $PAUSE1


sleep $PAUSE;



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP failover mechanism vilaor Linux - Networking 1 02-02-2006 10:51 AM
failover routing firsttux Linux - Networking 1 01-24-2006 04:21 PM
SUSE Linux 9.3 for Dummies (For Dummies S.) samuelmp SUSE / openSUSE 11 08-01-2005 02:42 PM
Changing ISP, apt-get can not see new ISP proxy linx win Debian 0 01-05-2005 04:41 AM
Failover LAN gkrishna Linux - Networking 1 06-25-2003 02:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration