networking - How to find Subnets and Hosts from given IP -


i have been learning subnetting exam , came through question. enter image description here

but why this? first thought: 172.20.0.0 can have 254 subnets , 254 hosts per each subnet. wrong. can please explain me how this?

thanks guys

the netmask 255.255.252.0 has 10 0 bits @ end.
2 ^ 10 = 1024, minus broadcast , network address = 1022.

if you're using classful way of dividing network, 172.20.* b network, 16 bit size of network part. gives 16-10 = 6 bits spare, can split 2 ^ 6 = 64 networks.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -