Discussion:
How to publish arp info correctly?
(too old to reply)
Dmytro Bablinyuk
2003-12-11 02:26:30 UTC
Permalink
If we declare an IP address to be published ie. arp -v -i eth0 -Ds
172.25.207.1 eth0 pub
And if we do the ping 172.25.207.1 the tcpdump showing that arp
request arrives but the box happily ignores it.
There is not publishing occurs, though arp cache has:

/ # arp
Address HWtype HWaddress Flags Mask Iface
tuna ether 00:04:75:E7:1B:93 C eth0
172.25.140.1 ether 08:00:20:7D:4D:9A C eth0
172.25.207.1 * * MP eth0

/ # cat /proc/net/arp
IP address HW type Flags HW address Mask
Device
172.25.140.8 0x1 0x2 00:04:75:E7:1B:93 * eth0
172.25.207.1 0x1 0xc 00:00:00:00:00:00 * eth0

Could anybody please tell me is this the problem with the kernel we
are using - 2.4.22 or something else.

Thank you
Neil Horman
2003-12-11 14:08:04 UTC
Permalink
Post by Dmytro Bablinyuk
If we declare an IP address to be published ie. arp -v -i eth0 -Ds
172.25.207.1 eth0 pub
And if we do the ping 172.25.207.1 the tcpdump showing that arp
request arrives but the box happily ignores it.
/ # arp
Address HWtype HWaddress Flags Mask Iface
tuna ether 00:04:75:E7:1B:93 C eth0
172.25.140.1 ether 08:00:20:7D:4D:9A C eth0
172.25.207.1 * * MP eth0
/ # cat /proc/net/arp
IP address HW type Flags HW address Mask
Device
172.25.140.8 0x1 0x2 00:04:75:E7:1B:93 * eth0
172.25.207.1 0x1 0xc 00:00:00:00:00:00 * eth0
Could anybody please tell me is this the problem with the kernel we
are using - 2.4.22 or something else.
Thank you
Is proxy_arp turned on? If its not on, I don't believe you will respond
to arp requests for addresses your host doesn't own. To enable proxy arp:
echo 1 > /proc/sys/net/conf/all/proxy_arp

HTH
Neil
--
Neil Horman
Red Hat, Inc., http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1, http://www.keyserver.net
Loading...