How does Subnetting Work?
I am a bit confused, I have been given an address 18.104.22.168/16 and i have to devise a scheme allowing for at least 396 subnets. I think i have to extend the subnet mask to do this, I have worked through the different possible masks and the mask /25 gives me a possible 512 subnets this fits into the criteria i was to use. As there is 9 bits left, to find the number of hosts per subnet mask I use the formula 2^9 = 128 hosts, so the first address for the subnet mask 0 is
Subnet 0 - 22.214.171.124, address range is 126.96.36.199 - 188.8.131.52 and the broadcast is 184.108.40.206
Subnet 1 - 220.127.116.11, address range is 18.104.22.168 - 22.214.171.124 and the broadcast is 126.96.36.199
Subnet 2 - 188.8.131.52, address range is 184.108.40.206 - 220.127.116.11 and the broadcast is 18.104.22.168
Subnet 350 - If I know it takes two subnets to fill the 4th octet, do i just take 350 - 1 (cause we start at subnet 0) which gives us 349/2 which gives us 174.5 so the address id would be 22.214.171.124 and the address range would be 126.96.36.199 - 188.8.131.52 and the broadcast is 184.108.40.206
Is this correct?