Professional Documents
Culture Documents
Subnetting A Network With IP Addresses To Share Among Different Sites
Subnetting A Network With IP Addresses To Share Among Different Sites
Subnetting A Network With IP Addresses To Share Among Different Sites
128 64 32 16 8 4 2 1
11 1 1 1111
The formula is 2h-2 this is to determine which class of address I need.
192.168.100.0/24
The next formula is 2n-2 this is to determine the set of subnetworks or subnets.
Network: 11000000.10101000.01100100. 00000000
Subnet mask: 11111111.11111111.11111111. 00000000
2ⁿ = 11111111.11111111.11111111.11100000= (2x2x2) =8 networks.
The next formula is to determine the useable IP addresses from the remaining host bits.
2ⁿ-2=(2x2x2x2x2)-2=32-2=30 useable IP’s.
The new network IDs are subnets. The number of subnets we got is 8 subnets.
Subnet #01: 11000000.10101000.01100100.00000000=192.168.100.0
Subnet #02: 11000000.10101000.01100100.00100000= 192.168.100.32
Subnet #03: 11000000.10101000.01100100.01000000= 192.168.100.64
Subnet #04: 11000000.10101000.01100100.01100000= 192.168.100.96
Subnet #05: 11000000.10101000.01100100.10000000= 192.168.100.128
Subnet #06: 11000000.10101000.01100100.10100000= 192.168.100.160
Subnet #07: 11000000.10101000.01100100.11000000= 192.168.100.192
Subnet #08: 11000000.10101000.01100100.11100000= 192.168.100.224
The new subnet mask is 111111111.11111111.11111111.11100000=255.255.255.224/27
Note: The last network in any subnet always ends with the customized ending of the new
subnet mask. From our example, the new subnet mask 255.255.255.224 ends with 224, and
the last subnet also ends with the same value, 192.168.1.224.
128 64 32 16 8 4 2 1
1 1 1 11111
IP address to use 172.31.1.0/24 Subnet mask of 255.255.255.0