Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

/31 Subnets IP Address Range

Disclaimer: Basic to no knowledge here and I’m not sure I’m going to be able to get my question across here but here goes anyway.

I understand in /24 subnet you will have (as an example) 10.0.0.1 to 10.0.0.254 . (I have basic awareness of why .0 and .255 are not included as usable ip addresses)

So questions is how does the ip range work in /31 subnets?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I assume that they would pair consecutively ie 10.0.0.0/31 would be on the same subnet as 10.0.0.1/31?

And say 10.0.0.10/31 and 10.0.0.100/31 would not be on the subnet. But again, just an assumption without knowledge.

Any guidance would be appreciated.

>Solution :

Simply put, your assumptions are correct. All addresses in the same subnet are consecutive, with the range defined by the network ID and the subnet mask.

Your basic awareness is probably good enough: the first address (10.0.0.0) is the network ID, and the last (10.0.0.255) is the broadcast address.

It is worth noting that a /31 would be a very useless subnet that you would never actually see in the wild. The entire network would consist of two addresses, with the first being the network ID, and the second being the broadcast address. In other words, there’s no addressable room for any actual hosts. The smallest usable network is a /30 network, which gives room for the network ID, two hosts, and then broadcast. I remember asking my ISP for static addresses once upon a time, and I was given a /30 network to use as I pleased, which to me meant my server and my desktop PC could be public facing and online at the same time.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading