Re: [Fwd: Re: 2 internal NIC's in the same network]

Linux Advanced Routing and Traffic Control

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

 



hi,
I have set arp_filter to 1 at both eth at PC1.
then I ping eth2(10.0.0.2) from pc2 (10.0.0.3)
and both eth1 and eth2 answers to arp request
from pc2.

it seems to be, that arp_filter is not the proper solution for me,
i must apply hidden patch from

http://www.linux-vs.org/~julian/#hidden

as advice to me martin.a.brown.

bye

ur deliverance is by way of echo 1 > /proc/sys/net/ipv4/conf/eth{1,2},
that's what everybody says...however, this is not the whole story, ur
tryina setup two ips on the same subnet on two separate interfaces... in
simple routing, the first route to match is taken... so the traffic goes
out the first interface regardless of the source ip... u need to look
into source-based routing or "policy routing". read the iproute2 docs.



hi,
i have two internal nics

at PC1
eth1 eth2
10.0.0.1 10.0.0.2

| |
switch |
pc2
eth0
10.0.0.3



and when I ping from pc2 -> PC1:eth2,
using tcpdump i see that PC1
send reply to (arp who has 10.0.0.2),
10.0.0.2 is at .....eth1.
why PC1 send back not proper HW address?
how I can force PC1 to say that 10.0.0.2
is at eth2?



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






_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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