How to publish arp info correctly?

This is a discussion on How to publish arp info correctly? within the Linux Networking forums, part of the Linux Forums category; If we declare an IP address to be published ie. arp -v -i eth0 -Ds 172.25.207.1 eth0 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2003
Dmytro Bablinyuk
 
Posts: n/a
Default How to publish arp info correctly?

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
Reply With Quote
  #2 (permalink)  
Old 12-11-2003
Neil Horman
 
Posts: n/a
Default Re: How to publish arp info correctly?

Dmytro Bablinyuk wrote:
> 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

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0