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 topology

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.

Troubleshooting Walkthrough

Contents

How to reach the devices

Device Access Login
R1, S1, S2, S3 Console (click the device > CLI) Console password Ciscoconpa55, then enable with Ciscoenpa55
R1 SSH from a PC: ssh -l Admin1 <R1 gateway address> Username Admin1, password Admin1pa55. The session opens at R1>; type enable and enter Ciscoenpa55 to reach R1#.

Step 1: Assess connectivity from each PC

On each PC, check the IPv4 and IPv6 settings with ipconfig /all, then ping the R1 gateway (IPv4 and IPv6), the LAN switch and the web server (IPv4 and IPv6):

C:\> ipconfig /all

FastEthernet0 Connection:(default port)

   Connection-specific DNS Suffix..:
   Physical Address................: 0030.F2D8.3C0A
   Link-local IPv6 Address.........: FE80::2
   IPv6 Address....................: 2001:DB8:CAFE::2
   IPv4 Address....................: 192.168.1.1
   Subnet Mask.....................: 255.255.255.192
   Default Gateway.................: FE80::1
                                     192.168.1.62
   DHCP Servers....................: 0.0.0.0
   DHCPv6 IAID.....................:
   DHCPv6 Client DUID..............: 00-01-00-01-52-A7-D4-C9-00-30-F2-D8-3C-0A
   DNS Servers.....................: 2001:DB8:ACAD::2
                                     64.100.0.2
C:\> ping 172.16.1.62

Pinging 172.16.1.62 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 172.16.1.62:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 2001:db8:cafe::1

Pinging 2001:db8:cafe::1 with 32 bytes of data:

Reply from 2001:DB8:CAFE::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE::1: bytes=32 time<1ms TTL=255

Ping statistics for 2001:DB8:CAFE::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 172.16.1.61

Pinging 172.16.1.61 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 172.16.1.61:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 64.100.0.3

Pinging 64.100.0.3 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 64.100.0.3:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 2001:db8:acad::3

Pinging 2001:db8:acad::3 with 32 bytes of data:

Reply from 2001:DB8:ACAD::3: bytes=32 time=9ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=8ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125

Ping statistics for 2001:DB8:ACAD::3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 9ms, Average = 5ms

C:\> ipconfig /all

FastEthernet0 Connection:(default port)

   Connection-specific DNS Suffix..:
   Physical Address................: 000B.BEB5.63B2
   Link-local IPv6 Address.........: FE80::2
   IPv6 Address....................: 2001:DB8:CAFE:1::2
   IPv4 Address....................: 172.16.1.65
   Subnet Mask.....................: 255.255.255.192
   Default Gateway.................: FE80::1
                                     172.16.1.126
   DHCP Servers....................: 0.0.0.0
   DHCPv6 IAID.....................:
   DHCPv6 Client DUID..............: 00-01-00-01-8D-89-37-EC-00-0B-BE-B5-63-B2
   DNS Servers.....................: 2001:DB8:ACAD::2
                                     64.100.0.2
C:\> ping 172.16.1.126

Pinging 172.16.1.126 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 172.16.1.126:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 2001:db8:cafe:1::1

Pinging 2001:db8:cafe:1::1 with 32 bytes of data:

Reply from 2001:DB8:CAFE:1::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE:1::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE:1::1: bytes=32 time<1ms TTL=255
Reply from 2001:DB8:CAFE:1::1: bytes=32 time<1ms TTL=255

Ping statistics for 2001:DB8:CAFE:1::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 172.16.1.125

Pinging 172.16.1.125 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 172.16.1.125:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 64.100.0.3

Pinging 64.100.0.3 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 64.100.0.3:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 2001:db8:acad::3

Pinging 2001:db8:acad::3 with 32 bytes of data:

Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=12ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125

Ping statistics for 2001:DB8:ACAD::3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 12ms, Average = 4ms

C:\> ipconfig /all

FastEthernet0 Connection:(default port)

   Connection-specific DNS Suffix..:
   Physical Address................: 00D0.FFAB.2186
   Link-local IPv6 Address.........: FE80::2
   IPv6 Address....................: 2001:DB8:CAFE::2
   IPv4 Address....................: 172.16.1.129
   Subnet Mask.....................: 255.255.255.128
   Default Gateway.................: FE80::1
                                     172.16.1.254
   DHCP Servers....................: 0.0.0.0
   DHCPv6 IAID.....................:
   DHCPv6 Client DUID..............: 00-01-00-01-53-A6-A4-20-00-D0-FF-AB-21-86
   DNS Servers.....................: 2001:DB8:ACAD::2
                                     64.100.0.2
C:\> ping 172.16.1.254

Pinging 172.16.1.254 with 32 bytes of data:

Reply from 172.16.1.254: bytes=32 time<1ms TTL=255
Reply from 172.16.1.254: bytes=32 time<1ms TTL=255
Reply from 172.16.1.254: bytes=32 time<1ms TTL=255
Reply from 172.16.1.254: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.1.254:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 2001:db8:cafe:2::1

Pinging 2001:db8:cafe:2::1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 2001:DB8:CAFE:2::1:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\> ping 172.16.1.253

Pinging 172.16.1.253 with 32 bytes of data:

Request timed out.
Reply from 172.16.1.253: bytes=32 time<1ms TTL=255
Reply from 172.16.1.253: bytes=32 time<1ms TTL=255
Reply from 172.16.1.253: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.1.253:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 64.100.0.3

Pinging 64.100.0.3 with 32 bytes of data:

Request timed out.
Reply from 64.100.0.3: bytes=32 time=4ms TTL=125
Reply from 64.100.0.3: bytes=32 time=4ms TTL=125
Reply from 64.100.0.3: bytes=32 time=4ms TTL=125

Ping statistics for 64.100.0.3:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 4ms, Average = 4ms
C:\> ping 2001:db8:acad::3

Pinging 2001:db8:acad::3 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 2001:DB8:ACAD::3:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


What we learned:

  • IT has the IPv4 address 192.168.1.1 and gateway 192.168.1.62, which are outside its LAN 172.16.1.0/26. IPv4 fails, but IPv6 works.
  • Marketing has correct settings, but it cannot reach its IPv4 gateway 172.16.1.126 or S2. IPv6 works, so the problem is the IPv4 side of R1 G0/1.
  • R&D works over IPv4, but IPv6 fails: its IPv6 address is 2001:DB8:CAFE::2, the address of the IT PC on another network.
  • Every PC reaches the web server over at least one protocol, so the WAN link and the Main router are not the problem.

Step 1 results
PC IPv4 gateway IPv6 gateway LAN switch Web server IPv4 Web server IPv6
IT ✘ (Problem 5) ✔ S1: ✘ (Problem 5) ✘ (Problem 5) ✔
Marketing ✘ (Problem 1) ✔ S2: ✘ (Problem 1, Problem 4) ✘ (Problem 1) ✔
R&D ✔ ✘ (Problem 6) S3: ✔ ✔ ✘ (Problem 6)

Key concept: IPv4 and IPv6 work independently (dual stack)
Each PC and each R1 interface runs IPv4 and IPv6 side by side, with separate addresses, gateways and routing tables. A wrong IPv4 setting does not affect IPv6, and the reverse is also true. This is why the IT and Marketing PCs still reach the web server over IPv6 while IPv4 fails, and the R&D PC reaches it over IPv4 while IPv6 fails. In a dual-stack network, always test both protocols: a successful IPv4 ping does not prove that IPv6 is working.

Step 2: Locate each problem

Problem 1: R1 G0/1 (Marketing gateway) has the wrong IPv4 address
R1# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0     172.16.1.62     YES manual up                    up
GigabitEthernet0/1     192.168.1.126   YES manual up                    up
GigabitEthernet0/2     172.16.1.254    YES manual up                    up
Serial0/0/0            unassigned      YES unset  administratively down down
Serial0/0/1            10.0.0.2        YES manual up                    up
Vlan1                  unassigned      YES unset  administratively down down
R1# show running-config | section interface GigabitEthernet0/1
interface GigabitEthernet0/1
 ip address 192.168.1.126 255.255.255.192
 duplex auto
 speed auto
 ipv6 address FE80::1 link-local
 ipv6 address 2001:DB8:CAFE:1::1/64

What we learned:
G0/1 is up/up and the mask /26 (255.255.255.192) is correct, but the address is 192.168.1.126 instead of 172.16.1.126. The IPv6 addresses on G0/1 are correct, which is why IPv6 works for the Marketing PC.

Problem 2: The SSH account on R1 is missing
R1# show running-config | include username
R1#

What we learned:
The filter returns nothing: R1 has no local user account, so the Admin1 login cannot succeed.

Problem 3: The R1 VTY lines accept only Telnet
R1# show running-config | section line vty
line vty 0 4
 exec-timeout 5 0
 login local
 transport input telnet
R1# show ip ssh
SSH Enabled - version 1.99
Authentication timeout: 120 secs; Authentication retries: 3
C:\> ssh -l Admin1 172.16.1.254

[Connection to 172.16.1.254 closed by foreign host]

What we learned:
SSH itself is enabled and login local is configured, but the VTY lines accept only Telnet (transport input telnet), so R1 closes every SSH session.

Problem 4: S2 VLAN 1 has the wrong subnet mask
S2# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/1        unassigned      YES manual up                    up
FastEthernet0/2        unassigned      YES manual down                  down
FastEthernet0/3        unassigned      YES manual down                  down
FastEthernet0/4        unassigned      YES manual down                  down
FastEthernet0/5        unassigned      YES manual down                  down
FastEthernet0/6        unassigned      YES manual down                  down
FastEthernet0/7        unassigned      YES manual down                  down
FastEthernet0/8        unassigned      YES manual down                  down
FastEthernet0/9        unassigned      YES manual down                  down
FastEthernet0/10       unassigned      YES manual down                  down
FastEthernet0/11       unassigned      YES manual down                  down
FastEthernet0/12       unassigned      YES manual down                  down
FastEthernet0/13       unassigned      YES manual down                  down
FastEthernet0/14       unassigned      YES manual down                  down
FastEthernet0/15       unassigned      YES manual down                  down
FastEthernet0/16       unassigned      YES manual down                  down
FastEthernet0/17       unassigned      YES manual down                  down
FastEthernet0/18       unassigned      YES manual down                  down
FastEthernet0/19       unassigned      YES manual down                  down
FastEthernet0/20       unassigned      YES manual down                  down
FastEthernet0/21       unassigned      YES manual down                  down
FastEthernet0/22       unassigned      YES manual down                  down
FastEthernet0/23       unassigned      YES manual down                  down
FastEthernet0/24       unassigned      YES manual down                  down
GigabitEthernet0/1     unassigned      YES manual up                    up
GigabitEthernet0/2     unassigned      YES manual down                  down
Vlan1                  172.16.1.125    YES manual up                    up
S2# show running-config | include default-gateway
ip default-gateway 172.16.1.126

The brief output does not show the mask. Check the VLAN 1 configuration:

S2# show running-config | section interface Vlan1
interface Vlan1
 ip address 172.16.1.125 255.255.255.224

What we learned:
The address 172.16.1.125 is correct, but the mask is 255.255.255.224 (/27) instead of /26. S2 places itself in 172.16.1.96/27 (hosts .97 - .126), so the Marketing PC (172.16.1.65) is outside its subnet. S2 sends its replies to the default gateway 172.16.1.126, which did not exist yet because of Problem 1, so the Marketing PC got no reply.


Key concept: a wrong subnet mask breaks only some traffic
A host uses its mask to decide whether a destination is on the local network (send directly) or remote (send to the default gateway). With the wrong /27 mask, S2 still has the right address, so frames from the Marketing PC reach it. But S2 believes 172.16.1.65 is on another network and sends the reply to its gateway instead of directly to the PC. The fault therefore depends on the state of other devices: it breaks connectivity while the gateway is down, and seems to disappear as soon as the gateway works. Faults like this are easy to miss, so always compare the mask in the configuration with the Addressing Table.

Problem 5: The IT PC has the wrong IPv4 address and default gateway

See the ipconfig /all output of the IT PC in Step 1.

Problem 6: The R&D PC has the wrong IPv6 address

See the ipconfig /all output of the R&D PC in Step 1.

Devices with no faults: S1 and S3
S1# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/1        unassigned      YES manual up                    up
FastEthernet0/2        unassigned      YES manual down                  down
FastEthernet0/3        unassigned      YES manual down                  down
FastEthernet0/4        unassigned      YES manual down                  down
FastEthernet0/5        unassigned      YES manual down                  down
FastEthernet0/6        unassigned      YES manual down                  down
FastEthernet0/7        unassigned      YES manual down                  down
FastEthernet0/8        unassigned      YES manual down                  down
FastEthernet0/9        unassigned      YES manual down                  down
FastEthernet0/10       unassigned      YES manual down                  down
FastEthernet0/11       unassigned      YES manual down                  down
FastEthernet0/12       unassigned      YES manual down                  down
FastEthernet0/13       unassigned      YES manual down                  down
FastEthernet0/14       unassigned      YES manual down                  down
FastEthernet0/15       unassigned      YES manual down                  down
FastEthernet0/16       unassigned      YES manual down                  down
FastEthernet0/17       unassigned      YES manual down                  down
FastEthernet0/18       unassigned      YES manual down                  down
FastEthernet0/19       unassigned      YES manual down                  down
FastEthernet0/20       unassigned      YES manual down                  down
FastEthernet0/21       unassigned      YES manual down                  down
FastEthernet0/22       unassigned      YES manual down                  down
FastEthernet0/23       unassigned      YES manual down                  down
FastEthernet0/24       unassigned      YES manual down                  down
GigabitEthernet0/1     unassigned      YES manual up                    up
GigabitEthernet0/2     unassigned      YES manual down                  down
Vlan1                  172.16.1.61     YES manual up                    up
S1# show running-config | include default-gateway
ip default-gateway 172.16.1.62
S3# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/1        unassigned      YES manual up                    up
FastEthernet0/2        unassigned      YES manual down                  down
FastEthernet0/3        unassigned      YES manual down                  down
FastEthernet0/4        unassigned      YES manual down                  down
FastEthernet0/5        unassigned      YES manual down                  down
FastEthernet0/6        unassigned      YES manual down                  down
FastEthernet0/7        unassigned      YES manual down                  down
FastEthernet0/8        unassigned      YES manual down                  down
FastEthernet0/9        unassigned      YES manual down                  down
FastEthernet0/10       unassigned      YES manual down                  down
FastEthernet0/11       unassigned      YES manual down                  down
FastEthernet0/12       unassigned      YES manual down                  down
FastEthernet0/13       unassigned      YES manual down                  down
FastEthernet0/14       unassigned      YES manual down                  down
FastEthernet0/15       unassigned      YES manual down                  down
FastEthernet0/16       unassigned      YES manual down                  down
FastEthernet0/17       unassigned      YES manual down                  down
FastEthernet0/18       unassigned      YES manual down                  down
FastEthernet0/19       unassigned      YES manual down                  down
FastEthernet0/20       unassigned      YES manual down                  down
FastEthernet0/21       unassigned      YES manual down                  down
FastEthernet0/22       unassigned      YES manual down                  down
FastEthernet0/23       unassigned      YES manual down                  down
FastEthernet0/24       unassigned      YES manual down                  down
GigabitEthernet0/1     unassigned      YES manual up                    up
GigabitEthernet0/2     unassigned      YES manual down                  down
Vlan1                  172.16.1.253    YES manual up                    up
S3# show running-config | include default-gateway
ip default-gateway 172.16.1.254

What we learned:
S1 and S3 have the addresses and default gateways listed in the Addressing Table. Their pings fail in Step 1 only because of the problems on the IT PC (S1); S3 already answers the R&D PC.

Step 3: Fix the problems

Note: Apply the fixes one at a time in this order and run the test under each fix before moving on.

Fix 1: R1 G0/1: set the Marketing gateway address.

R1(config)# interface gigabitethernet 0/1
R1(config-if)# ip address 172.16.1.126 255.255.255.192
R1# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0     172.16.1.62     YES manual up                    up
GigabitEthernet0/1     172.16.1.126    YES manual up                    up
GigabitEthernet0/2     172.16.1.254    YES manual up                    up
Serial0/0/0            unassigned      YES unset  administratively down down
Serial0/0/1            10.0.0.2        YES manual up                    up
Vlan1                  unassigned      YES unset  administratively down down
C:\> ping 172.16.1.126

Pinging 172.16.1.126 with 32 bytes of data:

Reply from 172.16.1.126: bytes=32 time<1ms TTL=255
Reply from 172.16.1.126: bytes=32 time<1ms TTL=255
Reply from 172.16.1.126: bytes=32 time<1ms TTL=255
Reply from 172.16.1.126: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.1.126:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

What we learned:
G0/1 now has 172.16.1.126, and the Marketing PC reaches its IPv4 gateway.

Fix 2: R1: create the local SSH account.

R1(config)# username Admin1 secret Admin1pa55
R1# show running-config | include username
username Admin1 secret 5 $1$mERr$Ty/EkWXcSXEwIckISrps8/

What we learned:
The account Admin1 now exists; the secret keyword stores the password as an MD5 hash (secret 5).

Fix 3: R1 VTY lines: allow SSH (login local is already configured).

R1(config)# line vty 0 4
R1(config-line)# transport input ssh
R1# show running-config | section line vty
line vty 0 4
 exec-timeout 5 0
 login local
 transport input ssh
C:\> ssh -l Admin1 172.16.1.254

Password:

Warning: Unauthorized Access is Prohibited!

R1>

What we learned:
The SSH session opens at R1>. Type enable and the enable password Ciscoenpa55 to reach R1#.

Fix 4: S2: correct the VLAN 1 subnet mask.

S2(config)# interface vlan 1
S2(config-if)# ip address 172.16.1.125 255.255.255.192
S2# show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/1        unassigned      YES manual up                    up
FastEthernet0/2        unassigned      YES manual down                  down
FastEthernet0/3        unassigned      YES manual down                  down
FastEthernet0/4        unassigned      YES manual down                  down
FastEthernet0/5        unassigned      YES manual down                  down
FastEthernet0/6        unassigned      YES manual down                  down
FastEthernet0/7        unassigned      YES manual down                  down
FastEthernet0/8        unassigned      YES manual down                  down
FastEthernet0/9        unassigned      YES manual down                  down
FastEthernet0/10       unassigned      YES manual down                  down
FastEthernet0/11       unassigned      YES manual down                  down
FastEthernet0/12       unassigned      YES manual down                  down
FastEthernet0/13       unassigned      YES manual down                  down
FastEthernet0/14       unassigned      YES manual down                  down
FastEthernet0/15       unassigned      YES manual down                  down
FastEthernet0/16       unassigned      YES manual down                  down
FastEthernet0/17       unassigned      YES manual down                  down
FastEthernet0/18       unassigned      YES manual down                  down
FastEthernet0/19       unassigned      YES manual down                  down
FastEthernet0/20       unassigned      YES manual down                  down
FastEthernet0/21       unassigned      YES manual down                  down
FastEthernet0/22       unassigned      YES manual down                  down
FastEthernet0/23       unassigned      YES manual down                  down
FastEthernet0/24       unassigned      YES manual down                  down
GigabitEthernet0/1     unassigned      YES manual up                    up
GigabitEthernet0/2     unassigned      YES manual down                  down
Vlan1                  172.16.1.125    YES manual up                    up
C:\> ping 172.16.1.125

Pinging 172.16.1.125 with 32 bytes of data:

Request timed out.
Reply from 172.16.1.125: bytes=32 time<1ms TTL=255
Reply from 172.16.1.125: bytes=32 time<1ms TTL=255
Reply from 172.16.1.125: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.1.125:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Note: After Fix 1, the ping from the Marketing PC to S2 succeeds even with the wrong /27 mask, because S2 sends its replies through the gateway 172.16.1.126, which now works. Problem 1 masks Problem 4, so check the mask with show running-config | section interface Vlan1, not only with ping.

Fix 5: IT PC: on Desktop > IP Configuration, set IPv4 Address 172.16.1.1, Subnet Mask 255.255.255.192, Default Gateway 172.16.1.62. IPv6 is already correct (2001:DB8:CAFE::2/64, gateway FE80::1).

17.8.3 IT PC IP Configuration with the corrected IPv4 settings

C:\> ipconfig

FastEthernet0 Connection:(default port)

   Connection-specific DNS Suffix..:
   Link-local IPv6 Address.........: FE80::2
   IPv6 Address....................: 2001:DB8:CAFE::2
   IPv4 Address....................: 172.16.1.1
   Subnet Mask.....................: 255.255.255.192
   Default Gateway.................: FE80::1
                                     172.16.1.62
C:\> ping 172.16.1.62

Pinging 172.16.1.62 with 32 bytes of data:

Reply from 172.16.1.62: bytes=32 time<1ms TTL=255
Reply from 172.16.1.62: bytes=32 time<1ms TTL=255
Reply from 172.16.1.62: bytes=32 time<1ms TTL=255
Reply from 172.16.1.62: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.1.62:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

What we learned:
The IT PC is now in 172.16.1.0/26 and reaches its gateway 172.16.1.62.

Fix 6: R&D PC: on Desktop > IP Configuration, set IPv6 Address 2001:DB8:CAFE:2::2/64 and IPv6 Gateway FE80::1. IPv4 is already correct (172.16.1.129/25, gateway 172.16.1.254).

17.8.3 R&D PC IP Configuration with the corrected IPv6 address

C:\> ipconfig /all

FastEthernet0 Connection:(default port)

   Connection-specific DNS Suffix..:
   Physical Address................: 00D0.FFAB.2186
   Link-local IPv6 Address.........: FE80::2
   IPv6 Address....................: 2001:DB8:CAFE:2::2
   IPv4 Address....................: 172.16.1.129
   Subnet Mask.....................: 255.255.255.128
   Default Gateway.................: FE80::1
                                     172.16.1.254
   DHCP Servers....................: 0.0.0.0
   DHCPv6 IAID.....................:
   DHCPv6 Client DUID..............: 00-01-00-01-53-A6-A4-20-00-D0-FF-AB-21-86
   DNS Servers.....................: 2001:DB8:ACAD::2
                                     64.100.0.2
C:\> ping 2001:db8:acad::3

Pinging 2001:db8:acad::3 with 32 bytes of data:

Reply from 2001:DB8:ACAD::3: bytes=32 time=18ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=13ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125

Ping statistics for 2001:DB8:ACAD::3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 18ms, Average = 8ms

What we learned:
The R&D PC now has its own IPv6 address 2001:DB8:CAFE:2::2 and reaches the web server over IPv6.

Step 4: Final verification

All PCs must reach each other, R1, the switches and the web server over IPv4 and IPv6 (switches IPv4 only), and open an SSH session to R1:

C:\> ping 172.16.1.65

Pinging 172.16.1.65 with 32 bytes of data:

Reply from 172.16.1.65: bytes=32 time<1ms TTL=127
Reply from 172.16.1.65: bytes=32 time<1ms TTL=127
Reply from 172.16.1.65: bytes=32 time<1ms TTL=127
Reply from 172.16.1.65: bytes=32 time<1ms TTL=127

Ping statistics for 172.16.1.65:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 2001:db8:cafe:2::2

Pinging 2001:db8:cafe:2::2 with 32 bytes of data:

Reply from 2001:DB8:CAFE:2::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE:2::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE:2::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE:2::2: bytes=32 time<1ms TTL=127

Ping statistics for 2001:DB8:CAFE:2::2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 172.16.1.125

Pinging 172.16.1.125 with 32 bytes of data:

Request timed out.
Request timed out.
Reply from 172.16.1.125: bytes=32 time<1ms TTL=254
Reply from 172.16.1.125: bytes=32 time<1ms TTL=254

Ping statistics for 172.16.1.125:
    Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 2001:db8:acad::3

Pinging 2001:db8:acad::3 with 32 bytes of data:

Reply from 2001:DB8:ACAD::3: bytes=32 time=13ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=8ms TTL=125
Reply from 2001:DB8:ACAD::3: bytes=32 time=2ms TTL=125

Ping statistics for 2001:DB8:ACAD::3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 13ms, Average = 6ms
C:\> ssh -l Admin1 172.16.1.62

Password:

Warning: Unauthorized Access is Prohibited!

R1>
R1>en
Password:
R1#

C:\> ping 172.16.1.129

Pinging 172.16.1.129 with 32 bytes of data:

Reply from 172.16.1.129: bytes=32 time<1ms TTL=127
Reply from 172.16.1.129: bytes=32 time<1ms TTL=127
Reply from 172.16.1.129: bytes=32 time<1ms TTL=127
Reply from 172.16.1.129: bytes=32 time<1ms TTL=127

Ping statistics for 172.16.1.129:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 2001:db8:cafe::2

Pinging 2001:db8:cafe::2 with 32 bytes of data:

Reply from 2001:DB8:CAFE::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE::2: bytes=32 time<1ms TTL=127

Ping statistics for 2001:DB8:CAFE::2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 172.16.1.253

Pinging 172.16.1.253 with 32 bytes of data:

Request timed out.
Request timed out.
Reply from 172.16.1.253: bytes=32 time<1ms TTL=254
Reply from 172.16.1.253: bytes=32 time<1ms TTL=254

Ping statistics for 172.16.1.253:
    Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 64.100.0.3

Pinging 64.100.0.3 with 32 bytes of data:

Reply from 64.100.0.3: bytes=32 time=13ms TTL=125
Reply from 64.100.0.3: bytes=32 time=7ms TTL=125
Reply from 64.100.0.3: bytes=32 time=12ms TTL=125
Reply from 64.100.0.3: bytes=32 time=2ms TTL=125

Ping statistics for 64.100.0.3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 13ms, Average = 8ms
C:\> ssh -l Admin1 172.16.1.126

Password:

Warning: Unauthorized Access is Prohibited!

R1>en
Password:
R1#

C:\> ping 172.16.1.1

Pinging 172.16.1.1 with 32 bytes of data:

Reply from 172.16.1.1: bytes=32 time<1ms TTL=127
Reply from 172.16.1.1: bytes=32 time<1ms TTL=127
Reply from 172.16.1.1: bytes=32 time<1ms TTL=127
Reply from 172.16.1.1: bytes=32 time<1ms TTL=127

Ping statistics for 172.16.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 2001:db8:cafe:1::2

Pinging 2001:db8:cafe:1::2 with 32 bytes of data:

Reply from 2001:DB8:CAFE:1::2: bytes=32 time=9ms TTL=127
Reply from 2001:DB8:CAFE:1::2: bytes=32 time=10ms TTL=127
Reply from 2001:DB8:CAFE:1::2: bytes=32 time<1ms TTL=127
Reply from 2001:DB8:CAFE:1::2: bytes=32 time<1ms TTL=127

Ping statistics for 2001:DB8:CAFE:1::2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 10ms, Average = 4ms
C:\> ping 172.16.1.61

Pinging 172.16.1.61 with 32 bytes of data:

Request timed out.
Request timed out.
Reply from 172.16.1.61: bytes=32 time<1ms TTL=254
Reply from 172.16.1.61: bytes=32 time<1ms TTL=254

Ping statistics for 172.16.1.61:
    Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\> ping 64.100.0.3

Pinging 64.100.0.3 with 32 bytes of data:

Reply from 64.100.0.3: bytes=32 time=12ms TTL=125
Reply from 64.100.0.3: bytes=32 time=10ms TTL=125
Reply from 64.100.0.3: bytes=32 time=19ms TTL=125
Reply from 64.100.0.3: bytes=32 time=17ms TTL=125

Ping statistics for 64.100.0.3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 10ms, Maximum = 19ms, Average = 14ms
C:\> ssh -l Admin1 172.16.1.254

Password:

Warning: Unauthorized Access is Prohibited!

R1>en
Password:
R1#


What we learned:
All three PCs reach each other, the switches, R1 and the web server over IPv4 and IPv6, and open an SSH session to R1. The first one or two pings to a switch on another LAN time out while ARP resolves the MAC addresses on both LANs.

Issues Found and Solutions

# Device Issue Command that reveals it Solution
1 R1 G0/1 Wrong IPv4 address on the Marketing LAN gateway (192.168.1.126; the /26 mask is correct) R1: show ip interface brief Set it to 172.16.1.126 255.255.255.192
2 R1 No local user account for SSH (no username line in the running-config) R1: show running-config | include username Create it: username Admin1 secret Admin1pa55
3 R1 VTY lines VTY lines accept only Telnet (transport input telnet), so SSH sessions are closed R1: show running-config | section line vty Apply transport input ssh (login local is already configured)
4 S2 VLAN 1 Wrong subnet mask on VLAN 1 (255.255.255.224 /27): S2 is in 172.16.1.96/27, so the Marketing PC is outside its subnet S2: show running-config | section interface Vlan1 Set ip address 172.16.1.125 255.255.255.192
5 IT PC Wrong IPv4 address and wrong default gateway (192.168.1.1, gateway 192.168.1.62) IT: ipconfig /all IP 172.16.1.1 / 255.255.255.192, gateway 172.16.1.62
6 R&D PC Wrong IPv6 address (2001:DB8:CAFE::2, the address of the IT PC) R&D: ipconfig /all Set it to 2001:DB8:CAFE:2::2/64 (gateway FE80::1)

No changes needed on: S1, S3 (see Devices with no faults), and the Marketing PC (see Step 1, Marketing tab).

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!

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 192.168.1.126 (the interface is up/up and the /26 mask is correct). Set the Marketing gateway to 172.16.1.126/26; the new primary address replaces the old one.
interface gigabitethernet 0/1
 ip address 172.16.1.126 255.255.255.192
 exit

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

!--- R1 has no local user account. Create Admin1 with the encrypted password Admin1pa55.
username Admin1 secret Admin1pa55

!--- The VTY lines accept only Telnet (transport input telnet). Allow SSH; login local is already configured.
line vty 0 4
 transport input ssh
 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 subnet mask.
! --------------------------------------------------------------

!--- VLAN 1 has the correct address but the wrong mask 255.255.255.224 (/27). Set 172.16.1.125/26 from the Addressing Table (Marketing subnet 172.16.1.64/26). VLAN 1 is already up/up.
interface vlan 1
 ip address 172.16.1.125 255.255.255.192
 exit

end

! --------------------------------------------------------------
!--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.)
! --------------------------------------------------------------
copy running-config startup-config


! ==============================================================
!--- Verification:
!---   show running-config | section interface Vlan1  -> ip address 172.16.1.125 255.255.255.192
!---   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