Possible Duplicate:
How does Subnetting Work?
I am a bit confused, I have been given an address 132.132.0.0/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 - 132.132.0.0, address range is 132.132.0.1 - 132.132.0.126 and the broadcast is 132.132.0.127
Subnet 1 - 132.132.0.128, address range is 132.132.0.129 - 132.132.0.254 and the broadcast is 132.132.0.255
Subnet 2 - 132.132.1.0, address range is 132.132.1.1 - 132.132.1.126 and the broadcast is 132.132.1.127
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 132.132.174.128 and the address range would be 132.132.174.129 - 132.132.174.254 and the broadcast is 132.132.175.255
Is this correct?
Thank you