Jump to content

I'm taking a network admin class and my teacher was trying to explain subnetting to me. She says that she has her network set up with a scheme of 172.16.10 (I kinda get that) but she also says that she can have upwards of 65,000 devices on her network. I do NOT understand that. She told me to look at the binary, so here it is:

172 = 10101100

16 = 00010000

10 = 00001010

That leaves one byte in the IP address open to assign to devices, right? That's my understanding of it or at least my teacher didn't explain it any different. That byte has a range of 0-255. That's 256 by my count. WHERE DO 65,0000 COMPUTERS COME FROM? Please explain this to me.

If it can mean anything to anybody at any time, it means nothing.

Link to comment
https://linustechtips.com/topic/6998-subnettingwtf/
Share on other sites

Link to post
Share on other sites

so the subnet for her IP range is 255.255.0.0

Its been a while since I've done this but essentially.

the number of hosts is determined by the host bits determined by non full subnet address anything that is 0 are host addresses(or devices you can connect) anything at 255 is solely subnets or more networks. and anything between is a combination of both.

if she had a address scheme of 172.16.10.*/255.0.0.0 meaning that the first octet in binary (11111111)represents the network and the next 3 (00000000.00000000.00000000) are available host addresses. meaning that meaning that you would have 256x256x256 available host addresses or 16,777,216 addresses if you change that subnet to 255.255.0.0 (11111111.11111111.00000000.00000000) you change the 2nd octet from host addresses to network addresses giving you 256x256 available hosts allowing you to have 65,536 host addresses.

For her IP addresses if she was going with 172.16.10.0-255 then ran out at 255 she would then change to 172.16.11.0-255 and so on until you ran out of addresses. As long as they're on the same subnet they'll still comunicate.

I hope this helps.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to comment
https://linustechtips.com/topic/6998-subnettingwtf/#findComment-75069
Share on other sites

Link to post
Share on other sites

She also didn't really give you enough information. No the 172.16.10.xxx will not translate into 65k devices.

It would have to be like 172.16.0.0/16 for it to work. the way she is saying, with so many devices.

She would give her hosts ip addresses anywhere from 172.16.0.0/16- 172.16.255.255/16

Link to comment
https://linustechtips.com/topic/6998-subnettingwtf/#findComment-77306
Share on other sites

Link to post
Share on other sites

the 16 represents the amount of bits dedicated to network addresses. so if you hat 172.16.10.xxx/8 your subnet would be 255.0.0.0 or 11111111.00000000.00000000.00000000 and if it was /16 the second block of 8 would also be 1's. its a shortened way when writing what the subnet is.

I just thought I would explain incase you didn't know.

Also don't think you're stuck to solid blocks of 8 you could also have 255.255.255.128 meaning it would be /25 or 255.255.255.192 which would be /26

each reducing the umber of hosts connectable a /25 network would be capable of 128 hosts. a /26 network only capable of 64 hosts, /27 is 32 hosts, /28 is 16 and so on. it works the opposite in reverse. a /24 network would be 256 hosts and a /23 would be 512.

I hope I'm not confusing the situation to much.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to comment
https://linustechtips.com/topic/6998-subnettingwtf/#findComment-77475
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×