2

I'm a student taking the cisco beginners course, but I'm running into some problems with subnetting.

When you have this network setup below, what are the valid number of hosts, and how does one calculate that. If I just take the host bits (n = 11) and apply 2^n then I get 121 as outcome. Which ofcourse is wrong. Could anyone tell me what I'm doing wrong here?

Network address: 10.0.0.0
Subnet mask: 255.255.248.0
Network address in binary: 00001010.00000000.00000000.00000000
Subnet mask in binary:     11111111.11111111.11111000.00000000

Thanks!

1
  • 3
    2^11 = 2048, 11^2 = 121. You've just messed up the order of operations. Dec 7 '15 at 15:34
2

How is 2^11 = 121? Firstly, 2^11 = 2048. The formula for finding the number of valid hosts are (2^n)-2 which is 2046. The 2 being the broadcast address and network address.

In the example you've given, 10.0.0.0 is given as the network ID. Since the mask is a 255.255.248.0 one, it means that the hosts jump in terms of 8 hosts, and will have 32 subnets. The broadcast ID of the first network will be 10.0.7.255.

So the network ID of the next subnet will be 10.0.8.0, while it's broadcast ID will be 10.0.15.255 and so on. You're not clear with your logic of subnetting. Please watch a few videos on how to subnet. I suggest this one and the rest of their series.

0

I made a video for my class to explain a simple way to understand the concept. If you need help understanding Class A subnetting, you should watch https://www.youtube.com/watch?v=tzyRGqLqiao

Not the answer you're looking for? Browse other questions tagged or ask your own question.