Practical Lab 8
Practical Lab 8
Practical Lab 8
Practical Lab 8
Addressing Table
Default
Device Interface IP Address Subnet Mask
Gateway
R1 F0/1.99 192.168.1.1 255.255.255.0 N/A
F0/1.10 192.168.10.1 255.255.255.0 N/A
F0/1.20 192.168.20.1 255.255.255.0 N/A
Lo0 209.165.200.22 255.255.255.224 N/A
5
S1 VLAN 99 192.168.1.11 255.255.255.0 192.168.1.1
S2 VLAN 99 192.168.1.12 255.255.255.0 192.168.1.1
PC-A NIC 192.168.10.3 255.255.255.0 192.168.10.1
PC-B NIC 192.168.20.3 255.255.255.0 192.168.20.1
Switch Port Assignment Specifications
Ports Assignment Network
Background / Scenario
A second method of providing routing and connectivity for multiple VLANs is through the use of an
802.1Q trunk between one or more switches and a single router interface. This method is also known as
router-on-astick inter-VLAN routing. In this method, the physical router interface is divided into multiple
subinterfaces that provide logical pathways to all VLANs connected.
In this lab, you will configure trunk-based inter-VLAN routing and verify connectivity to hosts on different
VLANs as well as with a loopback on the router.
Note: This lab provides minimal assistance with the actual commands necessary to configure trunk-
based inter-VLAN routing. However, the required configuration commands are provided in Appendix A
of this lab. Test your knowledge by trying to configure the devices without referring to the appendix.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs)
with Cisco IOS, Release 15.2(4)M3 (universalk9 image). The switches used are Cisco Catalyst 2960s
with Cisco IOS, Release 15.0(2) (lanbasek9 image). Other routers, switches and Cisco IOS versions can
be used.
© 2020 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Depending on the model and Cisco IOS version, the commands available and 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: Make sure that the routers and switches have been erased and have no startup configurations. If
you are unsure, contact your instructor.
Required Resources
• 1 Router (Cisco 1941 with Cisco IOS, release 15.2(4)M3 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS, release 15.0(2) lanbasek9 image or comparable)
• 2 PCs (Windows 7, Vista, or XP with 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
© 2020 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
S2(config)# vlan 10
S2(config-vlan)# name Students
S2(config-vlan)# vlan 20
S2(config-vlan)# name Faculty
S2(config)# interface f0/1
S2(config-if)# switchport mode trunk
S2(config-if)# switchport trunk native vlan 99
S2(config-if)# switchport trunk allowed vlan 10,20,99
S2(config-if)# interface f0/18
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
© 2020 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Switch S2
S2(config)# vlan 10
S2(config-vlan)# name Students
S2(config-vlan)# vlan 20
S2(config-vlan)# name Faculty
S2(config)# interface f0/1
S2(config-if)# switchport mode trunk
S2(config-if)# switchport trunk native vlan 99
S2(config-if)# switchport trunk allowed vlan 10,20,99
S2(config-if)# interface f0/18
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
Router R1
R1(config)# interface f0/1.99
R1(config-subif)# encapsulation dot1Q 99 native
R1(config-subif)# ip address 192.168.1.1 255.255.255.0
R1(config-subif)# interface f0/1.10
R1(config-subif)# encapsulation dot1Q 10
R1(config-subif)# ip address 192.168.10.1 255.255.255.0
R1(config-subif)# interface f0/1.20
R1(config-subif)# encapsulation dot1Q 20
R1(config-subif)# ip address 192.168.20.1 255.255.255.0
R1(config-subif)# exit
© 2020 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
© 2020 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.