Re: Policy routing - overlapping subnets - broken arp

From: Pascal Hambourg
Date: Mon Dec 14 2009 - 10:31:48 EST


Hello,

Pieter Smit a écrit :
>
> [A] Senario:
> Linux gateway (T1) with 3 Ethernet cards eth0,eth1,eth2.
> 10.0.0.1(plc1) <->eth1@T1 10.0.0.101/24
> 10.0.0.1(plc2) <->eth2@T1 10.0.0.102/24
> 192.168.3.155(xp)<->eth0:1@T1 192.168.3.201/24 (nat to eth1-plc1)
> 192.168.3.155(xp)<->eth0:2@T1 192.168.3.202/24 (nat to eth2-plc2)
[...]
> [C] Problem
> c1-we are only able to ping through to one of the PLC's. Looking at
> the tcpdumps T1-Linux-gw does not respond to arp requests on eth2
> interface for it's locally configured IP. (although it(T1) arped for
> 10.0.0.1 out the correct interface and sent the icmp request out)
>
> If we down eth1 then the pings work fine out eth2, and if we bring
> eth1 up again, eth1 has the problem.

If sysctl net.ipv4.conf.<interface>.rp_filter is set to 1, try to set it
to 0.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html