0% found this document useful (0 votes)
16 views

VLAN Configuration

The document discusses how to configure VLANs on switches to logically separate devices into broadcast domains even if they are connected to the same physical switch. It provides examples of configuring VLANs with different port assignments and IP addresses to act as separate networks. The document also outlines some commands to configure VLANs through the switch's command line interface.

Uploaded by

nalacet162
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

VLAN Configuration

The document discusses how to configure VLANs on switches to logically separate devices into broadcast domains even if they are connected to the same physical switch. It provides examples of configuring VLANs with different port assignments and IP addresses to act as separate networks. The document also outlines some commands to configure VLANs through the switch's command line interface.

Uploaded by

nalacet162
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

VLAN Configuration

Lab CSE – 234 Computer Networks Lab


22/04/2024 (Mon)

Umme Rumman Md. Arshad Wasif


Assistant Professor Lecturer
Varendra University, Rajshahi Varendra University, Rajshahi
Virtual LANs

3 Collision domains
3 Broadcast domains

If we want to move computers from group1 to group3, then rewiring


(physical replacement) has to be done
What is the alternative solution??
VLAN: Virtual (logical) Local Area Network : Local
Area Network configured by software not by physical
wiring
Figure A switch using VLAN software

VLAN1: Ports 1,2,5,7


1 2 3 4 5 6 7 8 9 10
VLAN2: Ports 3,4,6
VLAN3: Ports 8,9,10
Separate broadcast domain 
separate network

Using the Virtual LAN technology will allow grouping


computers logically instead of physically.
VLAN divides the physical LAN into several Logical LANs
called VLANs
 Switch maintains a look up table to know to which LAN a
machine belongs to.
Figure Two switches in a backbone using VLAN software
Advantages Of VLAN
• Reduce cost and installation time:
• Instead of physically moving a station to another segment or another
switch, it can be moved by software.
• Increase security:
• A group of users needing a high security can be put into a VLAN so
that NO users outside the VLAN can communicate with them.
• Stations belong to the same group can send broadcast messages that
will NOT be received by users in others VLAN groups
• Creating Virtual Workgroups
• Stations located at physically different locations can be added easily to
the same broadcast domain so that they can send broadcast messages to
one another.
• EXAMPLE: people from different departments working on the same
project
Simple VLAN
Configuration with
Star Topology
• Necessary Components:
• Switch
• Several end devices
• Copper Straight through connection
• IP Configuration
How does VLAN
create multiple
sub-networks
• Observe carefully how the
marked portion of VLAN are
numbered.
Command Line Interface

name
enable conf t vlan 2
office

name
exit vlan 3 exit
home
Command Line Interface

• interface fastEthernet 0/1 • interface fastEthernet 0/2


• switchport access vlan 2 • switchport access vlan 2
• exit • exit
Command Line Interface

• interface fastEthernet 0/3 • interface fastEthernet 0/3


• switchport access vlan 3 • switchport access vlan 3
• exit • exit
Assignment
1. Working Procedure of VLAN
2. Task-1:
Configure 1 VLAN for 4 different departments: CSE, EEE,
BBA, Pharmacy and show message passing through the
network.
Task-2:
Configure 4 VLANs for 4 different departments: CSE, EEE,
BBA, Pharmacy and show VLAN property through message
passing.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy