Another bug with netmasked aliases (with fix)

Max Laier max at love2party.net
Tue Dec 7 08:43:59 PST 2004


On Tue, Dec 07, 2004 at 04:59:32PM +0200, Ruslan Ermilov wrote:
> Hi Max,
> 
> I played today with "netmasked aliases", and found what
> appears to be another bug.
> 
> Adding an alias to the Ethernet interface with the same
> netmask results in this address not being pingable from
> this host -- it just spits ARP requests to the wire and
> never hears back (most Ethernets are simplex devices).
> 
> I knew what the fix should look like, and then quickly
> found a ready to commit solution in OpenBSD rev. 1.47.

Ahh, that is part of my CARP-patch IIRC (can't easily check
as I am at my university right now), will make sure later.

> When testing the attached patch, make sure you do *not*
> have a (host) route for the alias being added.

Thanks for the HEADSUP, I'll research in depth when I get
back home.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-net mailing list