Subnetting question

tonibtonib Member Posts: 3 ■□□□□□□□□□
Please help me figure out this scenario and see if I'm getting it.

Say you have 2 subnets, A and B.
A has 200 hosts on network 131.15.10.0.
B has 200 hosts on network 131.15.11.0.
You need to add 200 hosts to subnet A and no new routers. Your ISP gives you more addresses in the range 131.15.12.0. Determine each subnet's cidr or whatever they call that.

So am I right in thinking subnet A needs 2^9 hosts=512-2=510 hosts to cover the 400 required, and subnet B needs 2^8=256-2=254 hosts?

So Subnet A would be 131.15.10.0/23 as has 23 bits for the network id and 9 for the hosts (2^9), and the ip range would be 131.15.10.1 to 131.15.11.254 (255 hosts in the 131.15.10 range and 255 in the 131.15.11 range=510 host ip's).

And Subnet B would be 131.15.12.0/24 as has 24 bits for the network id and 8 for the hosts.
And the ip range would be 131.15.12.1 to 131.15.12.254.

Am I figuring this out correctly? Please help. icon_eek.gif

Comments

  • markzabmarkzab Member Posts: 619
    Looks good.
    "You, me, or nobody is gonna hit as hard as life. But it ain't how hard you hit; it's about how hard you can get hit, and keep moving forward. How much you can take, and keep moving forward. That's how winning is done!" - Rocky
Sign In or Register to comment.