what is the maximum number of hosts allowed on this subnet?

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?

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



Leave a Reply 7

Your email address will not be published. Required fields are marked *


Shooter

Shooter

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 ?

Shooter

Shooter

Ok ok i got it. Its class B. Sorry my bad.

traffikator

traffikator

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)

Shooter

Shooter

LoL i got this question in my CCNA exam today 😀
And I already knew the answer :DD

networkmanagers

networkmanagers

shere your explain if you can?

Penang, Malaysia

Penang, Malaysia

In the prefix /20 we have 12 bit 0s so the number of hosts-per-subnet is 212 – 2 = 4094.

Penang, Malaysia

Penang, Malaysia

In the prefix /20 we have 12 bit 0s so the number of hosts-per-subnet is 2^12 – 2 = 4094.