How does IPv4 Subnetting Work?
The largest subnet has 300 hosts so I am trying to workout the number of host_id bits I require for the mask but I am confused as each octet goes to 255 max? So do I carry on in the next octet starting from one. This way I have come to the following subnet mask please check it is correct: Subnet Mask: 255.255.192.0
The supernet mask is then straight forward I assume I have used 14 bits for host_id I have 10 subnets on the intranet including leased lines but I did not include the ATM switch as I believe it is just a switch forwarding packets so not separate subnet is that correct?
OK so 10 subnets that means I need 4 bits, so add 4 + 14 host_id bits = 18
32-18 = 14 subnet_id bits, 2^(32-14)= 262144 possible address
So I have Subnet Mask = 255.255.192.0 and Supernet Mask = /14
Is this calculation accurate? I am confused. Thanks