Networking Forums

Networking Forums > Computer Networking > Linux Networking > linux routing with multiply isp

Reply
Thread Tools Display Modes

linux routing with multiply isp

 
 
adriandcosta@fastmail.fm
Guest
Posts: n/a

 
      09-27-2005, 06:39 AM
Hi,

I have a linux box connected to a local lan. the ip address is
192.168.1.254. This is the default gateway for the lan. Also I have
to broadband connections that has routers. 1. Airtel 192.168.1.1 and 2
VSNL 192.168.1.9. My aim is that if either one of the lines go down I
want the other to take over. All connections are connected to a switch
which includes tbe broadband connections. My routing table is

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
eth0
0.0.0.0 192.168.1.9 0.0.0.0 UG 0 0 0
eth0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0
eth0

Right now if I switch off airtel it takes time to switch over the vsnl.
If I put back airtel and switch off vsnl it it still searches for
vsnl. If I use ip route flush cache. Then it work. Is there a way to
do this automatically.

I also run a local dns for the lan.

Regards

Adrian

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Routing Noah Roberts Linux Networking 6 01-16-2005 01:36 AM
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
linux routing help Jemy Linux Networking 2 08-27-2004 10:34 AM
linux routing Jemy Linux Networking 2 08-24-2004 03:21 AM
Routing on Red Hat Linux 9 Aleksandr Zingorenko Linux Networking 3 07-09-2003 12:56 PM



1 2 3 4 5 6 7 8 9 10 11