Professional Documents
Culture Documents
192.168.100.00000000/24 255.255.255.0
a. Based on the topology, how many subnets are needed?
5 Subnet
b. How many bits must be borrowed to support the number of subnets in the topology table?
0
192.168.100. 00000000 / 27 192.168.100.0/27
1
192.168.100. 00100000 / 27 192.168.100.32/27
2
192.168.100. 01000000 / 27 192.168.100.64/27
3
192.168.100. 01100000 / 27 192.168.100.96/27
4
192.168.100. 10000000 / 27 192.168.100.128/27
5
192.168.100. 10100000 / 27 192.168.100.160/27
6
192.168.100. 11000000 / 27 192.168.100.192/27
7
192.168.100. 11100000 / 27 192.168.100.224/27
Subnet Table
Subnet
Number Subnet Address First Usable Host Address Last Usable Host Address Broadcast Address
0
192.168.100.00000000/27 192.168.100. 00011111/27
R1 G0/0 192.168.100.0/27 192.168.100.1/27 192.168.100.30/27 192.168.100.31/27
1
192.168.100.00100000/27 192.168.100.00111111/27
R1 G0/1 192.168.100.32/27 192.168.100.33 192.168.100.62 192.168.100.63/27
2
192.168.100.01000000/27 192.168.100.01011111/27
R2 G0/0 192.168.100.64/27 192.168.100.65 192.168.100.94 192.168.100.95/27
3
192.168.100.01100000/27 192.168.100.01111111/27
R2 G0/1 192.168.100.96/27 192.168.100.97 192.168.100.126 192.168.100.127/27
4
192.168.100.10000000/27 192.168.100.10011111/27
WAN 192.168.100.128/27 192.168.100.129 192.168.100.158 192.168.100.159/27
192.168.100.10100000/27 192.168.100.10111111/27
5 192.168.100.160/27 192.168.100.161 192.168.100.190 192.168.100.191/27
192.168.100.11000000/27 192.168.100.11011111/27
6 192.168.100.192/27 192.168.100.193 192.168.100.222 192.168.100.223/27
192.168.100.11100000/27 192.168.100.11111111/27
7 192.168.100.224/27 192.168.100.225 192.168.100.254 192.168.100.255/27
Device Interface IP Address Subnet Mask Default Gateway
• 192.168.100. 00000000 / 27
Subnet
Number Subnet Address First Usable Host Address Last Usable Host Address Broadcast Address
192.168.100.0/27 192.168.100.31/27
192.168.100.1 192.168.100.30
0 31+0=31
192.168.100.32/27 192.168.100.63/27
1 192.168.100.33 192.168.100.62 31+32=63
192.168.100.64/27 192.168.100.95/27
2 192.168.100.65 192.168.100.94 31+64=95
192.168.100.96/27 192.168.100.127/27
3 192.168.100.97 192.168.100.126 31+96=127
192.168.100.128/27 192.168.100.159/27
4 192.168.100.129 192.168.100.158 31+128=159
192.168.100.160/27 192.168.100.191/27
5 192.168.100.161 192.168.100.190 31+160=191
192.168.100.192/27 192.168.100.223/27
6 192.168.100.193 192.168.100.222 31+192=223
192.168.100.224/27 192.168.100.255/27
7 192.168.100.225 192.168.100.254 31+224
11.9.3 VLSM
Example 1: VLSM
192.168.72.00000000 /24
Reorder
1. Sw4 LAN will require 58 host IP addresses N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 26 − 2 = 62 host / 26
2. Sw3 LAN will require 29 host IP addresses N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 25 − 2 = 30 host / 27
3. Sw2 LAN will require 15 host IP addresses N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 25 − 2 = 30 host / 27
4. Sw1 LAN will require 7 host IP addresses N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 24 − 2 = 14 host / 28
5. Remote site will require 2 host IP addresses N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 22 − 2 = 2 host / 30
Subnet Network address First host address Last host address Broadcast address
192.168.72.63/26
Subnet #1 192.168.72.0/26 192.168.72. 192.168.72.62/26
0+63=63
192.168.72.94/27 192.168.72.95/27
Subnet #2 192.168.72.64/27 192.168.72.65/27
64+31=95
192.168.72.126/27 192.168.72.127/27
Subnet #3 192.168.72.96/27 192.168.72.97/27
96+31=127
192.168.72.142/28 192.168.72.143/28
Subnet #4 192.168.72.128/28 192.168.72.129/28
128+15
192.168.72.146/30 192.168.72.147/30
Subnet #5 192.168.72.144/30 192.168.72.145/30
144+3=147
Example 2: VLSM
Create subnets that meet the host requirements using 192.168.0.0/24.
o Staff: 100 hosts
o Sales: 50 hosts
o IT: 25 hosts
Guest network to be added later: 25 hosts
• n = N𝑜. 𝑜𝑓 subnets = 2𝑛 = 2𝑛 = 𝑠𝑢𝑏𝑛𝑒𝑡.
• h = N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 2ℎ − 2 = host.
• 192.168.0.0/ 24 192.168.0.00000000
Total subnets = 4
Staff: 100 hosts N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 27 − 2 = 126 host / 25 255.255.255.128
Sales: 50 hosts N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 26 − 2 = 62 host / 26 255.255.255.192
IT: 25 hosts ℎ 5
N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2 − 2 = 2 − 2 = 30 host / 27 255.255.255.224
Guest network to be added later: 25 hosts N𝑜. 𝑜𝑓 𝐻𝑜𝑠𝑡𝑠 = 2ℎ − 2 = 25 − 2 = 30 host / 27
Subnet Network address First host address Last host address Broadcast address
Subnet
#1 192.168.0.0/25 192.168.0.1/25 192.168.0.126/25 192.168.0.127/25
Staff
Subnet
#2 192.168.0.128/26 192.168.0.129/26 192.168.0.190/26 192.168.0.191/26
Sales
Subnet
#3 192.168.0.192/27 192.168.0.193/27 192.168.0.222/27 192.168.0.223/27
IT
Subnet
#4 192.168.0.224/27 192.168.0.22/27 192.168.0.254/27 192.168.0.255/27
Guest