11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme (Instructions Answer)

Packet Tracer Packet Tracer Labs Original source

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.

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

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.

If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.

Device Configs - Final

ROUTER East

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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 E1-22PC

IP Address10.1.1.110

Subnet Mask255.255.255.240

Default Gateway10.1.1.97

Command Promptipconfig 10.1.1.110 255.255.255.240 10.1.1.97

PC E2-47

PC E2-47PC

IP Address10.1.1.94

Subnet Mask255.255.255.224

Default Gateway10.1.1.65

Command Promptipconfig 10.1.1.94 255.255.255.224 10.1.1.65

PC W1-201

PC W1-201PC

IP Address10.1.1.118

Subnet Mask255.255.255.248

Default Gateway10.1.1.113

Command Promptipconfig 10.1.1.118 255.255.255.248 10.1.1.113

PC W2-87

PC W2-87PC

IP Address10.1.1.62

Subnet Mask255.255.255.192

Default Gateway10.1.1.1

Command Promptipconfig 10.1.1.62 255.255.255.192 10.1.1.1

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.

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

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.

If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.

Device Configs - Final

ROUTER HQ

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

WS116PC

IP Address172.19.67.30

Subnet Mask255.255.255.224

Default Gateway172.19.67.1

Command Promptipconfig 172.19.67.30 255.255.255.224 172.19.67.1

PC WS145

WS145PC

IP Address172.19.67.62

Subnet Mask255.255.255.224

Default Gateway172.19.67.33

Command Promptipconfig 172.19.67.62 255.255.255.224 172.19.67.33

PC WS203

WS203PC

IP Address172.19.67.78

Subnet Mask255.255.255.240

Default Gateway172.19.67.65

Command Promptipconfig 172.19.67.78 255.255.255.240 172.19.67.65

PC WS234

WS234PC

IP Address172.19.67.94

Subnet Mask255.255.255.240

Default Gateway172.19.67.81

Command Promptipconfig 172.19.67.94 255.255.255.240 172.19.67.81

Scenario 3 - Network Address: 192.168.203.0/24

Topology

11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme

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.

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

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.

If the addressing design and implementation are correct, all hosts and devices should be reachable over the network.

Device Configs - Final

ROUTER Police

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

Copy

! ==============================================================

!--- 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

! ==============================================================

PC PD-1-11

PD-1-11PC

IP Address192.168.203.142

Subnet Mask255.255.255.240

Default Gateway192.168.203.129

Command Promptipconfig 192.168.203.142 255.255.255.240 192.168.203.129

PC PD-2-23

PD-2-23PC

IP Address192.168.203.126

Subnet Mask255.255.255.224

Default Gateway192.168.203.97

Command Promptipconfig 192.168.203.126 255.255.255.224 192.168.203.97

PC PS-101-87

PS-101-87PC

IP Address192.168.203.94

Subnet Mask255.255.255.224

Default Gateway192.168.203.65

Command Promptipconfig 192.168.203.94 255.255.255.224 192.168.203.65

PC PS-115-12

PS-115-12PC

IP Address192.168.203.62

Subnet Mask255.255.255.192

Default Gateway192.168.203.1

Command Promptipconfig 192.168.203.62 255.255.255.192 192.168.203.1

Download Completed Packet Tracer (.pka) File (100%)

Icon

11.10.1 Packet Tracer - Design and Implement a VLSM Addressing Scheme.pka 697.48 KB 13156 downloads

...

Download

← All Packet Tracer articles Home