Re: arp: SIOCSARP: No such device

Bernd Eckenfels (ecki@tapac.inka.de)
22 Jun 1996 22:13:57 GMT


really kuznet@ms2.inr.ac.ru (inr-linux-kernel@ms2.inr.ac.ru) wrote:
: arp -s 157.158.29.94 00:C0:DF:49:9F:66 dev eth0 pub

The above Syntax is not yet valid (as of net-tools-1.32-alpha) it will work
with 1.33-alpha:

arp -i eth0 -s 157.158.29.94 00:C0:DF:49:9F:66 pub

: : PS: Yes the device guessing needs some improvement...
:
: Device guessing for proxy entries works when
: you have only one arpable interface. If you have more than one such
: interface, kernel cannot read your thoughts :-), so that
: you must specify device explicitly.

The Kernel can compare the Hardware addresses if no interface is specified
and set the entry for the device which matches the HW-address, since this
will be the right interface in 98%.

Greetings
Bernd

-- 
  (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