lkml.org 
[lkml]   [1997]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Is netmask 255.255.255.254 illigal?
Date
> 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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.071 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site