Messages in this thread |  | | Date | Tue, 24 Dec 1996 18:26:41 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | /proc/net/arp |
| |
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 204.178.47.17 0x1 0x2 08:00:00:30:91:73 * eth0 204.178.40.1 0x1 0x2 00:00:0C:0A:3E:D3 * eth0 204.178.40.210 0x1 0x2 08:00:00:85:63:33 * eth0 204.178.41.79 0x1 0x2 00:A0:24:3C:C5:2E * eth0 204.178.40.255 0x1 0x0 00:00:00:00:00:00 * eth0 ^^^^^^^^^^^^^^ BROADCAST address!! 204.178.40.224 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 204.178.40.224. 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?
Cheers, Dick Johnson -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard B. Johnson Project Engineer Analogic Corporation Voice : (508) 977-3000 ext. 3754 Fax : (508) 532-6097 Modem : (508) 977-6870 Ftp : ftp@boneserver.analogic.com Email : rjohnson@analogic.com, johnson@analogic.com 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. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|  |