Re: arp: SIOCSARP: No such device

Bernd Eckenfels (ecki@tapac.inka.de)
21 Jun 1996 18:08:05 GMT


Bartlomiej Czardybon (czar@dumb.iinf.polsl.gliwice.pl) wrote:
: Kernel: 2.0 , Nettools: 1.3.6-BETA5

Please use net-tools-1.32-alpha anyway.

: o68:~/tmp# arp -s 157.158.29.94 00:C0:DF:49:9F:66
: SIOCSARP: No such device

This is because the kernel tries to guess the device you want to arp for. If
you use not-published entries it looks for the device the route (for
157.158.29.94) points to and notices that this device isnt ARPabel. The
Kernel would have guessed the first Ethernet Device if you have specified an
published entry, which is most likely what u want to do:

o68:~/tmp# arp -s 157.158.29.94 00:C0:DF:49:9F:66 pub

Greetings
Bernd

PS: Yes the device guessing needs some improvement...

-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy