cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3995
Views
0
Helpful
2
Replies

Solving an argument on "255" in IP's

mikelovellgb
Level 1
Level 1

Someone made the following claim, the IP's:

10.255.255.81

192.168.255.81

Are invalid because "octets of 255 are not valid in unicase IP addresses."

I say that's not true, that "255" can be used anywhere, and can in some circumstances

even be used in the last octet.  It doesn't automatically invalidate a unicase/host IP.

He cites:

http://www.comptechdoc.org/independent/networking/guide/netaddressing.html

"255 - The value of 255 is never used as an address for any part of the IP address. It is reserved for broadcast addressing. Please remember, this is exclusive of CIDR. When using CIDR, all bits of the address can never be all ones."

Who is correct, and why?

Thanks,

2 Accepted Solutions

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

you are correct, what is not a valid host address is one with all host bits set to 1 and to know which bits are host bits you

have to take the prefix length or netmask into account.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

That's not the only wrong statement in that guide ... So better ignore that completely.

But that misbelief was quite common some time ago. I once had a NAS where I also couldn't configure a "255" in the second or third octet, which was bad as my home-network was 10.255.255.0/24 ...

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni

View solution in original post

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

Hi,

you are correct, what is not a valid host address is one with all host bits set to 1 and to know which bits are host bits you

have to take the prefix length or netmask into account.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

That's not the only wrong statement in that guide ... So better ignore that completely.

But that misbelief was quite common some time ago. I once had a NAS where I also couldn't configure a "255" in the second or third octet, which was bad as my home-network was 10.255.255.0/24 ...

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni

Review Cisco Networking products for a $25 gift card