IP Address not working?

Frédéric Perrin fred at resel.fr
Fri Mar 25 16:27:53 UTC 2011


"John Levine" <johnl at 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



More information about the freebsd-questions mailing list