Re: Is netmask 255.255.255.254 illigal?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 14 Jan 1997 20:17:09 +0000 (GMT)


> ifconfig eth0 206.42.0.97 netmask 255.255.255.254 broadcast 206.42.0.255
> SIOCSIFNETMASK: Invalid argument
>
> What is wrong?
>
> Did I do something not right or it is kernel bug?

.254 is not a valid netmask as the lowest entry is the network number and
the highest is the broadcast. A 2 address link is a pointopoint not a
broadcast link.

Alan