4.4.9 Lab - Troubleshoot Inter-VLAN Routing - ILM
4.4.9 Lab - Troubleshoot Inter-VLAN Routing - ILM
4.4.9 Lab - Troubleshoot Inter-VLAN Routing - ILM
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
VLAN Table
VLAN Name Interface Assigned
S1: VLAN 3
3 Management S2: VLAN 3
4 Operations S1: F0/6
S1: F0/2-4, F0/7-24, G0/1-2
7 ParkingLot S2: F0/2-17, F0/19-24, G0/1-2
8 Native N/A
13 Maintenance S2: F0/18
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
Objectives
Part 1: Evaluate Network Operation
Part 2: Gather information, create an action plan, and implement corrections
Background / Scenario
Instructor Note: Preconfiguration scripts for all the devices are documented below. Cut and paste or otherwise
use these to pre-configure the equipment for the student.
Router R1
enable
configure terminal
hostname R1
no ip domain lookup
enable secret class
line con 0
password cisco
login
logging synch
line vty 0 4
password cisco
login
service password-encryption
banner motd $ Authorized Users Only! $
interface g0/0/1
no shut
interface g0/0/1.3
encap dot1q 3
ip add 10.3.0.1 255.255.255.0
interface g0/0/1.4
encap dot1q 4 native
ip address 10.4.0.1 255.255.255.0
interface g0/0/1.8
! encap dot1q 8 native
encap dot1q 8
interface g0/0/1.13
encap dot1q 13
ip address 10.13.0.1 255.255.255.0
end
Switch S1
enable
config terminal
hostname S1
no ip domain-lookup
enable secret class
line con 0
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
password cisco
login
logging synch
line vty 0 15
password cisco
login
service password-encryption
banner motd $ Authorized Users Only! $
vlan 3
name Management
vlan 4
name Operations
vlan 7
name ParkingLot
vlan 8
name Native
!vlan 13
! name Maintenance
interface vlan 3
ip address 10.3.0.11 255.255.255.0
no shut
exit
ip default-gateway 10.3.0.1
interface range f0/2-4, f0/7-24, G0/1-2
switchport mode access
switchport access vlan 7
shutdown
interface f0/1
switchport mode trunk
! switchport trunk native vlan 8
! switchport trunk allowed vlan add 3
switchport trunk allowed vlan 4,8,13
no shutdown
interface f0/6
switchport mode access
switchport access vlan 4
no shutdown
interface f0/5
switchport mode access
! default interface fa0/5
! switchport mode trunk
switchport trunk native vlan 8
! switchport trunk allowed vlan 3,4,8,13
switchport access vlan 3
no shut
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
end
Switch S2
enable
config terminal
hostname S2
no ip domain-lookup
enable secret class
line con 0
password cisco
login
logging synch
line vty 0 15
password cisco
login
service password-encryption
banner motd $ Authorized Users Only! $
vlan 3
name Management
vlan 4
name Operations
vlan 7
name ParkingLot
vlan 8
name Native
vlan 13
name Maintenance
interface vlan 3
ip address 10.3.0.12 255.255.255.0
no shut
interface range f0/2-17, f0/19-24, G0/1-2
switchport mode access
switchport access vlan 7
shutdown
interface f0/18
switchport mode access
switchport access vlan 13
interface f0/1
switchport mode trunk
switchport trunk native vlan 8
switchport trunk allowed vlan 4,8
! switchport trunk allowed vlan add 3,13
ip default-gateway 10.3.0.1
end
Your instructor has preconfigured all the network equipment and has included intentional errors that are
keeping the inter-VLAN routing from working. Your task is to evaluate the network and identify and correct the
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
configuration errors to restore full connectivity. You may find errors with the configurations which are not
directly related to inter-VLAN routing that impact the ability of the network devices to perform this function.
Note: The design approach used in this lab is to assess your ability to configure and troubleshoot inter-VLAN
routing only. This design may not reflect networking best practices.
Note: The router used with CCNA hands-on labs it the Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and reload devices
Required Resources
1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
2 PCs (Windows with a terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Ethernet cables as shown in the topology
Instructions
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
Router R1
R1# show run
Building configuration...
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
interface GigabitEthernet0/0/1.3
encapsulation dot1Q 3
ip address 10.3.0.1 255.255.255.0
!
interface GigabitEthernet0/0/1.4
encapsulation dot1Q 4
ip address 10.4.0.1 255.255.255.0
!
interface GigabitEthernet0/0/1.8
encapsulation dot1Q 8 native
!
interface GigabitEthernet0/0/1.13
encapsulation dot1Q 13
ip address 10.13.0.1 255.255.255.0
!
interface Serial0/1/0
no ip address
!
interface Serial0/1/1
no ip address
!
ip forward-protocol nd
no ip http server
ip http secure-server
!
control-plane
!
banner motd ^C Authorized Users Only! ^C
!
line con 0
password cisco
logging synchronous
login
transport input none
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password cisco
login
!
end
Switch S1
S1# show run
Building configuration...
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname S1
!
boot-start-marker
boot-end-marker
!
enable secret class
!
no aaa new-model
system mtu routing 1500
!
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport trunk native vlan 8
switchport trunk allowed vlan 3,4,8,13
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/3
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/4
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/5
switchport trunk native vlan 8
switchport trunk allowed vlan 3,4,8,13
switchport mode trunk
!
interface FastEthernet0/6
switchport access vlan 4
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
shutdown
!
interface FastEthernet0/17
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/18
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/19
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/20
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/21
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/22
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/23
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/24
switchport access vlan 7
switchport mode access
shutdown
!
interface GigabitEthernet0/1
switchport access vlan 7
switchport mode access
shutdown
!
interface GigabitEthernet0/2
switchport access vlan 7
switchport mode access
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
shutdown
!
interface Vlan1
no ip address
!
interface Vlan3
ip address 10.3.0.11 255.255.255.0
!
ip default-gateway 10.3.0.1
ip http server
ip http secure-server
!
banner motd ^C Authorized Users Only! ^C
!
line con 0
password cisco
logging synchronous
login
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
vlan 3
name Management
vlan 4
name Operations
vlan 7
name ParkingLot
vlan 8
name Native
vlan 13
name Maintenance
end
Switch S2
Building configuration...
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
!
boot-start-marker
boot-end-marker
!
enable secret class
!
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport trunk native vlan 8
switchport trunk allowed vlan 3,4,8,13
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/3
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/4
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/5
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/6
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/7
switchport access vlan 7
switchport mode access
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
shutdown
!
interface FastEthernet0/8
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/9
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/10
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/11
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/12
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/13
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/14
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/15
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/16
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/17
switchport access vlan 7
switchport mode access
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 14 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
shutdown
!
interface FastEthernet0/18
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/20
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/21
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/22
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/23
switchport access vlan 7
switchport mode access
shutdown
!
interface FastEthernet0/24
switchport access vlan 7
switchport mode access
shutdown
!
interface GigabitEthernet0/1
switchport access vlan 7
switchport mode access
shutdown
!
interface GigabitEthernet0/2
switchport access vlan 7
switchport mode access
shutdown
!
interface Vlan1
no ip address
!
interface Vlan3
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 15 of 16 www.netacad.com
Lab - Troubleshoot Inter-VLAN Routing
2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 16 of 16 www.netacad.com