Re: network number
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.
--
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius
Innocence is no protection when governments go bad. - Mr. Slippery
Reply to: