From: "Tushar Thakker" Date: Sat, 10 Jan 2004 06:20:46 +0000 Subject: [LARTC] Two routing cache entries with different interface Message-Id: <006501c3d7ae$f60945b0$3301a8c0@elitecore1> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_005B_01C3D76B.C9066D60" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_005B_01C3D76B.C9066D60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi all, i am setting up a load balancing netwrok with failover, i have applied julian patch, but whenever i try to traceroute from any client node, it gives me two = entries for that destination, but i get different interface for that = entries, so it doesn't forward my requests, i have done masquerading for client nodes, the ip rule/route are as follows, ip rule add prio 222 table 222 ip route add default table 222 proto static \ nexthop via $GWE1 dev $IFE1 weight 1\ nexthop via $GWE2 dev $IFE2 weight 1 Now after traceroute failure, if i see the routing cache for that ip, it = shows following, 205.158.62.141 via 203.88.135.213 dev eth1 src 203.88.135.212=20 cache mtu 1500 advmss 1460 205.158.62.141 from 192.168.1.51 via 203.88.135.205 dev eth2 src = 192.168.1.242=20 cache mtu 1500 advmss 1460 iif eth0 please see eth1 and eth2 in both entries, now it does not forward this request, what can be the reason behind this and please can anyone suggest me the = solution, thanx in advance, Regards, ---------------------------------------------------------------- Tushar Thakker Elitecore Technologies Ltd. ---------------------------------------------------------------- Life gives all that one deserves, but not all that one desires... ---------------------------------------------------------------- ------=_NextPart_000_005B_01C3D76B.C9066D60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi all,
i am setting up a load balancing = netwrok with=20 failover,
i have applied julian = patch,
but whenever i try to traceroute from = any client=20 node, it gives me two entries for that destination, but i get different=20 interface for that entries,
so it doesn't forward my = requests,
i have done masquerading for client=20 nodes,
 
the ip rule/route are as = follows,
 
        ip rule=20 add prio 222 table 222
        ip = route=20 add default table 222 proto static=20 \
           &n= bsp;   =20 nexthop via $GWE1 dev $IFE1 weight=20 1\
           &= nbsp;   =20 nexthop via $GWE2 dev $IFE2 weight 1
 
Now after traceroute failure, if i see = the routing=20 cache for that ip, it shows following,
 
205.158.62.141 via 203.88.135.213 dev=20 eth1  src 203.88.135.212
   =20 cache  mtu 1500 advmss 1460
205.158.62.141 from 192.168.1.51 via = 203.88.135.205 dev eth2  src 192.168.1.242=20
    cache <src-direct>  mtu 1500 advmss = 1460 iif=20 eth0
 
please see eth1 and eth2 in both=20 entries,
now it does not forward this = request,
what can be the reason behind this and = please can=20 anyone suggest me the solution,
thanx in advance,
Regards,
 
----------------------------------------------------------------=
Tushar=20 Thakker
Elitecore Technologies=20 Ltd.
----------------------------------------------------------------<= BR>Life=20 gives all that one deserves, but not all that one=20 desires...
-----------------------------------------------------------= -----
------=_NextPart_000_005B_01C3D76B.C9066D60-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/