[Ilugc] Two Static Ip connection

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Sat Jan 10 08:56:41 2009

It is a bit difficult to understand what you are trying to sat. I think
you are looking for a solution wherein you have 2 ISP links that are
load balanced, and link failure detection is automatic.  The latter is
quite simple - use cron scheduler to ping at regular intervals, detect
failure and switch to the active link (shell scripting necessary).

OP - will help if you post an ASCII diagram of your network.

If both links terminate on the linux machine:
Better way would be to have 2 default routes with equal or weighted
cost balancing turned on. see http://www.lartc.org for more help. More
robust than checking links using methods like ping as those replies
are turned off in many cases.

If the links are terminating on two different machines, look at using
VRRP with object linking.

If you want a ready made solution, this might be of help
<http://www.wifi.com.ar/cdrouter.html>  I have not tried it myself.
It looks like the person using this needs to know a lot more than what
OP wanted to do. This package includes shorewall, wondershaper etc
which require some good networking knowhow and scenario
conceptualisation. Rare to find unless one has tinkered around these
by hand.

Mohan

Other related posts: