Re: ARP reply on behalf of another interface?

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

 



Hi!

Chae-yong Chong wrote:
> In brief, what condition does linux kernel send ARP reply?
I can only answer to his question, because I could not figure
out how the assemble the ascii art into a network.

However, perhaps it helps anyway:
If you enable proxy ARP on a linux 2.4 interface by writing '1'
into /proc/sys/net/ipv4/conf/<interface>/proxy_arp,
all ARP requests received on this interface for an IP address
which is routed via another interface are answered with the
own hardware address.

So if you have interface eth0 with 192.168.1.1/24 with the
interface route (ip route show table local) going
to 192.168.1.0/24 and another route, let's say for
192.168.1.50 going via eth1, this and only this address
is proxy arp'ed on interface eth0.

This also makes perfect sense, since routing tells the kernel
where a host is assumed to be located, and answering an ARP
request for a host which is believed to be located in the
same network doesn't make sense.

Hope this helps,
Walter
--
Fraunhofer-Einrichtung Systeme der Kommunikationstechnik (ESK)

Walter Zimmer                    Hansastraße 32
Dipl.-Inf.                       D-80686 München
                                 Telefon:  +49(0)89-547088-344
walter.zimmer@esk.fraunhofer.de  Telefax:  +49(0)89-547088-221
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux