Proxy ARP on 2.1.124

Richard Titmuss (Richard@b29net.bt.co.uk)
Thu, 08 Oct 1998 10:52:21 +0100


Hi,

I'm trying to use proxy ARP with the 2.1.124 kernel but it does not
appear to be working. I am using the latest (I believe) nettools 1.46.
This is what I tried:

[root]#
[root]# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
[root]# echo 1 > /proc/sys/net/ipv4/ip_forward
[root]#
[root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0

eth0 Link encap:Ethernet HWaddr 00:47:43:33:02:09
inet addr:x.x.109.158 Bcast:x.x.109.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:213 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:3 Base address:0x300

[root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
x.x.109.128 * 255.255.255.128 U 0 0 0 eth0
x.x.109.128 * 255.255.255.128 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default x.x.109.129 0.0.0.0 UG 0 0 0 eth0
[root]#
[root]# arp -Ds x.x.109.156 eth0 pub
[root]#
[root]# cat /proc/net/arp
IP address HW type Flags HW address Mask
Device
x.x.109.129 0x1 0x2 00:60:83:7C:A1:00
* eth0
x.x.109.156 0x1 0xc 00:00:00:00:00:00
* eth0
[root]#

I then look for ARP packets on eth0 using tcpdump and can see that ARP
requests for x.x.109.156 are unanswered.

Any ideas what I'm doing wrong?

Thanks.

-- 
Richard Titmuss				Email: richard@b29net.bt.co.uk
B55 Rm122, BT Laboratories                  
Martlesham Heath			Tel:   +44 (0)1473 640306
Ipswich, Suffolk, IP5 3RE, UK		Fax:   +44 (0)1473 646885
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu