Two routing cache entries with different interface

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 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
    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,
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...
----------------------------------------------------------------

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