Gentoo Archives: gentoo-user

From: Sascha Hlusiak <saschahlusiak@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ARP reply from wrong interface
Date: Sat, 21 Feb 2009 21:08:06
Message-Id: 200902212209.06443.saschahlusiak@arcor.de
Hi list,

I have a server with two interfaces in the same subnet.

When asking for the MAC of one of the IPs, always both interfaces reply:

arping  -b xx.xx.xx.xx
ARPING xx.xx.xx.xx from yy.yy.yy.yy eth0
Unicast reply from xx.xx.xx.xx [00:1D:7D:D7:6D:F3]  0.607ms
Unicast reply from xx.xx.xx.xx [00:08:54:55:E7:02]  0.792ms

ip_forward is set to 0. Is there a switch in /proc to make Linux only reply 
from the interface that really owns the IP? Right now all traffic goes over 
one physical link, regardless of the target IP.


Thanks,
Sascha

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] ARP reply from wrong interface "Tomáš Krasničan" <krasko@××××××.sk>