Dave Sherohman wrote:
> 
> On Mon, Oct 08, 2001 at 10:44:45AM -0400, Stan Brown wrote:
> > Heres what I have IP 170.85.109.24 netmask 255.255.255.128 I put in
> > 170.85.109.0 for a netwokr number, but this must be wrong based upon what
> > the broadcast adress of the interface becomes. It should be 170.85.109.127,
> > but instead it's 170.85.255.255
> 
> Add the following lines to /etc/network/interfaces:
> 
>         netmask 255.255.255.128
>         broadcast 170.85.109.127
> 
> What's happening is that 170.x.x.x falls within the address range
> originally allocated for Class B netblocks (networks with a netmask
> of 255.255.0.0), so ifconfig is assuming that your network is a Class
> B.  If you explicitly specify the correct information, it will be
> used instead.
> 

Dave,

True, that would be the correct netmask if he was in the old 170.85.0.0
class B, but doesn't the network address take precedence in determining
the netmask (as far as the configuration scripts go, not as far as IP
addressing goes)? Sounds like Stan did enter in his network address
correctly, so it's strange that his broadcast got set to the default
"Class B" mask.

--Rich

_________________________________________________________
                         
Rich Puhek               
ETN Systems Inc.         
_________________________________________________________

Reply via email to