Lab 11 2: VLANs in Packet Tracer Part 2 - Hsanokklis/2022-2023-Tech-journal GitHub Wiki
Objective: Demonstrate understanding of VLAN uses and limitations and simple configuration of routing between VLANs
Goals:
- Configure inter-vlan routing on a multi-layer switch
- Research what is router on a stick
- How to implement router on a stick in Packet Tracer
At the end of Lab 11-1, PC's on the same VLAN should be able to ping each other. But, without a router acting as the default gateway for each of the VLANs/subnets - the PC's cannot ping PC's on different VLANs.
To fix that, you will need to configure the router. This concept is router on a stick. You will need to create sub-interfaces on a router for your VLANS. These are virtual interfaces and on each sub-interface you can configure an IP address.
1. On 3rd Floor Switch Only:
- Go to Config Tab GigabitEthernet0/1 and change to Trunk
2. Connect Router interface FastEthernet0/0 to GigabitEthernet0/2 on 3rd Floor Switch using a straight-through cable
3. Define the VLANs on the Router as you did on the switches
4. configure the sub-interfaces on the router
I used the code from this link to configure the router https://www.packettracerlab.com/router-on-a-stick-configuration/
5. There is an error in the router configuration for the vlan 10 sub which is as follows. There should NOT be a native at the end of the encapsulation.
Successful pings across VLANs!