[LARTC] Load balancing with failover
Steen Suder, privat
steen@suder.dk
Fri, 02 Jan 2004 14:46:10 +0100
Tushar Thakker wrote:
> Hi all,
> i have network setup with 3 gateways and a large number of intranet nodes,
> i want to do automatic load balancing with failover,
> i have put following ip rules and routes,
>
> ip rule add prio 222 table 222
> ip route add default table 222 proto static \
> nexthop via $GWE1 dev $IFE1 \
> nexthop via $GWE2 dev $IFE2 \
> nexthop via $GWE2 dev $IFE3 \
>
> Now, i also want to do failover,
> but the point is that what shall i need to do about deleting the route cache as soon as some gateway becomes dead or unavailable,
> what the system will do on its own and what we need to do for this,
> i need a help,
AFAIK, You'd have to look at Julian's routepatch(es):
<http://www.ssi.bg/~ja/#routes-2.4>.
Search for "Dead Gateway Detection".
It may not be the entire solution, but a step in the right direction.
--
Mvh. / Best regards,
Steen Suder <http://www.suder.dk/>
ICQ UIN 4133803