Subnetting A Network With IP Addresses To Share Among Different Sites

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

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.

Assigning the subnetworks/subnets to the topology:


 Network ID: 11000000.10101000.01100100.000000000= 192.168.100.0
 1st useable IP: 11000000.10101000.01100100.00000001= 192.168.100.1
 Last useable IP: 11000000.10101000.01100100.00011110= 192.168.100.30
 Broadcast ID: 11000000.10101000.01100100.00011111= 192.168.100.31
Second network:
 Network ID: 11000000.10101000.01100100.00100000= 192.168.100.32
 1st useable IP: 11000000.10101000.01100100.00100001= 192.168.100.33
 Last useable IP: 11000000.10101000.01100100.00111110= 192.168.100.62
 Broadcast ID: 11000000.10101000.01100100.00111111= 192.168.100.63
Third network:
 Network ID: 11000000.10101000.01100100.01000000= 192.168.100.64
 1st useable IP: 11000000.10101000.01100100.01000001= 192.168.100.65 (the first
useable IP is assigned the default gateway)
 Last useable IP: 11000000.10101000.01100100.01011110= 192.168.100.94
 Broadcast ID: 11000000.10101000.01100100.01011111= 192.168.100.95
Fourth network:
 Network ID: 11000000.10101000.01100100.01100000= 192.168.100.96
 1st useable IP: 11000000.10101000.01100100.01100001= 192.168.100.97
 Last useable IP: 11000000.10101000.01100100.01111110= 192.168.100.126
 Broadcast ID: 11000000.10101000.01100100.01111111= 192.168.100.127
Fifth network:
 Network ID: 11000000.10101000.01100100.10000000= 192.168.100.128
 1st useable IP: 11000000.10101000.01100100.10000001= 192.168.100.129
 Last useable IP: 11000000.10101000.01100100.10011110= 192.168.100.158
 Broadcast ID: 11000000.10101000.01100100.10011111= 192.168.100.159
Subnetting a subnet for the WAN’s connection between the routers:
Using the same formula to determine the subnetworks or subnets:
192.168.100.96/27
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.11100000 (new subnet mask)
2ⁿ = 11111111.11111111.11111111.11111100= (2x2x2) =4 networks.
The next formula is to determine the useable IP addresses from the remaining host bits.
2ⁿ-2=(2x2)-2=4-2=2 useable IP’s.
The new subnet mask is 111111111.11111111.11111111.11111100=255.255.255.252/30
(new subnet mask for the WAN connections)
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.

First network for the WANs:


 Network ID: 11000000.10101000.01100100.01100000= 192.168.100.96
 1st useable IP: 11000000.10101000.01100100.01100001= 192.168.100.97
 Last useable IP: 11000000.10101000.01100100.01100010= 192.168.100.98
 Broadcast ID: 11000000.10101000.01100100.01100011= 192.168.100.99s
The second project of subnetting an IP address scheme for a network

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

The first thing to identify is how many subnetworks/subnets are needed.


 The biggest network is 14 hosts. When I say hosts, I mean IP addresses or networks.
 Also, 2 hosts for each router for them to communicate.
The number of bits we will need is 3 bits from the network to be added to the host portion.
 Network: 10101100.00011111.00000001.00000000= 172.31.1.0/24
 Subnet mask:11111111.11111111.111111111.00000000= 255.255.255.0
 Formula is 2ⁿ= 11111111.11111111.11111111.11110000=(2x2x2x2) =16 networks.
 Formula is 2ⁿ-2= (2x2x2x2)-2= 16-2=14 useable IP address.
The new network IDs are subnets. The number of subnets we got is 8 subnets.
 Subnet #00: 10101100.00011111.00000001.00000000=172.31.1.0
 Subnet #01: 10101100.00011111.00000001.00100000= 172.31.1.16
 Subnet #02: 10101100.00011111.00000001.01000000= 172.31.1.32
 Subnet #03: 10101100.00011111.00000001.01100000= 172.31.1.48
 Subnet #04: 10101100.00011111.00000001.10000000= 172.31.1.64
 Subnet #05: 10101100.00011111.00000001.10100000= 172.31.1.80
 Subnet #06: 10101100.00011111.00000001.11000000= 172.31.1.96
 Subnet #07: 10101100.00011111.00000001.11100000= 172.31.1.112
The new subnet mask is 111111111.11111111.11111111.11100000=255.255.255.240/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, 172.31.1.224.
Assigning the subnetworks/subnets to the topology:
 Network ID: 10101100.00011111.00000001.000000000= 172.31.1.0
 1st useable IP: 10101100.00011111.00000001.00000001= 172.31.1.1
 Last useable IP: 10101100.00011111.00000001.00001110= 172.31.1.14
 Broadcast ID: 10101100.00011111.00000001.00001111= 172.31.1.15
Second network:
 Network ID: 10101100.00011111.00000001.00010000= 172.31.1.16
 1st useable IP: 10101100.00011111.00000001.00010001= 172.31.1.17
 Last useable IP: 10101100.00011111.00000001.00011110= 172.31.1.30
 Broadcast ID: 10101100.00011111.00000001.00011111= 172.31.1.31
Third network:
 Network ID: 10101100.00011111.00000001.00100000= 172.31.1.32
 1st useable IP: 10101100.00011111.00000001.00100001= 172.31.1.33 (the first
useable IP is assigned the default gateway)
 Last useable IP: 10101100.00011111.00000001.00101110= 172.31.1.46
 Broadcast ID: 10101100.00011111.00000001.00101111= 172.31.1.47
Fourth network:
 Network ID: 10101100.00011111.00000001.00110000= 172.31.1.48
 1st useable IP: 10101100.00011111.00000001.00110001= 172.31.1.49
 Last useable IP: 10101100.00011111.00000001.00111110= 172.31.1.62
 Broadcast ID: 10101100.00011111.00000001.00111111= 172.31.1.63
Fifth network:
 Network ID: 10101100.00011111.00000001.01000000= 172.31.1.64
 1st useable IP: 10101100.00011111.00000001.0000001= 172.31.1.65
 Last useable IP: 10101100.00011111.00000001.10011110= 172.31.1.158
 Broadcast ID: 10101100.00011111.00000001.10011111= 172.31.1.159
Subnetting a subnet for the WAN’s connection between the routers:
Using the same formula to determine the subnetworks or subnets:
172.31.1.96/27
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.11100000 (new subnet mask)
2ⁿ = 11111111.11111111.11111111.11111100= (2x2) =4 networks.
The next formula is to determine the useable IP addresses from the remaining host bits.
2ⁿ-2=(2x2)-2=4-2=2 useable IP’s.
The new subnet mask is 111111111.11111111.11111111.11111110=255.255.255.252/30
(new subnet mask for the WAN connections)
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.

First network for the WANs:


 Network ID: 10101100.00011111.00000001.10000000= 172.31.1.64
 1st useable IP: 10101100.00011111.00000001.10000001= 172.31.1.65
 Last useable IP: 10101100.00011111.00000001.10000010= 172.31.1.66
 Broadcast ID: 10101100.00011111.00000001.10000011= 172.31.1.67
Second network for the WANs:
 Network ID: 10101100.00011111.00000001.10000100= 172.31.1.68
 1st useable IP: 10101100.00011111.00000001.10000101= 172.31.1.69
 Last useable IP: 10101100.00011111.00000001.10000110= 172.31.1.70
 Broadcast ID: 10101100.00011111.00000001.10000111= 172.31.1.71
Third network for the WANs:
 Network ID: 10101100.00011111.00000001.10001000= 172.31.1.64
 1st useable IP: 10101100.00011111.00000001.10001001= 172.31.1.65
 Last useable IP: 10101100.00011111.00000001.10001010= 172.31.1.66
 Broadcast ID: 10101100.00011111.00000001.10001011= 172.31.1.67
Fourth network for the WANs:
 Network ID: 10101100.00011111.00000001.10001000= 172.31.1.68
 1st useable IP: 10101100.00011111.00000001.10001001= 172.31.1.69
 Last useable IP: 10101100.00011111.00000001.10001010= 172.31.1.70
 Broadcast ID: 10101100.00011111.00000001.10001011= 172.31.1.71

You might also like