Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2006 17:25:56 +0100
From:      =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= <lists@wm-access.no>
To:        Vitaliy Ovsyannikov <V.Ovsyannikov@kr.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: incomplete+permanent arp entries
Message-ID:  <43EB6D14.2070107@wm-access.no>
In-Reply-To: <176144277.20060209173923@kr.ru>
References:  <176144277.20060209173923@kr.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Vitaliy Ovsyannikov wrote:
> Hello, freebsd-net.
> 
>   I've noticed what it is possible to make incomplete+permanent
> entries in kernel arp table.
> 
> xx# arp -s 1.2.3.4 pub
> arp: invalid Ethernet address 'pub'
> 
> # arp 1.2.3.4
> 1.2.3.4 (1.2.3.4) at (incomplete) on vlan1 permanent [vlan]
> 
> In result of it's permanent entry, kernel doesn't listening for
> arp-replies for this host.
> 
> My question is simple: is it bug or feature?
> 

I think i understand why you ask though, the answer could easily go both 
ways.

But my conclussion was that, to me, the man page and the error message 
indicates it is a bug. By that i mean that arp reports the ethernet 
address to be invalid but it still performs the task as if the ethernet 
address was valid and no synopsis written for this case. I'd go with bug 
and say that the same application can be done with 'route -blackhole 
-host 1.2.3.4 127.0.0.1' or something similar.

If it turns out to be the right thing to do then perhaps you would be so 
kind as to sendbug(1) it?

-- 
Sten Daniel Sørsdal


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD620YMvOF8Nb1apsRAlmIAJ0dke4nwT64Hi8MzGIODJxHE/yJiwCfcu1C
vlnsFG9rh1XL2hq0g7JBgvk=
=JK+P
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43EB6D14.2070107>