[lkml]   [1996]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread

I have a deamon that reads /proc/net/arp and forwards packets based upon
what it sees there. It executes on my remote ppp server and has a companion
that executes on the local link to the internet. Using this deamon, I
get internet connectivity from any machine at home when my main machine
connects to my work machine via ppp.

The nature of the /proc/net/arp entries has now changed! If the change
is permanent, I can add code to my arp daemon to filter the bad information.
Otherwise, perhaps it's just an oversight and will be fixed in the network
code (so I don't have to fix something that has been working fine for over
a year).

This is the "problem"....
IP address HW type Flags HW address Mask Device 0x1 0x2 08:00:00:30:91:73 * eth0 0x1 0x2 00:00:0C:0A:3E:D3 * eth0 0x1 0x2 08:00:00:85:63:33 * eth0 0x1 0x2 00:A0:24:3C:C5:2E * eth0 0x1 0x0 00:00:00:00:00:00 * eth0
^^^^^^^^^^^^^^ BROADCAST address!! 0x0 0x8c 00:00:00:00:00:00 * *
^^^^^^^^^^^^^^ this is my host address ^^^^^^^^^^^^^^^^ should be my hardware address'

In this case, the host that has these arp cache entries is
The hardware address SHOULD be the hardware address for this machine.

The other problem is the broadcast address entry which should never be
in the arp cache (it can't expire, etc.). Perhaps the arp cache is now
being used for "other address storage" as well as address resolution. If
this is the case, could someone who KNOWS, please tell me if this is
going to be permanent?

Dick Johnson
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp :
Email :,
Penguin : Linux version 2.1.16 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

 \ /
  Last update: 2005-03-22 13:38    [W:0.023 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site