On 2/18/11 3:23 PM, Ted Unangst wrote:
On Fri, Feb 18, 2011 at 2:39 PM, Daniel Ouellet<dan...@presscom.net> wrote:
On 2/18/11 5:42 AM, Henning Brauer wrote:
* Daniel Ouellet<dan...@presscom.net> [2011-02-18 11:15]:
Alias are enter with /32.
huh? hell no.
OK, but all examples show it as such in man(5) hostname.if and such.
You are apparently reading manpages for a different operating system
or the OpenBSD man pages you are reading have been terribly corrupted,
because hostname.if on my system has no such nonsense.
Nope I am not, see below:
http://www.openbsd.org/cgi-bin/man.cgi?query=hostname.if&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
under static section.
inet 10.0.1.12 255.255.255.0 10.0.1.255 media 100baseTX
description Uplink
inet alias 10.0.1.13 255.255.255.255 10.0.1.13
inet alias 10.0.1.14 255.255.255.255 NONE
inet alias 10.0.1.15 255.255.255.255
inet alias 10.0.1.16 0xffffffff
my point only was that there isn't an example of a second subnet and as
I said I assume that every cases of alias as shown were always with /32
for the subnet mask.
I simply miss understood that for many years obviously.
If only a reference in either ifconfig of in hostname.if with what
Henning clarify for me as:
"one IP per subnet with the real mask so there is a route, all others
with all-ones netmask."
Would have done the trick.
That's not really no sense. It's clean in my head now, just wasn't and
is not clear for me in the man page.