[ILUG-BOM] Backup Internet Line

george at annamsoft.com george at annamsoft.com
Mon May 4 14:38:25 IST 2009

Hi Raju,

The equipment terminating the 2 Internet lines are DSL modem/router.

I am planning to set up UNTANGLE as the gateway to the Internet.  Is it
possible to set more the one Internet line on UNTANGLE.

Can you tell me the script that will check the link status every minute
and sets the default route to the link which is up.

George John

> What is the equipment terminating the line?
> If these are DSL lines, you can set up a Linux box that runs PPPoE for
> all your links directly.  Then it's trivial to be able to determine if
> the link is up or not: if the PPP process of the link is up, you can
> route through it.  Run a small script that checks the link status every
> minute and sets the default route according to which link is up.
> NAT-ing on this Linux box will allow the rest of your LAN to access
> the 'net.
> If you're running proper routers for each link, you'll need to write a
> slightly longer script that will check transmission through each router
> and set the default gateway depending on which router is letting
> transmissions through.  Again, NAT your LAN traffic through the Linux
> box that does this.
> You can also load balance between multiple links using Linux if you're
> feeling adventurous.
> Regards,
> -- Raju
> --
> Raj Mathur                raju at kandalaya.org      http://kandalaya.org/
>        GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
> PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves
> --
> http://mm.glug-bom.org/mailman/listinfo/linuxers

More information about the Linuxers mailing list