Hi,

I'm kinda of confuse on how to do addressing specially when a big amount of host is required. I made a research on the net about this but I'm still in the haze and did not found anything concrete.
I did some but I'm sure is the wrong way of doing it cause I cannot get high enough for 47 and 125 host.

I would like to have some feedback on this please. The starting network ID is 172.20.10.0/24 (class b)

Host computers from each subnet will use the first available IP address in the address

block. Router interfaces will use the last available IP address in the address block.

Subnet
Required Number of Hosts

SubnetA
2
SubnetB
6
SubnetC
47
SubnetD 125

For subnetA:
2^2 – 2 = 2 host per subnet, 2^2 = 4 subnet will be produced, (/24) + 2 = (/26) ---> new subnet

N. S. S. H
#0 172.20.|00001010.|000000|00
#1 | |000001|00 = 172.20.10.4/26 -available
#2 | |000010|00 = 172.20.10.8 -available
#3 | |000011|00 = .12 -unavailable
#4 | |010000|00 = .16 -unavailable

SubnetB:
2^6 -2 = 62 host, 2^6 = 64 subnet, (/24) +6 = (/30)

N. S. S. H.
#0 172.20.|00001010.|00|000000
#1 | |01|000000 = 172.20.10.64/30 -available
#2 | |10|000000 = 172.20.10.128 -available
#3 | |11|000000 = .192 -unavailable

I'm not sure if this is the right way and I don't know how to proceed for subnetC and subnetD.
I would like some explanation on how I'm supposed to do it, thank you in advance this website has been a good help for me so far.

BUMP

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.