Proxy ARP with newer kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi all,

	I have troubles getting proxy ARP to run on newer kernels (2.4.0-test8,
for example). I tried to run

# arp -s 1.2.3.4 01:02:03:04:05:06 pub

(where 1.2.3.4 is an IP address on a local network and 01:02:03:04:05:06 is
a HW address of my machine). I tried to ping 1.2.3.4 from another host
on the same network, but this host did not get ARP reply (as seen by tcpdump
both on the proxy ARP host and on the ping host -- there were only arp
requests, but no replies). I tried to do

echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp

but it did not help. The arp entry seems strange, though. In my /proc/net/arp
there is the following line:

1.2.3.40x1         0xc         00:00:00:00:00:00     *                 eth0
      ^^^

	Note that on marked place there is no whitespace (on regular
arp entries there is a whitespace between the IP address and HW type).
Note also zeros instead of my HW address. The same occurs when I try
to use

# ip neigh add proxy 1.2.3.4 dev eth0

	Are there any problems with proxy arp on 2.4 pre kernels?

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
///  I find that rebooting the machine and cursing myself is one of the  \\\
//   most effective kernel debugging methods.          -Victor Yodaiken   \\
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux