is there a burt on ifconfig for fedora11?

Craig White craigwhite at azapple.com
Sun Jul 26 18:02:23 UTC 2009


On Sun, 2009-07-26 at 18:32 +0100, Sharpe, Sam J wrote:
> 2009/7/26 Sarkar, Kaushik <Kaushik.Sarkar at netapp.com>:
> > Don’t know from where ifconfig getting netmask as 255.255.0.0 when I set it
> > for 255.255.255.0
> >
> 
> I do...
> 
> > root at kaushik_Fedora11 /> cat /etc/sysconfig/network-scripts/ifcfg-eth0
> <snip>
> >
> > NETMASK=255.225.255.0
> 
> Read that very very carefully... ;o)
> 
> I think because 255.225.255.0 is not a valid netmask, it's defaulting
> to 255.255.0.0
> 
> (aren't a second pair of eyes wonderful!)
----
it's a valid netmask but it is one that is highly unlikely to work
because it appears to have a typo

255.255.255.0 is a Class C netmask and probably the most commonly used.

255.255.0.0 is a Class B netmask

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list