linux routing with multiply isp

adriandcosta_at_fastmail.fm
Date: 09/27/05


Date: 26 Sep 2005 23:39:19 -0700

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



Relevant Pages

  • Re: WRT54GS problem
    ... PC1 - local lan ... Wireless direct to BEFW11S4 ... OK, other than the lack of detail, I now understand your setup. ... It's not unusual for one of these connections ...
    (alt.internet.wireless)
  • Re: how to convigure LAN
    ... And how to to disable file/print sharing for connections coming into our ... LAN(outside connections), ... and switch connected to router. ... Lan must be fully inaccessible to them and for others WAN. ...
    (microsoft.public.windowsxp.general)
  • Re: Laptop video noise -- help
    ... > OTA, LAN router, Cable-TV, DVD player, HT, some ... Are there any antenna or cable/satellite cables ... No direct OTA connections to any PCs on the LAN. ... There's probably some 60hz on that amp and on the OTA cables to the TVs. ...
    (alt.tv.tech.hdtv)
  • Re: Internet Connection Sharing
    ... This will require two LAN adaptors, one of which will be connected directly to my cable modem and the other will have a hub connected to it for my LAN. ... I want to make this thing as dumb as possible on the WAN side just like a home router and have a small file and printer server on the LAN side. ... XP Pro has a hard limit of 10 connections, and you may very well suddenly find yourself out of connections, with only an OS upgrade to server as a fix. ...
    (microsoft.public.windowsxp.general)
  • Re: Multihomed server 2000
    ... The idea was that if I only accepted VPN connections on the ... Ethernet adapter Intel: (attached to internal LAN) ... I've got a Win2K server with 2 NICs; one is set to 192.168.0.5 and is ...
    (microsoft.public.windows.server.networking)