Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2007 17:19:59 +0000
From:      Pete French <petefrench@ticketswitch.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Desired behaviour of "ifconfig -alias"
Message-ID:  <E1HH1Jv-0001Op-4p@dilbert.ticketswitch.com>

next in thread | raw e-mail | index | archive | help
> For a set of IPs in the same subnet on the same interface, wouldn't the 
> primary IP be the one with the proper netmask, and all IPs with netmasks 
> of /32 be secondary?  In that situation, wouldn't deleting the primary IP 
> cause connection issues for the rest of the IPs?

Indeed. I too am not convinced by the 'there is no such thing as a
primary IP address' thing either - because it's trivial to observe
that if you add several addresses to an interface and make outgoing
connections then one of those (the one with the correct netmask) is
always the one used as the source address. Which looks suspiciously like
a primary IP address to me - or at least one which is being treated
slightly differently to all the others on that interface anyway.

-pcf.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HH1Jv-0001Op-4p>