11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme Instructor Version
Scenario 1 - Network Address: 10.1.1.0/24
Topology

Addressing Table
| Device | Interface | Address | Subnet Mask | Default Gateway |
|---|---|---|---|---|
| East | G0/0 | 10.1.1.97 | 255.255.255.240 | N/A |
| G0/1 | 10.1.1.65 | 255.255.255.224 | N/A | |
| S0/0/0 | 10.1.1.121 | 255.255.255.252 | N/A | |
| West | G0/0 | 10.1.1.113 | 255.255.255.248 | N/A |
| G0/1 | 10.1.1.1 | 255.255.255.192 | N/A | |
| S0/0/0 | 10.1.1.122 | 255.255.255.252 | N/A | |
| ES-1 | VLAN 1 | 10.1.1.98 | 255.255.255.240 | 10.1.1.97 |
| ES-2 | VLAN 1 | 10.1.1.66 | 255.255.255.224 | 10.1.1.65 |
| WS-1 | VLAN 1 | 10.1.1.114 | 255.255.255.248 | 10.1.1.113 |
| WS-2 | VLAN 1 | 10.1.1.2 | 255.255.255.192 | 10.1.1.1 |
| PC E1-22 | NIC | 10.1.1.110 | 255.255.255.240 | 10.1.1.97 |
| PC E2-47 | NIC | 10.1.1.94 | 255.255.255.224 | 10.1.1.65 |
| PC W1-201 | NIC | 10.1.1.118 | 255.255.255.248 | 10.1.1.113 |
| PC W2-87 | NIC | 10.1.1.62 | 255.255.255.192 | 10.1.1.1 |
Objectives
In this lab you will design a VLSM addressing scheme given a network address and host requirements. You will configure addressing on routers, switches, and network hosts.
- Design a VLSM IP addressing scheme given requirements.
- Configure addressing on network devices and hosts.
- Verify IP connectivity.
- Troubleshoot connectivity issues as required.
Background / Scenario
You have been asked to design, implement, and test an addressing scheme for a customer. The customer has given you the network address that is suitable for the network, the topology, and the host requirements. You will implement and test your design.
Instructions
You have been given the network address 10.1.1.0/24 by your customer. The host address requirements are:
Requirements
Host Requirements:
| LAN | Number of Addresses Required |
|---|---|
| WS-2 LAN | 47 |
| ES-2 LAN | 28 |
| ES-1 LAN | 11 |
| WS-1 LAN | 5 |
Design Requirements
- Create the addressing design. Follow guidelines provided in the curriculum regarding the order of the subnets.
- The subnets should be contiguous. There should be no unused address space between subnets.
- Provide the most efficient subnet possible for the point-to-point link between the routers.
- Document your design in a table such as the one below.
| Subnet Description | Number of Hosts Needed | Network Address/CIDR | First Usable Host Address | Last Usable Host Address | Broadcast Address |
|---|---|---|---|---|---|
| WS-2 LAN | 47 | 10.1.1.0/26 | 10.1.1.1 | 10.1.1.62 | 10.1.1.63 |
| ES-2 LAN | 28 | 10.1.1.64/27 | 10.1.1.65 | 10.1.1.94 | 10.1.1.95 |
| ES-1 LAN | 11 | 10.1.1.96/28 | 10.1.1.97 | 10.1.1.110 | 10.1.1.111 |
| WS-1 LAN | 5 | 10.1.1.112/29 | 10.1.1.113 | 10.1.1.118 | 10.1.1.119 |
| WAN Link | 2 | 10.1.1.120/30 | 10.1.1.121 | 10.1.1.122 | 10.1.1.123 |
💡 Pro Tip: Struggling with subnetting? Try our VLSM Calculator Online to quickly check your results!
Configuration Requirements
Note: You will configure addressing on all devices and hosts in the network.
- Assign the first usable IP addresses in the appropriate subnets to East for the two LAN links and the WAN link.
East(config)# interface gigabitethernet 0/0 East(config-if)# ip address 10.1.1.97 255.255.255.240 East(config-if)# no shutdown East(config-if)# interface gigabitethernet 0/1 East(config-if)# ip address 10.1.1.65 255.255.255.224 East(config-if)# no shutdown East(config-if)# interface serial 0/0/0 East(config-if)# ip address 10.1.1.121 255.255.255.252 East(config-if)# no shutdown
- Assign the first usable IP addresses in the appropriate subnets to West for the two LAN links. Assign the last usable IP address for the WAN link.
West(config)# interface gigabitethernet 0/0 West(config-if)# ip address 10.1.1.113 255.255.255.248 West(config-if)# no shutdown West(config-if)# interface gigabitethernet 0/1 West(config-if)# ip address 10.1.1.1 255.255.255.192 West(config-if)# no shutdown West(config-if)# interface serial 0/0/0 West(config-if)# ip address 10.1.1.122 255.255.255.252 West(config-if)# no shutdown
- Assign the second usable IP addresses in the appropriate subnets to the switches.
ES-1(config)# interface vlan 1 ES-1(config-if)# ip address 10.1.1.98 255.255.255.240 ES-1(config-if)# no shutdown
ES-2(config)# interface vlan 1 ES-2(config-if)# ip address 10.1.1.66 255.255.255.224 ES-2(config-if)# no shutdown
WS-1(config)# interface vlan 1 WS-1(config-if)# ip address 10.1.1.114 255.255.255.248 WS-1(config-if)# no shutdown
WS-2(config)# interface vlan 1 WS-2(config-if)# ip address 10.1.1.2 255.255.255.192 WS-2(config-if)# no shutdown
- The switch management interface should be reachable from hosts on all of the LANs.
ES-1(config)# ip default-gateway 10.1.1.97
ES-2(config)# ip default-gateway 10.1.1.65
WS-1(config)# ip default-gateway 10.1.1.113
WS-2(config)# ip default-gateway 10.1.1.1
- Assign the last usable IP addresses in the appropriate subnets to the hosts.
If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.
Device Configs - Final
ROUTER East
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER East - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the East terminal (start at the East> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the ES-1 LAN (10.1.1.96/28). interface gigabitethernet 0/0 ip address 10.1.1.97 255.255.255.240 no shutdown exit !--- gigabitethernet 0/1: first usable address of the ES-2 LAN (10.1.1.64/27). interface gigabitethernet 0/1 ip address 10.1.1.65 255.255.255.224 no shutdown exit !--- serial 0/0/0: first usable address of the WAN link (10.1.1.120/30). interface serial 0/0/0 ip address 10.1.1.121 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 10.1.1.122 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
ROUTER West
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER West - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the West terminal (start at the West> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the WS-1 LAN (10.1.1.112/29). interface gigabitethernet 0/0 ip address 10.1.1.113 255.255.255.248 no shutdown exit !--- gigabitethernet 0/1: first usable address of the WS-2 LAN (10.1.1.0/26). interface gigabitethernet 0/1 ip address 10.1.1.1 255.255.255.192 no shutdown exit !--- serial 0/0/0: last usable address of the WAN link (10.1.1.120/30). interface serial 0/0/0 ip address 10.1.1.122 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 10.1.1.121 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
SWITCH ES-1
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH ES-1 - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the ES-1 terminal (start at the ES-1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the ES-1 (10.1.1.96/28) subnet; activate it. interface vlan 1 ip address 10.1.1.98 255.255.255.240 no shutdown exit !--- Default gateway (East G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 10.1.1.97 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 10.1.1.98 !--- ping 10.1.1.97 -> reaches the default gateway (East G0/0) !--- ping 10.1.1.62 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH ES-2
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH ES-2 - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the ES-2 terminal (start at the ES-2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the ES-2 (10.1.1.64/27) subnet; activate it. interface vlan 1 ip address 10.1.1.66 255.255.255.224 no shutdown exit !--- Default gateway (East G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 10.1.1.65 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 10.1.1.66 !--- ping 10.1.1.65 -> reaches the default gateway (East G0/1) !--- ping 10.1.1.118 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH WS-1
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH WS-1 - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the WS-1 terminal (start at the WS-1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the WS-1 (10.1.1.112/29) subnet; activate it. interface vlan 1 ip address 10.1.1.114 255.255.255.248 no shutdown exit !--- Default gateway (West G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 10.1.1.113 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 10.1.1.114 !--- ping 10.1.1.113 -> reaches the default gateway (West G0/0) !--- ping 10.1.1.110 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH WS-2
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH WS-2 - SCENARIO 1 (network 10.1.1.0/24) !--- Usage: copy this whole file and paste it into the WS-2 terminal (start at the WS-2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 1 (network 10.1.1.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the WS-2 (10.1.1.0/26) subnet; activate it. interface vlan 1 ip address 10.1.1.2 255.255.255.192 no shutdown exit !--- Default gateway (West G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 10.1.1.1 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 10.1.1.2 !--- ping 10.1.1.1 -> reaches the default gateway (West G0/1) !--- ping 10.1.1.94 -> reaches a host on the other router's LAN ! ==============================================================
PC E1-22
PC E2-47
PC W1-201
PC W2-87
Scenario 2 - Network Address: 172.19.67.0/24
Topology

Addressing Table
| Device | Interface | Address | Subnet Mask | Default Gateway |
|---|---|---|---|---|
| HQ | G0/0 | 172.19.67.1 | 255.255.255.224 | N/A |
| G0/1 | 172.19.67.33 | 255.255.255.224 | N/A | |
| S0/0/0 | 172.19.67.97 | 255.255.255.252 | N/A | |
| Remote | G0/0 | 172.19.67.65 | 255.255.255.240 | N/A |
| G0/1 | 172.19.67.81 | 255.255.255.240 | N/A | |
| S0/0/0 | 172.19.67.98 | 255.255.255.252 | N/A | |
| HQ-1 | VLAN 1 | 172.19.67.2 | 255.255.255.224 | 172.19.67.1 |
| HQ-2 | VLAN 1 | 172.19.67.34 | 255.255.255.224 | 172.19.67.33 |
| Remote-1 | VLAN 1 | 172.19.67.66 | 255.255.255.240 | 172.19.67.65 |
| Remote-2 | VLAN 1 | 172.19.67.82 | 255.255.255.240 | 172.19.67.81 |
| WS116 | NIC | 172.19.67.30 | 255.255.255.224 | 172.19.67.1 |
| WS145 | NIC | 172.19.67.62 | 255.255.255.224 | 172.19.67.33 |
| WS203 | NIC | 172.19.67.78 | 255.255.255.240 | 172.19.67.65 |
| WS234 | NIC | 172.19.67.94 | 255.255.255.240 | 172.19.67.81 |
Objectives
In this lab you will design a VLSM addressing scheme given a network address and host requirements. You will configure addressing on routers, switches, and network hosts.
- Design a VLSM IP addressing scheme given requirements.
- Configure addressing on network devices and hosts.
- Verify IP connectivity.
- Troubleshoot connectivity issues as required.
Background / Scenario
You have been asked to design, implement, and test an addressing scheme for a customer. The customer has given you the network address that is suitable for the network, the topology, and the host requirements. You will implement and test your design.
Instructions
You have been given the network address 172.19.67.0/24 by your customer. The host address requirements are:
Requirements
Host Requirements:
| LAN | Number of Addresses Required |
|---|---|
| HQ-1 LAN | 19 |
| HQ-2 LAN | 23 |
| Remote-1 LAN | 11 |
| Remote-2 LAN | 7 |
Design Requirements
- Create the addressing design. Follow guidelines provided in the curriculum regarding the order of the subnets.
- The subnets should be contiguous. There should be no unused address space between subnets.
- Provide the most efficient subnet possible for the point-to-point link between the routers.
- Document your design in a table such as the one below.
| Subnet Description | Number of Hosts Needed | Network Address/CIDR | First Usable Host Address | Last Usable Host Address | Broadcast Address |
|---|---|---|---|---|---|
| HQ-1 LAN | 19 | 172.19.67.0/27 | 172.19.67.1 | 172.19.67.30 | 172.19.67.31 |
| HQ-2 LAN | 23 | 172.19.67.32/27 | 172.19.67.33 | 172.19.67.62 | 172.19.67.63 |
| Remote-1 LAN | 11 | 172.19.67.64/28 | 172.19.67.65 | 172.19.67.78 | 172.19.67.79 |
| Remote-2 LAN | 7 | 172.19.67.80/28 | 172.19.67.81 | 172.19.67.94 | 172.19.67.95 |
| WAN Link | 2 | 172.19.67.96/30 | 172.19.67.97 | 172.19.67.98 | 172.19.67.99 |
Pro Tip: Struggling with subnetting? Try our VLSM Calculator Online to quickly check your results!
Configuration Requirements
Note: You will configure addressing on all devices and hosts in the network.
- Assign the first usable IP addresses in the appropriate subnets to HQ for the two LAN links and the WAN link.
HQ(config)# interface gigabitethernet 0/0 HQ(config-if)# ip address 172.19.67.1 255.255.255.224 HQ(config-if)# no shutdown HQ(config-if)# interface gigabitethernet 0/1 HQ(config-if)# ip address 172.19.67.33 255.255.255.224 HQ(config-if)# no shutdown HQ(config-if)# interface serial 0/0/0 HQ(config-if)# ip address 172.19.67.97 255.255.255.252 HQ(config-if)# no shutdown
- Assign the first usable IP addresses in the appropriate subnets to Remote for the two LAN links. Assign the last usable IP address for the WAN link.
Remote(config)# interface gigabitethernet 0/0 Remote(config-if)# ip address 172.19.67.65 255.255.255.240 Remote(config-if)# no shutdown Remote(config-if)# interface gigabitethernet 0/1 Remote(config-if)# ip address 172.19.67.81 255.255.255.240 Remote(config-if)# no shutdown Remote(config-if)# interface serial 0/0/0 Remote(config-if)# ip address 172.19.67.98 255.255.255.252 Remote(config-if)# no shutdown
- Assign the second usable IP addresses in the appropriate subnets to the switches.
HQ-1(config)# interface vlan 1 HQ-1(config-if)# ip address 172.19.67.2 255.255.255.224 HQ-1(config-if)# no shutdown
HQ-2(config)# interface vlan 1 HQ-2(config-if)# ip address 172.19.67.34 255.255.255.224 HQ-2(config-if)# no shutdown
Remote-1(config)# interface vlan 1 Remote-1(config-if)# ip address 172.19.67.66 255.255.255.240 Remote-1(config-if)# no shutdown
Remote-2(config)# interface vlan 1 Remote-2(config-if)# ip address 172.19.67.82 255.255.255.240 Remote-2(config-if)# no shutdown
- The switch management interface should be reachable from hosts on all of the LANs.
HQ-1(config)# ip default-gateway 172.19.67.1
HQ-2(config)# ip default-gateway 172.19.67.33
Remote-1(config)# ip default-gateway 172.19.67.65
Remote-2(config)# ip default-gateway 172.19.67.81
- Assign the last usable IP addresses in the appropriate subnets to the hosts.
If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.
Device Configs - Final
ROUTER HQ
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER HQ - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the HQ terminal (start at the HQ> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the HQ-1 LAN (172.19.67.0/27). interface gigabitethernet 0/0 ip address 172.19.67.1 255.255.255.224 no shutdown exit !--- gigabitethernet 0/1: first usable address of the HQ-2 LAN (172.19.67.32/27). interface gigabitethernet 0/1 ip address 172.19.67.33 255.255.255.224 no shutdown exit !--- serial 0/0/0: first usable address of the WAN link (172.19.67.96/30). interface serial 0/0/0 ip address 172.19.67.97 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 172.19.67.98 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
ROUTER Remote
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER Remote - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the Remote terminal (start at the Remote> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the Remote-1 LAN (172.19.67.64/28). interface gigabitethernet 0/0 ip address 172.19.67.65 255.255.255.240 no shutdown exit !--- gigabitethernet 0/1: first usable address of the Remote-2 LAN (172.19.67.80/28). interface gigabitethernet 0/1 ip address 172.19.67.81 255.255.255.240 no shutdown exit !--- serial 0/0/0: last usable address of the WAN link (172.19.67.96/30). interface serial 0/0/0 ip address 172.19.67.98 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 172.19.67.97 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
SWITCH HQ-1
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH HQ-1 - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the HQ-1 terminal (start at the HQ-1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the HQ-1 (172.19.67.0/27) subnet; activate it. interface vlan 1 ip address 172.19.67.2 255.255.255.224 no shutdown exit !--- Default gateway (HQ G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 172.19.67.1 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 172.19.67.2 !--- ping 172.19.67.1 -> reaches the default gateway (HQ G0/0) !--- ping 172.19.67.78 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH HQ-2
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH HQ-2 - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the HQ-2 terminal (start at the HQ-2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the HQ-2 (172.19.67.32/27) subnet; activate it. interface vlan 1 ip address 172.19.67.34 255.255.255.224 no shutdown exit !--- Default gateway (HQ G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 172.19.67.33 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 172.19.67.34 !--- ping 172.19.67.33 -> reaches the default gateway (HQ G0/1) !--- ping 172.19.67.94 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH Remote-1
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH Remote-1 - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the Remote-1 terminal (start at the Remote-1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the Remote-1 (172.19.67.64/28) subnet; activate it. interface vlan 1 ip address 172.19.67.66 255.255.255.240 no shutdown exit !--- Default gateway (Remote G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 172.19.67.65 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 172.19.67.66 !--- ping 172.19.67.65 -> reaches the default gateway (Remote G0/0) !--- ping 172.19.67.30 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH Remote-2
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH Remote-2 - SCENARIO 2 (network 172.19.67.0/24) !--- Usage: copy this whole file and paste it into the Remote-2 terminal (start at the Remote-2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 2 (network 172.19.67.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the Remote-2 (172.19.67.80/28) subnet; activate it. interface vlan 1 ip address 172.19.67.82 255.255.255.240 no shutdown exit !--- Default gateway (Remote G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 172.19.67.81 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 172.19.67.82 !--- ping 172.19.67.81 -> reaches the default gateway (Remote G0/1) !--- ping 172.19.67.62 -> reaches a host on the other router's LAN ! ==============================================================
PC WS116
PC WS145
PC WS203
PC WS234
Scenario 3 - Network Address: 192.168.203.0/24
Topology

11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme
Addressing Table
| Device | Interface | Address | Subnet Mask | Default Gateway |
|---|---|---|---|---|
| Police | G0/0 | 192.168.203.129 | 255.255.255.240 | N/A |
| G0/1 | 192.168.203.97 | 255.255.255.224 | N/A | |
| S0/0/0 | 192.168.203.145 | 255.255.255.252 | N/A | |
| Schools | G0/0 | 192.168.203.65 | 255.255.255.224 | N/A |
| G0/1 | 192.168.203.1 | 255.255.255.192 | N/A | |
| S0/0/0 | 192.168.203.146 | 255.255.255.252 | N/A | |
| PD-1 | VLAN 1 | 192.168.203.130 | 255.255.255.240 | 192.168.203.129 |
| PD-2 | VLAN 1 | 192.168.203.98 | 255.255.255.224 | 192.168.203.97 |
| PS-101 | VLAN 1 | 192.168.203.66 | 255.255.255.224 | 192.168.203.65 |
| PS-115 | VLAN 1 | 192.168.203.2 | 255.255.255.192 | 192.168.203.1 |
| PD-1-11 | NIC | 192.168.203.142 | 255.255.255.240 | 192.168.203.129 |
| PD-2-23 | NIC | 192.168.203.126 | 255.255.255.224 | 192.168.203.97 |
| PS-101-87 | NIC | 192.168.203.94 | 255.255.255.224 | 192.168.203.65 |
| PS-115-12 | NIC | 192.168.203.62 | 255.255.255.192 | 192.168.203.1 |
Objectives
In this lab you will design a VLSM addressing scheme given a network address and host requirements. You will configure addressing on routers, switches, and network hosts.
- Design a VLSM IP addressing scheme given requirements.
- Configure addressing on network devices and hosts.
- Verify IP connectivity.
- Troubleshoot connectivity issues as required.
Background / Scenario
You have been asked to design, implement, and test an addressing scheme for a customer. The customer has given you the network address that is suitable for the network, the topology, and the host requirements. You will implement and test your design.
Instructions
You have been given the network address 192.168.203.0/24 by your customer. The host address requirements are:
Requirements
Host Requirements:
| LAN | Number of Addresses Required |
|---|---|
| PS-101 LAN | 32 |
| PD-1 LAN | 21 |
| PS-115 LAN | 19 |
| PD-2 LAN | 14 |
Design Requirements
- Create the addressing design. Follow guidelines provided in the curriculum regarding the order of the subnets.
- The subnets should be contiguous. There should be no unused address space between subnets.
- Provide the most efficient subnet possible for the point-to-point link between the routers.
- Document your design in a table such as the one below.
| Subnet Description | Number of Hosts Needed | Network Address/CIDR | First Usable Host Address | Last Usable Host Address | Broadcast Address |
|---|---|---|---|---|---|
| PS-101 LAN | 32 | 192.168.203.0/26 | 192.168.203.1 | 192.168.203.62 | 192.168.203.63 |
| PD-1 LAN | 21 | 192.168.203.64/27 | 192.168.203.65 | 192.168.203.94 | 192.168.203.95 |
| PS-115 LAN | 19 | 192.168.203.96/27 | 192.168.203.97 | 192.168.203.126 | 192.168.203.127 |
| PD-2 LAN | 14 | 192.168.203.128/28 | 192.168.203.129 | 192.168.203.142 | 192.168.203.143 |
| WAN Link | 2 | 192.168.203.144/30 | 192.168.203.145 | 192.168.203.146 | 192.168.203.147 |
Pro Tip: Struggling with subnetting? Try our VLSM Calculator Online to quickly check your results!
Configuration Requirements
Note: You will configure addressing on all devices and hosts in the network.
- Assign the first usable IP addresses in the appropriate subnets to Police for the two LAN links and the WAN link.
Police(config)# interface gigabitethernet 0/0 Police(config-if)# ip address 192.168.203.129 255.255.255.240 Police(config-if)# no shutdown Police(config-if)# interface gigabitethernet 0/1 Police(config-if)# ip address 192.168.203.97 255.255.255.224 Police(config-if)# no shutdown Police(config-if)# interface serial 0/0/0 Police(config-if)# ip address 192.168.203.145 255.255.255.252 Police(config-if)# no shutdown
- Assign the first usable IP addresses in the appropriate subnets to Schools for the two LAN links. Assign the last usable IP address for the WAN link.
Schools(config)# interface gigabitethernet 0/0 Schools(config-if)# ip address 192.168.203.65 255.255.255.224 Schools(config-if)# no shutdown Schools(config-if)# interface gigabitethernet 0/1 Schools(config-if)# ip address 192.168.203.1 255.255.255.192 Schools(config-if)# no shutdown Schools(config-if)# interface serial 0/0/0 Schools(config-if)# ip address 192.168.203.146 255.255.255.252 Schools(config-if)# no shutdown
- Assign the second usable IP addresses in the appropriate subnets to the switches.
PD-1(config)# interface vlan 1 PD-1(config-if)# ip address 192.168.203.130 255.255.255.240 PD-1(config-if)# no shutdown
PD-2(config)# interface vlan 1 PD-2(config-if)# ip address 192.168.203.98 255.255.255.224 PD-2(config-if)# no shutdown
PS-101(config)# interface vlan 1 PS-101(config-if)# ip address 192.168.203.66 255.255.255.224 PS-101(config-if)# no shutdown
PS-115(config)# interface vlan 1 PS-115(config-if)# ip address 192.168.203.2 255.255.255.192 PS-115(config-if)# no shutdown
- The switch management interface should be reachable from hosts on all of the LANs.
PD-1(config)# ip default-gateway 192.168.203.129
PD-2(config)# ip default-gateway 192.168.203.97
PS-101(config)# ip default-gateway 192.168.203.65
PS-115(config)# ip default-gateway 192.168.203.1
- Assign the last usable IP addresses in the appropriate subnets to the hosts.
If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.
Device Configs - Final
ROUTER Police
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER Police - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the Police terminal (start at the Police> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the PD-1 LAN (192.168.203.128/28). interface gigabitethernet 0/0 ip address 192.168.203.129 255.255.255.240 no shutdown exit !--- gigabitethernet 0/1: first usable address of the PD-2 LAN (192.168.203.96/27). interface gigabitethernet 0/1 ip address 192.168.203.97 255.255.255.224 no shutdown exit !--- serial 0/0/0: first usable address of the WAN link (192.168.203.144/30). interface serial 0/0/0 ip address 192.168.203.145 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 192.168.203.146 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
ROUTER Schools
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR ROUTER Schools - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the Schools terminal (start at the Schools> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the router interfaces. ! -------------------------------------------------------------- !--- gigabitethernet 0/0: first usable address of the PS-101 LAN (192.168.203.64/27). interface gigabitethernet 0/0 ip address 192.168.203.65 255.255.255.224 no shutdown exit !--- gigabitethernet 0/1: first usable address of the PS-115 LAN (192.168.203.0/26). interface gigabitethernet 0/1 ip address 192.168.203.1 255.255.255.192 no shutdown exit !--- serial 0/0/0: last usable address of the WAN link (192.168.203.144/30). interface serial 0/0/0 ip address 192.168.203.146 255.255.255.252 no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> G0/0, G0/1 and S0/0/0 up/up with their addresses !--- show ip route -> the two LANs and the WAN link are connected (C) routes !--- ping 192.168.203.145 -> reaches the other router across the WAN link !--- Note: the remote LANs appear in the routing table only if routing between the two routers is configured in the activity. ! ==============================================================
SWITCH PD-1
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH PD-1 - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the PD-1 terminal (start at the PD-1> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the PD-1 (192.168.203.128/28) subnet; activate it. interface vlan 1 ip address 192.168.203.130 255.255.255.240 no shutdown exit !--- Default gateway (Police G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 192.168.203.129 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 192.168.203.130 !--- ping 192.168.203.129 -> reaches the default gateway (Police G0/0) !--- ping 192.168.203.94 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH PD-2
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH PD-2 - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the PD-2 terminal (start at the PD-2> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the PD-2 (192.168.203.96/27) subnet; activate it. interface vlan 1 ip address 192.168.203.98 255.255.255.224 no shutdown exit !--- Default gateway (Police G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 192.168.203.97 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 192.168.203.98 !--- ping 192.168.203.97 -> reaches the default gateway (Police G0/1) !--- ping 192.168.203.62 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH PS-101
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH PS-101 - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the PS-101 terminal (start at the PS-101> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the PS-101 (192.168.203.64/27) subnet; activate it. interface vlan 1 ip address 192.168.203.66 255.255.255.224 no shutdown exit !--- Default gateway (Schools G0/0) so the switch is reachable from hosts on all LANs. ip default-gateway 192.168.203.65 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 192.168.203.66 !--- ping 192.168.203.65 -> reaches the default gateway (Schools G0/0) !--- ping 192.168.203.142 -> reaches a host on the other router's LAN ! ==============================================================
SWITCH PS-115
! ============================================================== !--- 11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme !--- ANSWER SCRIPT FOR SWITCH PS-115 - SCENARIO 3 (network 192.168.203.0/24) !--- Usage: copy this whole file and paste it into the PS-115 terminal (start at the PS-115> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Note: this activity is randomized. Use this script only if your Addressing Table matches Scenario 3 (network 192.168.203.0/24). ! ============================================================== enable configure terminal ! -------------------------------------------------------------- !--- Configuration Requirements: address the switch management interface. ! -------------------------------------------------------------- !--- VLAN 1: second usable address of the PS-115 (192.168.203.0/26) subnet; activate it. interface vlan 1 ip address 192.168.203.2 255.255.255.192 no shutdown exit !--- Default gateway (Schools G0/1) so the switch is reachable from hosts on all LANs. ip default-gateway 192.168.203.1 end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show ip interface brief -> Vlan1 up/up with 192.168.203.2 !--- ping 192.168.203.1 -> reaches the default gateway (Schools G0/1) !--- ping 192.168.203.126 -> reaches a host on the other router's LAN ! ==============================================================



