Alberto Bertogli wrote:
On Mon, Jun 23, 2003 at 05:01:40PM -0300, Diego Woitasen wrote:
Why the kernel answer ARP request when these enters by a different interface from which has the ip in question?
For example:
lo:0 = 10.10.10.10 eth0 = 10.10.10.11
If an ARP request for 10.10.10.10 arrive at eth0, the kernel send a reply, but this address is not attached to eth0.
Is this a bug or is intentional?
It's intentional behaviour.
You can disable it if you want, take a look at Documentation/networking/ip-sysctl.txt (from your linux kernel source), look up arp_filter and there's a nice description about it.
IIRC there were a couple of threads sometime ago (last year?) here or on netdev about it.
Alternatively, you can take a look at ARP tables support on 2.5 but I can't recall if they have userspace apps yet.
Thanks, Alberto
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html