Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 17:27:35 +0100
From:      =?utf-8?B?RnLDqWTDqXJpYw==?= Perrin  <fred@resel.fr>
To:        freebsd-questions@freebsd.org
Cc:        John Levine <johnl@iecc.com>
Subject:   Re: IP Address not working?
Message-ID:  <kgg62r7p3m0.fsf@pc-df-302.priv.enst-bretagne.fr>
References:  <4D8C8AC7.9020209@identry.com> <20110325150242.60430.qmail@joyce.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
"John Levine" <johnl@iecc.com> writes:
>>     inet 66.111.0.250 netmask 0xffffffc0 broadcast 66.111.0.255
>>     inet 66.111.0.251 netmask 0xffffffff broadcast 66.111.0.251
>
> That netmask should probably be 0xffffffc0, same as for .250, but ...

No.

,----[ man ifconfig ]
| alias Establish an additional network address for this interface.
|       [...] If the address is on the same subnet as the first
|       network address for this interface, a non-conflicting
|       netmask must be given. Usually 0xffffffff is most
|       appropriate.
`----

-- 
Frédéric Perrin -- http://tar-jx.bz




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