Need quick help w/ subnetting question...

in CCNA & CCENT
The problem is:
How many subnets and hosts per subnet can you get from the network 172.27.0.0/27?
I know how to figure out that there can be 30 host per subnet, but how do you figure out the amount of subnets possible?
Thanks ahead of time.
How many subnets and hosts per subnet can you get from the network 172.27.0.0/27?
I know how to figure out that there can be 30 host per subnet, but how do you figure out the amount of subnets possible?
Thanks ahead of time.
Comments
-
Futura Member Posts: 191
172 is a class B so 255.255.0.0
27 bit mask is 255.255.11111111.11100000
5 0's left after the mask so
2 to the power of 5 - 2 = 30 Hosts
Subnets bit are 11 1's so 2 to the power of 11 - 2 = 2046 Subnets
thats my effort. Don;t quote me though. I'm learning to... just thought i'd give it a shot..:
-
raptur2000 Member Posts: 26 ■□□□□□□□□□
Cool that makes sense, except I dont think you have to subtract 2 for the subnet #. I thought that only goes for host ranges to account for the Network ID and the Broadcast Address.
Thanks for your help man! -
Futura Member Posts: 191
raptur2000 wrote: »Cool that makes sense, except I dont think you have to subtract 2 for the subnet #. I thought that only goes for host ranges to account for the Network ID and the Broadcast Address.
Thanks for your help man!
Probably best If somebody else checks it. want to be 100%.
Not sure where I read about the -2 for subnets thing. -
BrizoH Member Posts: 73 ■■■□□□□□□□
Yep it's 2048 subnets, you only subtract 2 when calculating number of hosts