Back
Lab 02Packet Tracer Challenge
Inter-VLAN Routing Challenge
Routing & VLANs
Goal
Build VLANs, trunking and router-on-a-stick from scratch in Packet Tracer from the provided topology, then verify inter-VLAN connectivity.
VLANPacket TracerScored ActivityTrunkdot1Q
1
Inter-VLAN Routing Challenge
Build VLANs, trunking and router-on-a-stick from scratch in Packet Tracer from the provided topology, then verify inter-VLAN connectivity.
2
Routing & VLANs
Scoring Checklist
3
1) VLANs 10, 20, 30 created with correct names on BOTH switches. 2) Access ports assigned to the correct VLANs (PC placement per the topology). 3) Trunk ports configured on router-to-switch and switch-to-switch links. 4) Router subinterfaces created with matching encapsulation dot1Q and IPs from the address table. 5) PCs have correct IPs + gateway. 6) Final verification: pings between hosts in different VLANs succeed.
R1#
! VLANs + access ports (per switch)
vlan 10
name <name-from-lab>
vlan 20
name <name-from-lab>
vlan 30
name <name-from-lab>
interface <access-port>
switchport mode access
switchport access vlan <n>
! Trunks
interface g0/1
switchport mode trunk
switchport trunk allowed vlan 10,20,30
! Subinterfaces
interface g0/0/1
no shutdown
interface g0/0/1.10
encapsulation dot1Q 10
ip address <gw10> <mask>
interface g0/0/1.20
encapsulation dot1Q 20
ip address <gw20> <mask>
interface g0/0/1.30
encapsulation dot1Q 30
ip address <gw30> <mask>4
Recommended Order
1) Read the address table; write down every IP and VLAN-to-port mapping. 2) Configure the PCs first (fastest way to lock in addressing). 3) Create VLANs on both switches and assign access ports. 4) Configure trunk ports. 5) Configure router subinterfaces. 6) Test with pings.
R1#
show vlan brief
show interfaces trunk
show ip interface brief