Re: 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]

 



	Hello,

On Sat, 10 Jan 2004, Tushar Thakker wrote:

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

	output route, probably created from -j MASQUERADE?:

> 205.158.62.141 via 203.88.135.213 dev eth1  src 203.88.135.212
>     cache  mtu 1500 advmss 1460

	input route:

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

	Nothing strange so far, may be they are created from different
connections. In fact, there should be more cache entries.

> now it does not forward this request,

	Can you provide more information, in private mail if you
prefer so, including:

- tcpdump output(s) for all interfaces during the traceroute
- topology: are eth1 and eth2 connected to same hub?
- ip rules and routes

	I hope you really have the "routes" patch applied and
running.

> what can be the reason behind this and please can anyone suggest me the solution,
> thanx in advance,
> Regards,
>
> ----------------------------------------------------------------
> Tushar Thakker
> Elitecore Technologies Ltd.

Regards

--
Julian Anastasov <ja@xxxxxx>

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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