Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Host IP and subnets

I have seen a computer getting IP :10.46.15.0  SM: 255.255.248.0  from DHCP
I thought that was wrong IP since the host IP ends up with zero (0).
the computer is able to connect to internet. Actually I have ran accross several client computers that have IP ending with zero,
any explanation?

thanks
Avatar of JFrederick29
JFrederick29
Flag of United States of America image

Yes.  The .0 address is valid with that mask as it is not a subnet boundary.

The subnet is 10.46.8.0 255.255.248.0.

Network address = 10.46.8.0 (not available for a host)
Useable = 10.46.8.1 - 10.46.15.254
Broadcast = 10.46.15.255

So, the 10.46.9.0, 10.0, 11.0, 12.0, 13.0, 14.0 and 15.0 addresses are valid host addresses as are the 10.46.8.255, 9.255, etc...
SOLUTION
Avatar of _AA_
_AA_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

AA_:.
<<<10.46.8.0 - Network address>>>
 as network address, I agree with you. but never seen a host IP that way. Host IP always ends up with a number different than zero
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
but never seen a host IP that way. Host IP always ends up with a number different than zero

it is not recommended to setup a network this way because of what JFrederick29 says, some applications or network devices may not play well with end users having .0 or .255 has the IP address.  This is why you have never seen it.
It is a valid address when using that mask.  If you run into problems though, you can exclude it from your DHCP scope.
Avatar of jskfan

ASKER

ngravatt:

<<<it is not recommended to setup a network this way because of what JFrederick29 says, some applications or network devices may not play well with end users having .0 or .255 has the IP address. >>>

how do you exclude zero and 255 from being hosts.  
On your DHCP server, you need to exclude the .0 and .255 addresses.  I wouldn't worry about it though unless you run into an issue with using those addresses.  You really should only run into issues if using legacy applications.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial