4.3.8 Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
4.3.8 Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
Addressing Table
Device Interface IP Address / Prefix
MLS
VLAN 20 192.168.20.254 /24
MLS
VLAN 20
2001:db8:acad:20::1/64
MLS
VLAN 30 192.168.30.254/24
MLS
VLAN 30
2001:db8:acad:30::1/64
MLS
VLAN 99 192.168.99.254/24
MLS
G0/2 209.165.200.225
MLS
G0/2
2001:db8:acad:a::1/64
PC0 NIC 192.168.10.1
PC1 NIC 192.168.20.1
PC2 NIC 192.168.30.1
PC3 NIC 192.168.10.2/24
PC3 NIC
2001:db8:acad:10::2/64
PC4 NIC 192.168.20.2/24
PC4 NIC
2001:db8:acad:20::2/64
PC5 NIC 192.168.30.2
PC5 NIC
2001:db8:acad:10::2/64
S1 VLAN 99 192.168.99.1
S2 VLAN 99 192.168.99.2
S3 VLAN 99 192.168.99.3
Objectives
Part 1: Configure Layer 3 Switching
Part 2: Configure Inter-VLAN Routing
Part 3: Configure IPv6 Inter-VLAN Routing
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 6 www.netacad.com
Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
Background / Scenario
A multilayer switch like the Cisco Catalyst 3650 is capable of both Layer 2 switching and Layer 3 routing. One
of the advantages of using a multilayer switch is this dual functionality. A benefit for a small to medium-sized
company would be the ability to purchase a single multilayer switch instead of separate switching and routing
network devices. Capabilities of a multilayer switch include the ability to route from one VLAN to another
using multiple switched virtual interfaces (SVIs), as well as the ability to convert a Layer 2 switchport to a
Layer 3 interface.
Instructions
Part 1: Configure Layer 3 Switching
In Part 1, you will configure the GigabitEthernet 0/2 port on switch MLS as a routed port and verify that you
can ping another Layer 3 address.
a. On MLS, configure G0/2 as a routed port and assign an IP address according to the Addressing Table.
Open configuration window
Add VLANs to MLS according to the table below. Packet Tracer scoring is case-sensitive, so type the names
exactly as shown.
10 Staff
20 Student
30 Faculty
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 6 www.netacad.com
Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
a. Use the show ip route command. Are there any active routes?
Type your answers here.
No.
b. Enter the ip routing command to enable routing in global configuration mode.
MLS(config)# ip routing
c. Use the show ip route command to verify routing is enabled.
MLS# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 6 www.netacad.com
Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
Enter the ipv6 unicast-routing command to enable IPv6 routing in global configuration mode.
MLS(config)# ipv6 unicast-routing
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 6 www.netacad.com
Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
Script
MLS
enable
config t
ip routing
ipv6 unicast-routing
interface GigabitEthernet0/1
switchport trunk native vlan 999
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/2
no switchport
ip address 209.165.200.225 255.255.255.252
ipv6 address 2001:DB8:ACAD:A::1/64vlan 10
name Staff
vlan 20
name Student
vlan 30
name Faculty
interface Vlan10
ip address 192.168.10.254 255.255.255.0
ipv6 address 2001:DB8:ACAD:10::1/64
no shutdown
interface Vlan20
ip address 192.168.20.254 255.255.255.0
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 6 www.netacad.com
Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing
S1
enable
conf t
int g0/1
switchport mode trunk
switchport trunk native vlan 99
end
2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 6 www.netacad.com