17.8.3 Packet Tracer - Troubleshooting Challenge (Instructions Answer)

17.8.3 Packet Tracer – Troubleshooting Challenge Answers

Topology

17.8.3 Packet Tracer – Troubleshooting Challenge

17.8.3 Packet Tracer – Troubleshooting Challenge

Addressing Table

Device Interface IP Address / Prefix Default Gateway
R1 G0/0 172.16.1.62 /26 N/A
G0/0 2001:db8:cafe::1/64
G0/0 fe80::1
G0/1 172.16.1.126 /26 N/A
G0/1 2001:db8:cafe:1::1/64
G0/1 fe80::1
G0/2 172.16.1.254 /25 N/A
G0/2 2001:db8:cafe:2::1/64
G0/2 fe80::1
S0/0/1 10.0.0.2 /30 N/A
S0/0/1 2001:db8:2::1/64
S0/0/1 fe80::1
Main S0/0/0 209.165.200.226 /30 N/A
S0/0/0 2001:db8:1::1/64
S0/0/0 fe80::2
S0/0/1 10.0.0.1 /30 N/A
S0/0/1 2001:db8:2::2/64
S0/0/1 fe80::2
S1 VLAN 1 172.16.1.61 /26 172.16.1.62
S2 VLAN 1 172.16.1.125 /26 172.16.1.126
S3 VLAN 1 172.16.1.253 /25 172.16.1.254
IT NIC 172.16.1.1 /26 172.16.1.62
2001:db8:cafe::2/64 fe80::1
fe80::2
Marketing NIC 172.16.1.65 /26 172.16.1.126
2001:db8:cafe:1::2/64 fe80::1
fe80::2
R&D NIC 172.16.1.129 /25 172.16.1.254
2001:db8:cafe:2::2/64 fe80::1
fe80::2
Web NIC 64.100.0.3 /29 64.100.0.1
2001:db8:acad::3/64 fe80::1
fe80::2

A note on the addressing scheme in this lab

The IP addresses in this activity are given to you — this is a troubleshooting lab, not a subnet design lab. Your job is to find and fix the misconfigured devices, not to recalculate the addressing.

That said, some students notice something and get confused, so it is worth explaining. The three subnets were allocated in the order they are listed (IT → Marketing → R&D), not in the order that standard VLSM would use. Standard VLSM always allocates the largest subnet first, which would produce a different — and equally valid — set of addresses:

Subnet Hosts This lab Standard VLSM
R&D 100 172.16.1.128/25 172.16.1.0/25
IT 50 172.16.1.0/26 172.16.1.128/26
Marketing 50 172.16.1.64/26 172.16.1.192/26

Both schemes are correct: no overlaps, every block sits on a valid boundary, and both use all 256 addresses of the /24 with zero waste. If you calculated the second column on your own, you did the subnetting right — just configure the devices to match the addressing table provided in the lab. You can check either scheme with the VLSM subnet calculator, which walks through the allocation step by step in binary.

So why does VLSM insist on largest-first? Because it only works out this cleanly by coincidence here. Reorder the allocation to IT (/26) → R&D (/25) → Marketing (/26) and the pointer lands on 172.16.1.64, which is not a valid /25 boundary. You would be forced to skip forward to 172.16.1.128 and strand 64 addresses. Allocating the largest block first guarantees the smaller blocks always fit into what is left.

Objectives

  • Troubleshoot common issues in a LAN.

Background / Scenario

After an update to the network, some devices were misconfigured. You must correct the configurations and verify that all the PCs can access the Web server, R1, and the switches. In addition, all PCs should be able to access R1 using SSH. You should verify connectivity for both IPv4 and IPv6 except for the switches.

Instructions

Router R1 and all the switches have been preconfigured with the following:

  • Enable password: Ciscoenpa55
  • Console password: Ciscoconpa55
  • Admin username and password for SSH: Admin1/Admin1pa55

Required number of hosts per subnet:

  • IT: 50 hosts
  • Marketing: 50 hosts
  • R&D: 100 hosts

If all configuration problems have been fixed, all devices should be able to ping each other and the web server.

Issues Found and Solutions

# Device Issue Solution
1 R1 G0/1 Wrong IPv4 address/mask on the Marketing LAN gateway Set it to 172.16.1.126 255.255.255.192
2 R1 SSH admin account missing or incorrect Recreate it: username Admin1 secret Admin1pa55
3 R1 VTY lines VTY lines not restricted to SSH, so SSH access failed Apply transport input ssh (with login local)
4 S2 VLAN 1 Wrong management IP address, so S2 was unreachable Set it to 172.16.1.125 255.255.255.192
5 IT PC Wrong IPv4 address and wrong default gateway IP 172.16.1.1 / 255.255.255.192, gateway 172.16.1.62
6 R&D PC Wrong IPv6 address Set it to 2001:db8:cafe:2::2/64 (gateway fe80::1)

No changes needed on: S1, S3, and the Marketing PC.

Addressing scheme (172.16.1.0/24)

Subnet Hosts required Network / CIDR Usable host range
IT 50 172.16.1.0/26 172.16.1.1 – 172.16.1.62
Marketing 50 172.16.1.64/26 172.16.1.65 – 172.16.1.126
R&D 100 172.16.1.128/25 172.16.1.129 – 172.16.1.254

💡 Pro Tip: Struggling with subnetting? Try our VLSM Calculator Online to quickly check your results!

Host fixes (Desktop → IP Configuration)

  • IT PC — set IPv4 Address to 172.16.1.1, mask 255.255.255.192, Default Gateway to 172.16.1.62. (IPv6 is already correct: 2001:db8:cafe::2/64, gateway fe80::1.)
  • R&D PC — set IPv6 Address to 2001:db8:cafe:2::2/64, IPv6 gateway fe80::1. (IPv4 is already correct: 172.16.1.129 / 255.255.255.128, gateway 172.16.1.254.)
  • Marketing PC — no change needed.

Verification

  • All PCs can ping each other, the switches, R1, and the web server — over both IPv4 and IPv6 (switches are IPv4 only).
  • All PCs can reach R1 over SSH using the Admin1 account.
  • The web browsers on the IT, Marketing, and R&D PCs can open the web server.

Device Configs - Final

ROUTER R1

! ==============================================================
!--- 17.8.3 Packet Tracer - Troubleshooting Challenge
!--- FIX SCRIPT FOR ROUTER R1
!--- Usage: open the R1 console, log in with the console password Ciscoconpa55, type "enable" and enter the enable password Ciscoenpa55, then paste this file at the R1# prompt. This is a troubleshooting activity: the script contains only the fixes for R1. Every line beginning with "!" is a comment; IOS ignores it.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Issue 1: R1 G0/1 (Marketing LAN gateway).
! --------------------------------------------------------------

!--- G0/1 has the wrong IPv4 address/mask. Set the Marketing gateway to 172.16.1.126/26 (last host of 172.16.1.64/26); the new primary address replaces the old one.
interface gigabitethernet 0/1
 ip address 172.16.1.126 255.255.255.192
 no shutdown
 exit

! --------------------------------------------------------------
!--- Issues 2 and 3: SSH access to R1.
! --------------------------------------------------------------

!--- Recreate the local SSH account Admin1 with the encrypted password Admin1pa55.
username Admin1 secret Admin1pa55

!--- VTY lines: accept SSH and authenticate with the local user database.
line vty 0 4
 transport input ssh
 login local
 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  -> GigabitEthernet0/1 172.16.1.126 up/up
!---   show ip ssh              -> SSH Enabled
!---   From each PC: ssh -l Admin1 172.16.1.62 (password Admin1pa55) -> R1>
! ==============================================================

SWITCH S2

! ==============================================================
!--- 17.8.3 Packet Tracer - Troubleshooting Challenge
!--- FIX SCRIPT FOR SWITCH S2
!--- Usage: open the S2 console, log in with the console password Ciscoconpa55, type "enable" and enter the enable password Ciscoenpa55, then paste this file at the S2# prompt. This is a troubleshooting activity: the script contains only the fix for S2. Every line beginning with "!" is a comment; IOS ignores it.
! ==============================================================

enable
configure terminal

! --------------------------------------------------------------
!--- Issue 4: S2 VLAN 1 management address.
! --------------------------------------------------------------

!--- VLAN 1 has the wrong IPv4 address. Set 172.16.1.125/26 from the Addressing Table (Marketing subnet 172.16.1.64/26).
interface vlan 1
 ip address 172.16.1.125 255.255.255.192
 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  -> Vlan1 172.16.1.125 up/up
!---   ping 172.16.1.126        -> reaches the default gateway (R1 G0/1)
! ==============================================================

PC IT

ITPC
IPv4
IP Address172.16.1.1
Subnet Mask255.255.255.192
Default Gateway172.16.1.62
IPv6
IPv6 Address2001:db8:cafe::2/64
Link-Local Addressfe80::2
IPv6 Gatewayfe80::1

PC R&D

R&DPC
IPv4
IP Address172.16.1.129
Subnet Mask255.255.255.128
Default Gateway172.16.1.254
IPv6
IPv6 Address2001:db8:cafe:2::2/64
Link-Local Addressfe80::2
IPv6 Gatewayfe80::1

Download Packet Tracer (.pka) file:

Subscribe
Notify of
guest

0 Corrections & Clarifications