Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

How to publish arp info correctly?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2003, 02:26 AM
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


Dmytro Bablinyuk
Reply With Quote
  #2  
Old 12-11-2003, 02:08 PM
Neil Horman
Guest
 
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

Tags
arp, correctly, info, publish

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.