arp: SIOCSARP: No such device

Bartlomiej Czardybon (czar@dumb.iinf.polsl.gliwice.pl)
Wed, 19 Jun 1996 15:51:29 +0200 (MET DST)


Hi.

Kernel: 2.0 , Nettools: 1.3.6-BETA5

This is output of my job:

o68:~/tmp# arp -a
Address HW type HW address Flags
Mask
ondraszek-gw.mak.polsl. 10Mbps Ethernet 00:C0:DF:49:9F:66 C *
o68:~/tmp# host ondraszek-gw
ondraszek-gw.mak.polsl.gliwice.pl has address 157.158.29.94
ondraszek-gw.mak.polsl.gliwice.pl has address 157.158.29.62
ondraszek-gw.mak.polsl.gliwice.pl has address 157.158.29.30
ondraszek-gw.mak.polsl.gliwice.pl has address 157.158.29.126
o68:~/tmp# ping ondraszek-gw
PING ondraszek-gw.mak.polsl.gliwice.pl (157.158.29.94): 56 data bytes
64 bytes from 157.158.29.94: icmp_seq=0 ttl=64 time=2.6 ms

--- ondraszek-gw.mak.polsl.gliwice.pl ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 2.6/2.6/2.6 ms
o68:~/tmp#
o68:~/tmp# arp -s 157.158.29.94 00:C0:DF:49:9F:66
SIOCSARP: No such device

Ondraszek-gw is my router, i am on subnet 3 ( netmask 255.255.255.224 ),
m,y gateway is 157.158.29.94.
The question is why arp does not work. It isnt just add entry: every
attempt to write to arp cache ends with this message.
I dont need this on my computer, but on router it is pretty good thing: I
can make users not to change theirs IP numbers in subnet.

TIA,
Bartlomiej Czardybon
Silesian Technical University - Faculty of Computer Science