Practical 5: Aim: Implement The Concept of VLAN Using Network Simulator
Practical 5: Aim: Implement The Concept of VLAN Using Network Simulator
[220760116065]
PRACTICAL 5
AIM: Implement the concept of VLAN using Network
Simulator.
What is VLAN?
Virtual LAN (VLAN) is a concept in which we can divide the devices logically on layer 2 (data
link layer). Generally, layer 3 devices divide the broadcast domain but the broadcast domain can
be divided by switches using the concept of VLAN.
A broadcast domain is a network segment in which if a device broadcast a packet then all the
devices in the same broadcast domain will receive it. The devices in the same broadcast domain
will receive all the broadcast packets but it is limited to switches only as routers don’t forward out
the broadcast packet. To forward out the packets to different VLAN (from one VLAN to another)
or broadcast domains, inter Vlan routing is needed. Through VLAN, different small-size sub-
networks are created which are comparatively easy to handle.
We need VLANs to enhance network efficiency, security, and management. VLANs allow for the
logical segmentation of a network into distinct broadcast domains, which reduces network
congestion by limiting broadcast traffic to only those devices within the same VLAN.
This segmentation improves performance and simplifies network management by grouping devices
based on their function or department, irrespective of their physical location. VLANs also bolster
security by isolating sensitive data and critical systems, reducing the risk of unauthorized access and
containment of potential security breaches.
Additionally, VLANs provide flexibility in network design, making it easier to adapt and scale the
network infrastructure as organizational needs evolve.
37
Computer Networks[3150710] Tejani Smit H.[220760116065]
Step 3: connect switch and end devices with help of connection wire.
38
Computer Networks[3150710] Tejani Smit H.[220760116065]
39
Computer Networks[3150710] Tejani Smit H.[220760116065]
Advantages of VLAN
Improved Network Segmentation: VLANs reduce congestion and enhance performance by
isolating broadcast traffic.
Enhanced Security: VLANs restrict access and contain breaches by isolating sensitive data.
Simplified Network Management: VLANs allow flexible grouping and easier configuration
of network resources.
Reduced Broadcast Traffic: VLANs limit broadcast domains, decreasing network
congestion.
Cost Savings: VLANs optimize existing hardware usage, reducing the need for additional
physical infrastructure.
Scalability: VLANs facilitate network expansion and reconfiguration without physical
changes.
Disadvantages of VLAN
Complex Configuration: Setting up and managing VLANs can be intricate and require
careful planning.
Increased Latency: Inter-VLAN communication involves routing, which can introduce
additional delays.
Security Risks: Misconfiguration and VLAN hopping can pose security challenges if not
properly managed.
Complex Troubleshooting: Diagnosing issues can be complicated due to the isolation of
broadcast domains.
Device Compatibility: Some older devices may not fully support VLAN features, causing
potential integration issues.
40