Re: Why does arp on 2.2.5 return "SIOCSARP: Operation not supported by device"?

dave@bfnet.com
13 Apr 1999 19:28:00 -0700


Thanks for the advice, Richard:

Richard> I think you have to turn on proxy-arp :
Richard> echo "1" >/proc/sys/net/ipv4/conf/default/proxy_arp
Richard> .../eth0/...

I gave that a try. I got the same problem:

[root@host225 /root]# echo "1" >/proc/sys/net/ipv4/conf/default/proxy_arp
[root@host225 /root]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:F3:01:11:1F
inet addr:207.168.228.80 Bcast:207.168.228.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42687 errors:0 dropped:0 overruns:0 frame:0
TX packets:18766 errors:0 dropped:0 overruns:0 carrier:4
collisions:6379 txqueuelen:100
Interrupt:11 Base address:0xe000

eth0:1 Link encap:Ethernet HWaddr 00:10:F3:01:11:1F
inet addr:207.168.228.79 Bcast:207.168.228.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xe000

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:37278 errors:0 dropped:0 overruns:0 frame:0
TX packets:37278 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

[root@host225 /root]# /sbin/arp -i eth0:1 -s 207.168.228.79 00:10:F3:01:11:1F netmask 255.255.255.192 pub
SIOCSARP: Operation not supported by device
[root@host225 /root]# echo "1" >/proc/sys/net/ipv4/conf/eth0/proxy_arp
[root@host225 /root]# /sbin/arp -i eth0:1 -s 207.168.228.79 00:10:F3:01:11:1F netmask 255.255.255.192 pub
SIOCSARP: Operation not supported by device
[root@host225 /root]# echo "1" >/proc/sys/net/ipv4/conf/all/proxy_arp
[root@host225 /root]# /sbin/arp -i eth0:1 -s 207.168.228.79 00:10:F3:01:11:1F netmask 255.255.255.192 pub
SIOCSARP: Operation not supported by device
[root@host225 /root]#

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/