[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Need help (of course) setting up network



On Sat, 2004-05-08 at 06:47, Steve Searle wrote:

> > results of #ifconfig -a
> > eth0      Link encap:Ethernet  HWaddr 00:03:CE:89:69:EA
> >          inet addr:192.168.32.0  Bcast:192.168.32.255  Mask:255.255.255.0
> 
> I'm' not a network expert, and others will probably correct me if I am
> wrong, but I think it is unusual or even plain wrong to have an IP
> address (inet addr) ending in .0.  The last number should be between 1
> and 254.  Did you set this yourself, or was it allocated by DHCP?
> 

Actually depending on the subnet mask an IP address ending in 0 can be
correct and valid.  Looks real strange but it will work with the correct
subnet masking.

In the case above however you are correct, a 24 bit subnet mask
(255.255.255.0) defines the networks address of 192.168.32.0, the
broadcast of 192.168.32.255, which means valid host addresses will be in
the range of 192.168.32.1 to 192.168.32.254.


-- 
Scot L. Harris <webid cfl rr com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]