SlideShare a Scribd company logo
VirtualLANs
Virtual LANs
written by
Ilias ahmed
VirtualLANsIntroduction to VLANs
 A VLAN (Virtual Local Area Network) is a logical
grouping of devices or users
 devices or users can be grouped by…
 Function
 Department
 Application
 Devices on a VLAN are restricted to only
communicating with devices that are on their own
VLAN
 Routers provide connectivity between different
VLAN segments
 Just as routers provide connectivity between different
LAN segments
VirtualLANsTraditional LAN Segmentation vs.
VLAN Segmentation
A VLAN is a group of ports or users in the same
broadcast domain.
VirtualLANsIntro to VLANs cont’d…
 Physically connecting or moving cables and equipment is
unnecessary when configuring VLANs.
VirtualLANsCommunication within VLANs
 VLANs logically segment the network into different
broadcast domains
 packets are only switched between ports that are
designated for the same VLAN
 A workstation in a VLAN group is restricted to
communicating with file servers or other
workstations in the same VLAN group.
VirtualLANsA Network without VLANs…
Uses one router
and three switches
Three separate
broadcast domains
VirtualLANsA Network with VLANs…
Uses one router
and one switch
Still three separate
broadcast domains
VirtualLANsFrame Forwarding in VLANs
 Implementing VLANs on a switch causes the
following to occur:
 The switch maintains a separate bridging table for each
VLAN
 If the frame comes in on a port in VLAN x, the switch
searches the bridging table for VLAN x.
 When the frame is received, the switch adds the source
address to the bridging table if it is currently unknown.
 The destination is checked so a forwarding decision
can be made.
 For learning and forwarding the search is made against
the address table for that VLAN only.
VirtualLANsHandling of Frames
 A bridge handles a frame…
 If the destination is on another segment, the
bridge forwards the frame ONLY to the correct
interface
 If the destination port is unknown, a bridge will
flood the frame to all ports in the broadcast
domain, except the source port
 If the destination of the frame is on the same
segment as the source, a bridge will not
forward the frame.
VirtualLANsVLAN Configuration
 Static vs. Dynamic VLAN configuration:
VirtualLANsStatic VLANs
 Static membership VLANs are called port-based and port-
centric membership VLANs
 As a device enters the network, it automatically assumes the
VLAN membership of the port to which it is attached
VirtualLANsDynamic VLANs
 Dynamic membership VLANs are created through
network management software
 CiscoWorks 2000 or CiscoWorks for Switched
Internetworks
 Dynamic VLANs allow for membership based on the
MAC address of the device connected to the switch
port; hosts join VLANS based on MAC/IP address
 As a device is connected to switch, it queries a
database server for a VLAN membership
VirtualLANsDynamic VLANs
VirtualLANsBenefits of VLANs
 Key benefit of VLANs is the ability to organize
a LAN logically, allowing administrators to…
 Easily move workstations on the LAN
 Easily add workstations to the LAN
 Easily change the LAN configuration
 Easily control network traffic
 Improve security
VirtualLANsEstablishing VLAN Membership
 There are three basic VLAN memberships for
determining and controlling how a packet gets
assigned:
 Port-based VLANs (attached ports)
 Maximizes forwarding performance
 MAC address based VLANs (physical address)
 Protocol based VLANs (layer 3/logical address)
VirtualLANsFrame Tagging
VirtualLANsIdentifying Frames through Frame Tagging
 Frame Tagging (frame identification) uniquely
assigns a user-defined ID to each frame
 There are two major methods of frame tagging
 Inter-Switch Link (ISL) (frame is lengthened)
 802.1Q (header is modified)
 ISL used to be the most common, but is now being
replaced by 802.1Q frame tagging
 A unique identifier is placed in the header of the
frame
 The ID is removed when frame exits the
backbone
VirtualLANsVLAN Configuration
 VLANs can exist either as end-to-end networks or they can exist
inside of geographic boundaries
 An end-to-end VLAN network comprises the following
characteristics:
 Users are grouped into VLANs independent of physical
location, but dependent on group or job function.
 All users in a VLAN should have the same 80/20 traffic flow
patterns (80 percent of the traffic is contained within the VLAN
and 20 percent of the traffic crosses the router to the
enterprise servers, Internet, or WAN)
 As a user moves around the campus, VLAN membership for
that user should not change.
 Each VLAN has a common set of security requirements for all
members.
VirtualLANsEnd-to-End VLANs
VirtualLANsGeographic VLANs
Today, users are required
to use many different
resources, many of which
are no longer in their
VLAN
Because of this shift in placement and
usage of resources, VLANs are now
more frequently being created around
geographic boundaries rather than
commonality boundaries (resulting in
a 20/80 traffic pattern)
VirtualLANsStatic VLAN Configuration
 The following guidelines must be followed when configuring
VLANs on Cisco 29xx switches:
 The maximum number of VLANs is switch dependent.
 VLAN 1 is one of the factory-default VLANs.
 VLAN 1 is the default Ethernet VLAN.
 Cisco Discovery Protocol (CDP) and VLAN Trunking Protocol (VTP)
advertisements are sent on VLAN 1.
 The Catalyst 29xx IP address is in the VLAN 1 broadcast domain by
default.
VirtualLANs
 Steps to create the VLAN: (A VLAN name may also
be configured)
 Switch#vlan database
Switch(vlan)#vlan vlan_number
Switch(vlan)#exit
 Upon exiting, the VLAN is applied to the switch. The
next step is to assign the VLAN to one or more
interfaces:
 Switch(config)#switchport mode access
 Switch(config)#interface fastethernet 0/9
 Switch(config-if)#switchport access vlan
vlan_number
Static VLAN Configuration
VirtualLANs
 Verify VLAN configuration by using the show
vlan, show vlan brief, or show vlan
id id_number commands.
 Note:
 A created VLAN remains unused until it is
mapped to switch ports.
 All Ethernet ports are on VLAN 1 by default.
Static VLAN Configuration
VirtualLANsAdding port to VLANs
 Commands to assign a new VLAN to a switch
port
VirtualLANs
Deleting port from VLANs
 Commands to remove a VLAN from a port:
Note: When a VLAN is deleted any ports assigned to that VLAN become
inactive. The ports will, however, remain associated with the deleted VLAN
until assigned to a new VLAN. So switch ports must be reassigned from
the deleted VLAN to the another VLAN if they are to be used
VirtualLANsVLAN Troubleshooting
VirtualLANsVLAN Troubleshooting –
Show Commands
 show vlan
 displays the VLAN information on the switch
 The display shows the VLAN ID, name, status, and
assigned ports.
 show vlan (keyword options and keyword)
 displays information about that VLAN on the router
 The show vlan command followed by the VLAN
number displays specific information about that VLAN
on the router
 Output from the command includes the VLAN ID, router
subinterface, and protocol information.
 show spanning-tree
 displays the spanning-tree topology known to the router
VirtualLANsVLAN Troubleshooting
VirtualLANs
THE END

More Related Content

PPTX
VLAN
ISMT College
 
PPTX
Vlans (virtual local area networks)
Kanishk Raj
 
PDF
vlan
Sunrise Dawn
 
PPTX
VLAN
Varsha Honde
 
PDF
CCNAv5 - S2: Chapter3 Vlans
Vuz Dở Hơi
 
PDF
Inter VLAN Routing
Netwax Lab
 
PPT
Vlan
sanss40
 
PPT
CCNA PPT
Reetesh Gupta
 
Vlans (virtual local area networks)
Kanishk Raj
 
CCNAv5 - S2: Chapter3 Vlans
Vuz Dở Hơi
 
Inter VLAN Routing
Netwax Lab
 
Vlan
sanss40
 
CCNA PPT
Reetesh Gupta
 

What's hot (20)

PPTX
Virtual LAN
Darshan Dalwadi
 
PPTX
Virtual LAN
Lilesh Pathe
 
PPTX
ccna networking ppt
Er. Anmol Bhagat
 
PDF
VLAN Trunking Protocol
Netwax Lab
 
PPT
Vlans
Mohan Kumaresan
 
PPTX
Software Defined Network - SDN
Venkata Naga Ravi
 
PDF
VRRP (virtual router redundancy protocol)
Netwax Lab
 
PDF
Virtual Local Area Network (VLAN)
Mohammad Javad Abdolmaleki
 
PPTX
5 IEEE standards
Rodgers Moonde
 
PDF
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 
PPTX
Unicast multicast & broadcast
NetProtocol Xpert
 
PPTX
Software Defined Networks
Shreeya Shah
 
PPTX
Mobile ipv6
Paras Jha
 
PPTX
Dhcp ppt
Hema Dhariwal
 
PPTX
6 understanding DHCP
Hameda Hurmat
 
PPT
SS7 & SIGTRAN
Stephanie Galloway-Williams
 
PPT
ospf routing protocol
Ameer Agel
 
PPTX
Dhcp
Chinmoy Jena
 
PPT
Collision & broadcast domain
NetProtocol Xpert
 
Virtual LAN
Darshan Dalwadi
 
Virtual LAN
Lilesh Pathe
 
ccna networking ppt
Er. Anmol Bhagat
 
VLAN Trunking Protocol
Netwax Lab
 
Software Defined Network - SDN
Venkata Naga Ravi
 
VRRP (virtual router redundancy protocol)
Netwax Lab
 
Virtual Local Area Network (VLAN)
Mohammad Javad Abdolmaleki
 
5 IEEE standards
Rodgers Moonde
 
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 
Unicast multicast & broadcast
NetProtocol Xpert
 
Software Defined Networks
Shreeya Shah
 
Mobile ipv6
Paras Jha
 
Dhcp ppt
Hema Dhariwal
 
6 understanding DHCP
Hameda Hurmat
 
ospf routing protocol
Ameer Agel
 
Collision & broadcast domain
NetProtocol Xpert
 
Ad

Similar to Vlan (20)

PPT
Mod8 vlans
Mohan Kumaresan
 
PPTX
Vla ns
UDLA
 
PDF
Vlan.pdf
itwkd
 
PPT
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
MR. VIKRAM SNEHI
 
PPT
mod8-VLANs.ppt
SAROORNAGARCMCORE
 
PPTX
VIRTUAL LANS (VLANS).pptx
KISHOYIANKISH
 
PPTX
vlansvirtuallocalareanetworks-160521034012.pptx
azkamurat
 
PPTX
VLAN (Virtual Local Area Network) Full details.pptx
Vignesh kumar
 
PPT
4270 vlan-tutorial
jagacisco
 
PPT
4270-vlan-tutorial.ppt
JordanJohmMallillin
 
PPT
Vlan final
Veena Rao
 
PPT
Virtual local area network
Veena Rao
 
DOCX
Virtual lan
Abhishek Kesharwani
 
PDF
Benefits of vlan
Logitrain
 
PDF
Vlans
Ezio Valencia
 
PPTX
VLANS Routing and Protocols Chapter 12 of Routing
RodgersA
 
ODP
Routing vlans
Morten Nielsen
 
PPTX
Week 9 VLAN, SISTIM INFORMASI MANAGEMEN
Setyady Peace
 
Mod8 vlans
Mohan Kumaresan
 
Vla ns
UDLA
 
Vlan.pdf
itwkd
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
MR. VIKRAM SNEHI
 
mod8-VLANs.ppt
SAROORNAGARCMCORE
 
VIRTUAL LANS (VLANS).pptx
KISHOYIANKISH
 
vlansvirtuallocalareanetworks-160521034012.pptx
azkamurat
 
VLAN (Virtual Local Area Network) Full details.pptx
Vignesh kumar
 
4270 vlan-tutorial
jagacisco
 
4270-vlan-tutorial.ppt
JordanJohmMallillin
 
Vlan final
Veena Rao
 
Virtual local area network
Veena Rao
 
Virtual lan
Abhishek Kesharwani
 
Benefits of vlan
Logitrain
 
VLANS Routing and Protocols Chapter 12 of Routing
RodgersA
 
Routing vlans
Morten Nielsen
 
Week 9 VLAN, SISTIM INFORMASI MANAGEMEN
Setyady Peace
 
Ad

More from ilias ahmed (20)

DOCX
We need parallel or series connections of n mos and pmos with a nmos source t...
ilias ahmed
 
PPTX
Android development-tutorial
ilias ahmed
 
PPSX
Signle assignmentforbciit
ilias ahmed
 
PPTX
Compiler design lab
ilias ahmed
 
PPTX
Labreportofai
ilias ahmed
 
DOCX
Ailabreport
ilias ahmed
 
PPT
artificial intelligence
ilias ahmed
 
PPSX
Compiler designs presentation final
ilias ahmed
 
PPSX
Compiler designs presentation by group 2 final final
ilias ahmed
 
PPT
Assmemble langauge for slideshare.net
ilias ahmed
 
DOCX
Phpfundamnetalfromtutplus
ilias ahmed
 
DOCX
Assignment complier design (GROUP1)
ilias ahmed
 
DOCX
Lisp programming
ilias ahmed
 
DOCX
Lispprograaming excercise
ilias ahmed
 
PPTX
Assembly lab up to 6 up (1)
ilias ahmed
 
PDF
Event design
ilias ahmed
 
PPT
Data communications
ilias ahmed
 
PPSX
Microprocessor projec ts
ilias ahmed
 
PPSX
Oop features java presentationshow
ilias ahmed
 
RTF
Sql functions
ilias ahmed
 
We need parallel or series connections of n mos and pmos with a nmos source t...
ilias ahmed
 
Android development-tutorial
ilias ahmed
 
Signle assignmentforbciit
ilias ahmed
 
Compiler design lab
ilias ahmed
 
Labreportofai
ilias ahmed
 
Ailabreport
ilias ahmed
 
artificial intelligence
ilias ahmed
 
Compiler designs presentation final
ilias ahmed
 
Compiler designs presentation by group 2 final final
ilias ahmed
 
Assmemble langauge for slideshare.net
ilias ahmed
 
Phpfundamnetalfromtutplus
ilias ahmed
 
Assignment complier design (GROUP1)
ilias ahmed
 
Lisp programming
ilias ahmed
 
Lispprograaming excercise
ilias ahmed
 
Assembly lab up to 6 up (1)
ilias ahmed
 
Event design
ilias ahmed
 
Data communications
ilias ahmed
 
Microprocessor projec ts
ilias ahmed
 
Oop features java presentationshow
ilias ahmed
 
Sql functions
ilias ahmed
 

Recently uploaded (20)

PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
Software Testing Tools - names and explanation
shruti533256
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PDF
Introduction to Data Science: data science process
ShivarkarSandip
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
Software Testing Tools - names and explanation
shruti533256
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
settlement FOR FOUNDATION ENGINEERS.pdf
Endalkazene
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
Introduction to Data Science: data science process
ShivarkarSandip
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Zero Carbon Building Performance standard
BassemOsman1
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
MSME 4.0 Template idea hackathon pdf to understand
alaudeenaarish
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 

Vlan

  • 2. VirtualLANsIntroduction to VLANs  A VLAN (Virtual Local Area Network) is a logical grouping of devices or users  devices or users can be grouped by…  Function  Department  Application  Devices on a VLAN are restricted to only communicating with devices that are on their own VLAN  Routers provide connectivity between different VLAN segments  Just as routers provide connectivity between different LAN segments
  • 3. VirtualLANsTraditional LAN Segmentation vs. VLAN Segmentation A VLAN is a group of ports or users in the same broadcast domain.
  • 4. VirtualLANsIntro to VLANs cont’d…  Physically connecting or moving cables and equipment is unnecessary when configuring VLANs.
  • 5. VirtualLANsCommunication within VLANs  VLANs logically segment the network into different broadcast domains  packets are only switched between ports that are designated for the same VLAN  A workstation in a VLAN group is restricted to communicating with file servers or other workstations in the same VLAN group.
  • 6. VirtualLANsA Network without VLANs… Uses one router and three switches Three separate broadcast domains
  • 7. VirtualLANsA Network with VLANs… Uses one router and one switch Still three separate broadcast domains
  • 8. VirtualLANsFrame Forwarding in VLANs  Implementing VLANs on a switch causes the following to occur:  The switch maintains a separate bridging table for each VLAN  If the frame comes in on a port in VLAN x, the switch searches the bridging table for VLAN x.  When the frame is received, the switch adds the source address to the bridging table if it is currently unknown.  The destination is checked so a forwarding decision can be made.  For learning and forwarding the search is made against the address table for that VLAN only.
  • 9. VirtualLANsHandling of Frames  A bridge handles a frame…  If the destination is on another segment, the bridge forwards the frame ONLY to the correct interface  If the destination port is unknown, a bridge will flood the frame to all ports in the broadcast domain, except the source port  If the destination of the frame is on the same segment as the source, a bridge will not forward the frame.
  • 10. VirtualLANsVLAN Configuration  Static vs. Dynamic VLAN configuration:
  • 11. VirtualLANsStatic VLANs  Static membership VLANs are called port-based and port- centric membership VLANs  As a device enters the network, it automatically assumes the VLAN membership of the port to which it is attached
  • 12. VirtualLANsDynamic VLANs  Dynamic membership VLANs are created through network management software  CiscoWorks 2000 or CiscoWorks for Switched Internetworks  Dynamic VLANs allow for membership based on the MAC address of the device connected to the switch port; hosts join VLANS based on MAC/IP address  As a device is connected to switch, it queries a database server for a VLAN membership
  • 14. VirtualLANsBenefits of VLANs  Key benefit of VLANs is the ability to organize a LAN logically, allowing administrators to…  Easily move workstations on the LAN  Easily add workstations to the LAN  Easily change the LAN configuration  Easily control network traffic  Improve security
  • 15. VirtualLANsEstablishing VLAN Membership  There are three basic VLAN memberships for determining and controlling how a packet gets assigned:  Port-based VLANs (attached ports)  Maximizes forwarding performance  MAC address based VLANs (physical address)  Protocol based VLANs (layer 3/logical address)
  • 17. VirtualLANsIdentifying Frames through Frame Tagging  Frame Tagging (frame identification) uniquely assigns a user-defined ID to each frame  There are two major methods of frame tagging  Inter-Switch Link (ISL) (frame is lengthened)  802.1Q (header is modified)  ISL used to be the most common, but is now being replaced by 802.1Q frame tagging  A unique identifier is placed in the header of the frame  The ID is removed when frame exits the backbone
  • 18. VirtualLANsVLAN Configuration  VLANs can exist either as end-to-end networks or they can exist inside of geographic boundaries  An end-to-end VLAN network comprises the following characteristics:  Users are grouped into VLANs independent of physical location, but dependent on group or job function.  All users in a VLAN should have the same 80/20 traffic flow patterns (80 percent of the traffic is contained within the VLAN and 20 percent of the traffic crosses the router to the enterprise servers, Internet, or WAN)  As a user moves around the campus, VLAN membership for that user should not change.  Each VLAN has a common set of security requirements for all members.
  • 20. VirtualLANsGeographic VLANs Today, users are required to use many different resources, many of which are no longer in their VLAN Because of this shift in placement and usage of resources, VLANs are now more frequently being created around geographic boundaries rather than commonality boundaries (resulting in a 20/80 traffic pattern)
  • 21. VirtualLANsStatic VLAN Configuration  The following guidelines must be followed when configuring VLANs on Cisco 29xx switches:  The maximum number of VLANs is switch dependent.  VLAN 1 is one of the factory-default VLANs.  VLAN 1 is the default Ethernet VLAN.  Cisco Discovery Protocol (CDP) and VLAN Trunking Protocol (VTP) advertisements are sent on VLAN 1.  The Catalyst 29xx IP address is in the VLAN 1 broadcast domain by default.
  • 22. VirtualLANs  Steps to create the VLAN: (A VLAN name may also be configured)  Switch#vlan database Switch(vlan)#vlan vlan_number Switch(vlan)#exit  Upon exiting, the VLAN is applied to the switch. The next step is to assign the VLAN to one or more interfaces:  Switch(config)#switchport mode access  Switch(config)#interface fastethernet 0/9  Switch(config-if)#switchport access vlan vlan_number Static VLAN Configuration
  • 23. VirtualLANs  Verify VLAN configuration by using the show vlan, show vlan brief, or show vlan id id_number commands.  Note:  A created VLAN remains unused until it is mapped to switch ports.  All Ethernet ports are on VLAN 1 by default. Static VLAN Configuration
  • 24. VirtualLANsAdding port to VLANs  Commands to assign a new VLAN to a switch port
  • 25. VirtualLANs Deleting port from VLANs  Commands to remove a VLAN from a port: Note: When a VLAN is deleted any ports assigned to that VLAN become inactive. The ports will, however, remain associated with the deleted VLAN until assigned to a new VLAN. So switch ports must be reassigned from the deleted VLAN to the another VLAN if they are to be used
  • 27. VirtualLANsVLAN Troubleshooting – Show Commands  show vlan  displays the VLAN information on the switch  The display shows the VLAN ID, name, status, and assigned ports.  show vlan (keyword options and keyword)  displays information about that VLAN on the router  The show vlan command followed by the VLAN number displays specific information about that VLAN on the router  Output from the command includes the VLAN ID, router subinterface, and protocol information.  show spanning-tree  displays the spanning-tree topology known to the router