[LARTC] Load balancing with failover

Tushar Thakker tusharthakker@elitecore.com
Fri, 2 Jan 2004 11:08:21 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C3D120.BC05A0F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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,
please guide me,
thanx in advance,
Regards,

----------------------------------------------------------------
Tushar Thakker
Elitecore Technologies Ltd.
Ph: 9824080066 / 6405600 Ext-535
----------------------------------------------------------------
Life gives all that one deserves, but not all that one desires...
----------------------------------------------------------------

------=_NextPart_000_004B_01C3D120.BC05A0F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have network setup with 3 gateways =
and a large=20
number of intranet nodes,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i want to do automatic load balancing =
with=20
failover,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have put following ip rules and=20
routes,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip rule=20
add prio 222 table 222<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip =
route=20
add default table 222 proto static=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
nexthop via $GWE1 dev $IFE1=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
nexthop via $GWE2 dev $IFE2 \</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
nexthop via $GWE2 dev $IFE3 \<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Now, i also want to do =
failover,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but the point is that what shall i need =
to do about=20
deleting the route cache as soon as some gateway becomes dead or=20
unavailable,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>what the system will do on its own and =
what we need=20
to do for this,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i need a help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>please guide me,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanx in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
<BR>Tushar=20
Thakker<BR>Elitecore Technologies Ltd.<BR>Ph: 9824080066 / 6405600=20
Ext-535<BR>--------------------------------------------------------------=
--<BR>Life=20
gives all that one deserves, but not all that one=20
desires...<BR>-----------------------------------------------------------=
-----</FONT></DIV></BODY></HTML>

------=_NextPart_000_004B_01C3D120.BC05A0F0--