Two routing cache entries

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,
i am setting up a load balancing network with failover,
i have applied julian patch,
but whenever i try to establish a new connection from any client node, it gives me two
entries in the routing cache for that destination with different or same interface for those entries,
but off the two entries only one route path is used for the transmission.


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

if i see the routing cache for that ip,
shows following,

205.158.62.141 via 203.88.135.213 dev eth1  src 203.88.135.212
   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
   cache <src-direct>  mtu 1500 advmss 1460 iif eth0

please see eth1 and eth2 in both entries,

what can be the reason behind this,
thanx in advance,
Regards,
senthil


_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux