Ioe CN Lab 3
Ioe CN Lab 3
INSTITUTE OF ENGINEERING
THAPATHALI CAMPUS
A Lab Report
Of
Computer Network and Security
On
Virtual LAN Configuration
Submitted By:
Rishav Subedi (THA076BCT036)
Submitted To:
Department of Electronics and Computer Engineering
Thapathali Campus
Kathmandu, Nepal
Benefits of VLANs:
a. Enhanced Security: VLANs can be used to separate sensitive data and restrict
access between VLANs, thereby reducing the risk of unauthorized access and data
breaches.
VLAN Types:
a. Port-Based VLANs:
Devices are assigned to VLANs based on the physical switch port to which they
are connected. All devices connected to the same port belong to the same VLAN.
c. Protocol-Based VLANs:
Devices are assigned to VLANs based on the protocols used in network traffic. For
example, all IP traffic (IPv4 or IPv6) can be assigned to a specific VLAN.
Implementation:
This lab was implemented using cisco packet tracer using the following steps:
In above figure, PC0 and PC1 are under same VLAN BCT and PC2 and PC3 are
under same VLAN BEI.
Results:
Two VLANs, BCT and BEI, were successfully created on the Cisco switch.
PC0 and PC1 were assigned to VLAN BCT, while PC2 and PC3 were assigned to
VLAN BEI. IP addresses were configured for each PC within their respective
VLANs. Connectivity was tested, confirming that PCs within the same VLAN
could communicate with each other but not with PCs in the other VLAN.
Communication between PC0 and PC1 is successful as they are under the same
VLAN.
Communication between the PC0 and PC3 is not successful as they are under
different VLAN.
Conclusion:
The lab demonstrated the successful configuration of Virtual LANs (VLANs)
using Cisco Packet Tracer. VLANs provided logical segmentation of the network,
improving performance and enhancing security. By isolating traffic between
VLANs, communication within each VLAN was efficient and secure. This hands-
on experience deepened the understanding of VLAN configuration and its
advantages in network management.