Lab 11‐3: VLANs in Packet Tracer - Isaiah-River/NET-215-Network-Protocols GitHub Wiki

Main Lab

Overview

For this lab I worked in packet tracer to create VLANs. Objectives:

  • Familiarize myself creating VLANs in packet tracer

Part 1 - Separate VLANs

In this scenario, the VLANS are for physically distinct units that are separated and housed in various office areas within an organization, with three of the nodes already configured for me. I began by defining the Admin vlan on the switch by going to the Central Switch and then the Config tab. I then clicked on the VLAN database, and created vlan 30 and labeled it Admin.

image

Next, I assigned VLAN 30 (Admin) to a port on the switch by going to FastEthernet 0/15 and changing it to VLAN 30.

image

I then hooked up the Admin switch to the Central switch using a crossover cable, I connected port 24 on the Admin switch and port 15 on the Central Switch.

image

After this I added two PCs to the network configuring their gateway address, IP addresses, and netmasks. I then hooked them up to the Admin switch.

image

After this I pinged from different VLANs to show that they will not communicate but I am able to communicate across admin1 and admin2.

image

Part 2 - Distributed VLANs

In this scenario, the VLANS exist in the same geographic location. I began by pinging from faculty to faculty computers, and student to student computers, and the finally a student to faculty computer, to show that when the VLANs are configured only computers on the same VLAN will be able to communicate with each other. This is because the VLANs are defined as VLANS 30 (faculty) and 40 (student), and The switches are connected via trunk ports.

image

I then took a look at the Joyce switch, noting that each of ports are set to their appropriate VLAN, and that the port connecting Joyce to the central switch is using a trunk port, allowing it to communicate with the other switches.

image

After analyzing this switch, I went to configure the Foster switch in the same way. I created to VLAN entries in the VLAN database, setting the VLAN number of students to 40, and the VLAN number of faculty to 30. I then configured port 0/1 to use the faculty VLAN, and port 0/2 to use the student VLAN. Finally I went to port 0/24 and configured it as a trunk port with a range containing my VLANs. I then hooked up these accordingly with wiring. I then configured the student PC with an address of 216.93.140.5, a subnet of 255.255.255.128, and a default gateway of 216.93.140.1. For the faculty PC I set it with an address of 216.93.140.133, a subnet of 255.255.255.192, and a default gateway of 216.93.140.129. When I completed this, all VLANs were able to communicate within their VLAN and not outside. I then pinged the faculty computer on Wick's switch from the faculty computer on Foster.

image