If an Ethernet port on a router was assigned an IP address of 172.1.1.1/20, what is the maximum number of hosts allowed on this subnet?
A. 4094
B. 1024
C. 8190
D. 2046
E. 4096
7 Comments on “what is the maximum number of hosts allowed on this subnet?”
Shootersays:
Please can you explain how you got 4094. Because when i work it out i get
11111111.11111111.00010100.00000000
So host = 2^13 – 2 ?
0
0
Shootersays:
Ok ok i got it. Its class B. Sorry my bad.
0
0
traffikatorsays:
Easiest way to work it out: So you have 32 bits and you are masking the first 20 bits for networks leaving 12 bits for hosts address per network. (32-20=12). Total number of valid host is : (2^12=4096)- 2= 4094 (first reserved to represent each the network and last the broadcast address for that network)
0
0
Shootersays:
LoL i got this question in my CCNA exam today 😀
And I already knew the answer :DD
Please can you explain how you got 4094. Because when i work it out i get
11111111.11111111.00010100.00000000
So host = 2^13 – 2 ?
0
0
Ok ok i got it. Its class B. Sorry my bad.
0
0
Easiest way to work it out: So you have 32 bits and you are masking the first 20 bits for networks leaving 12 bits for hosts address per network. (32-20=12). Total number of valid host is : (2^12=4096)- 2= 4094 (first reserved to represent each the network and last the broadcast address for that network)
0
0
LoL i got this question in my CCNA exam today 😀
And I already knew the answer :DD
0
0
shere your explain if you can?
0
0
In the prefix /20 we have 12 bit 0s so the number of hosts-per-subnet is 212 – 2 = 4094.
0
0
In the prefix /20 we have 12 bit 0s so the number of hosts-per-subnet is 2^12 – 2 = 4094.
0
0