Subnetting Question
adrianm68
Member Posts: 65 ■■□□□□□□□□
in CCNA & CCENT
Go this one wrong because I looked at the wrong octet and stupidly thought someone would design a network with no hosts. But when I saw the answer, I wanted to get clarification, since I think the total number of hosts per subnet should be 509. There are 9 bits for hosts = 511 ip addresses. Take 2 off for subnet id and broadcast = 509.
Where am I wrong?
Where am I wrong?
2017 Goals: Cisco: [x]Switch [ ]Route [ ]Tshoot
Cisco engineer's command to teach his dog to sit: "no stand"
Cisco engineer's command to teach his dog to sit: "no stand"
Comments
-
rob42 Member Posts: 423First, note that this is a ‘Class B’ IP and as such the standard Mask (255.255.0.0) would give us 16 bits for the Subnets and 16 bits for the Nodes.
But, the Mask used is 255.255.254.0 which has allocated an extra 7 bits for the Subnets, therefore 7 bits less for the Nodes.
16-7 = 9 bits for the Nodes
2^9 = 512 Nodes, less two = 510.
2^7 = 128 Subnet.
{Sorry, that should read "128 Subnets."}No longer an active member -
adrianm68 Member Posts: 65 ■■□□□□□□□□Right. I don't know what I was thinking. For some reason I was adding up block sizes... 1,2,4,8,16,32,64,128, and 256, instead of 9^22017 Goals: Cisco: [x]Switch [ ]Route [ ]Tshoot
Cisco engineer's command to teach his dog to sit: "no stand" -
rob42 Member Posts: 423Right. I don't know what I was thinking. For some reason I was adding up block sizes... 1,2,4,8,16,32,64,128, and 256, instead of 9^2
No problem, (b.t.w it's 2^9, not 9^2)
It took me a while to get my head around the math, but persistence pays off.No longer an active member