SlideShare a Scribd company logo
1 of 18
Download to read offline
VIRTUAL LANS
By
Anil Kumar Vishwakarma
MCA,MCTS,CCNA
OVERVIEW
 VLAN Basics
 VLAN Types
 Identifying VLANs
 VLAN Trunking Protocol
 Routing between VLANs
 Configuring VLANs
VLAN BASICS
 A VLAN is a group of network services not
restricted to a physical segment or LAN switch.
 Configuration or reconfiguration of VLANs is
done through software.
 VLANs increase overall network performance by
logically grouping users and resources together.
 VLANs are powerful tools for network
administrators.
 A group of users needing high security can be put
into a VLAN so that no users outside of the
VLAN can communicate with them.
VLAN
VLAN TYPES
 Static VLANs:
 The switch port that you assign a VLAN association
to always maintains that association until an
administrator manually changes that port
assignment.
 Dynamic VLANs:
 Are created through network management software.
 CiscoWorks 2000 or CiscoWorks for Switched
Internetworks is used to create Dynamic VLANs.
 Allow for membership based on the MAC address of
the device connected to the switch port.
IDENTIFYING VLANS
 There are two different types of links in a switched
environment:
 Access links: This type of link is only part of one VLAN.
 Trunk links: Trunks can carry multiple VLANs and originally
gained their name after system trunks that carry multiple
VLANS. A trunk link is a 100- or 1000Mbps point-to-point link
between two switches, between a switch and router,
IDENTIFYING VLANS
 Frame Tagging:
 You can create your VLANs to span more than one connected
switch.
 There needs to be a way for each one to keep track of all the users
and frames as they travel the switch fabric and VLANs.
 Switch fabric is basically a group of switches sharing the same
VLAN information.
 The solution is Frame tagging. This method uniquely assigns a
VLAN ID to each frame.
 VLAN Identification Methods
•Proprietary to Cisco switches, and it’s used for Fast Ethernet
and Gigabit Ethernet links only.
•ISL routing can be used on a switch port and router
interfaces.
Inter-
Switch
Link
(ISL)
• Standard method of frame tagging.
•If you’re trunking between a Cisco switched link and a
different brand of switch, you have to use 802.1Q for the
trunk to work.
IEEE
802.1Q
VLAN TRUNKING PROTOCOL
 The basic goals of VLAN Trunking Protocol (VTP)
are to manage all configured VLANs across a
switched internetwork.
 Here’s a list of some of the benefits VTP has to
offer:
 Consistent VLAN configuration across all
switches in the network.
 VLAN trunking over mixed networks.
 Accurate tracking and monitoring of VLANs.
 Dynamic reporting of added VLANs to all
switches in the VTP domain.
VTP MODES OF OPERATION
•This is the default for all Catalyst switches.
•You need at least one server in your VTP domain to
propagate VLAN information throughout the domain.
•The switch must be in server mode to be able to create,
add, or delete VLANs in a VTP domain.
•Changing VTP information must also be done in server
mode, and any change made to a switch in server mode will
be advertised to the entire VTP domain.
Server
•In client mode, switches receive information from VTP
servers, and they also send and receive updates.
• Can’t make any changes.
Client
•Don’t participate in the VTP domain, but they’ll still forward
VTP advertisements through any configured trunk links.
•The purpose of Transparent mode is to allow remote
switches to receive the VLAN database from a VTP Server
Transparen
t
ROUTING BETWEEN VLANS
 If you want hosts or any other IP-addressable device to
communicate between VLANs, a Router is absolutely necessary.
 For this, you can use a router that has an interface for each
VLAN.
 Instead of using a router interface for each VLAN, you use one
Fast Ethernet interface and run ISL or 802.1Q trunking.
 This allows all VLANs to communicate through one interface.
Cisco calls this a “router on a stick”.
CONFIGURING VLANS
 Create VLAN
 1900 Switch
1900(config)#vlan 2
1900(config)#vlan 3
 2950 Switch
Switch(config)#vlan 2
Switch(config-vlan)#vlan 3
 You can’t change, delete, or rename VLAN 1,
because it’s the default VLAN.
CONFIGURING VLANS
 Assigning Switch Ports to VLANs
 1900 Switch
1900(config)#int e0/2
1900(config-if)#vlan-membership static 2
 2950 Switch
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 2
 If you want to verify your configuration, use this:
 Switch#sh vlan
CONFIGURING VLANS
 Configuring Trunk Ports
 1900 Switches
1900(config)#int f0/26
1900(config-if)#trunk on
 2950 Switches
Switch(config)#int f0/12
Switch(config-if)#switchport mode trunk
CONFIGURING VLANS
 Configuring Inter-VLAN Routing
Router#config t
Router(config)#int f0/0
Router(config-if)#no ip address
Router(config-if)#no shutdown
Router(config-if)#int f0/0.1
Router(config-subif)#encaps dot1q 1 -----> VLAN
1
Router(config-subif)#ip address 192.168.10.100
255.255.255.0
Router(config-subif)#int f0/0.2
Router(config-subif)#encaps dot1q 2 -----> VLAN
2
Router(config-subif)#ip address 192.168.20.100
255.255.255.0
CONFIGURING VTP
1900 Switch
 1900(config)#vtp server ------> default
 1900(config)#vtp domain orbits
2950 Switch
 Switch(config)#vtp mode server ------> default
 Switch(config)#vtp domain orbits
TROUBLESHOOTING VTP
 Study the output from the two switches below:
SwitchB#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : GlobalNet
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
SwitchA#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : RouterSim
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
TROUBLESHOOTING VTP
 Study the output from the switch below:
You are trying to create a
new VLAN on Switch, but
you get an error! Why?
SwitchC#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally
: 64
Number of existing VLANs : 7
VTP Operating Mode : Client
VTP Domain Name : Todd
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
Thank You

More Related Content

What's hot

VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)Naveen Soni
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGanilinvns
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksDani Royman Simanjuntak
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingRafat Khandaker
 
Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanaghacrom
 
Chapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingChapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingteknetir
 
Packet Tracer Simulation Lab Layer 2 Switching
Packet Tracer Simulation Lab Layer 2 SwitchingPacket Tracer Simulation Lab Layer 2 Switching
Packet Tracer Simulation Lab Layer 2 SwitchingJohnson Liu
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)waqasahmad1995
 
Layer 2 & layer 3 switching
Layer 2 & layer 3 switchingLayer 2 & layer 3 switching
Layer 2 & layer 3 switchingMuhd Mu'izuddin
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
Vlans
VlansVlans
Vlans1 2d
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)IT Tech
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTINGanilinvns
 
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric VanderburgCCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric VanderburgEric Vanderburg
 
Exploration Routing Chapter 7
Exploration Routing Chapter 7Exploration Routing Chapter 7
Exploration Routing Chapter 7jayhawkins
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4VISHNU N
 

What's hot (20)

VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
CCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and TrunkingCCNA- Router on stick, VLAN and Trunking
CCNA- Router on stick, VLAN and Trunking
 
Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlan
 
Chapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingChapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routing
 
Ccna3 mod9-vtp
Ccna3 mod9-vtpCcna3 mod9-vtp
Ccna3 mod9-vtp
 
Packet Tracer Simulation Lab Layer 2 Switching
Packet Tracer Simulation Lab Layer 2 SwitchingPacket Tracer Simulation Lab Layer 2 Switching
Packet Tracer Simulation Lab Layer 2 Switching
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)
 
Layer 2 & layer 3 switching
Layer 2 & layer 3 switchingLayer 2 & layer 3 switching
Layer 2 & layer 3 switching
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Vlans
VlansVlans
Vlans
 
Managing Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN RoutingManaging Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN Routing
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
 
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric VanderburgCCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
 
Exploration Routing Chapter 7
Exploration Routing Chapter 7Exploration Routing Chapter 7
Exploration Routing Chapter 7
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
Static Routing
Static RoutingStatic Routing
Static Routing
 

Viewers also liked

Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSanilinvns
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOSanilinvns
 
Data center maintenance
Data center maintenanceData center maintenance
Data center maintenanceanilinvns
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OSanilinvns
 
INTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSINTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSanilinvns
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
Vlan Types
Vlan TypesVlan Types
Vlan TypesIT Tech
 
Choosing MikroTik for Your Network
Choosing MikroTik for Your NetworkChoosing MikroTik for Your Network
Choosing MikroTik for Your NetworkFaisal Reza
 
Network Forensics - Your Only Choice at 10G
Network Forensics - Your Only Choice at 10GNetwork Forensics - Your Only Choice at 10G
Network Forensics - Your Only Choice at 10GSavvius, Inc
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)welcometofacebook
 
Network Forensics Intro
Network Forensics IntroNetwork Forensics Intro
Network Forensics IntroJake K.
 
Network forensics and investigating logs
Network forensics and investigating logsNetwork forensics and investigating logs
Network forensics and investigating logsanilinvns
 

Viewers also liked (20)

Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOS
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Data center maintenance
Data center maintenanceData center maintenance
Data center maintenance
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OS
 
SHYA_PPT
SHYA_PPTSHYA_PPT
SHYA_PPT
 
RHEL6 - Rh255
RHEL6 - Rh255RHEL6 - Rh255
RHEL6 - Rh255
 
INTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSINTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERS
 
RIP Loop Prevention
RIP Loop PreventionRIP Loop Prevention
RIP Loop Prevention
 
Network Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using WiresharkNetwork Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using Wireshark
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Routing
RoutingRouting
Routing
 
Vlan Types
Vlan TypesVlan Types
Vlan Types
 
Choosing MikroTik for Your Network
Choosing MikroTik for Your NetworkChoosing MikroTik for Your Network
Choosing MikroTik for Your Network
 
Network forensics1
Network forensics1Network forensics1
Network forensics1
 
100 most vmware q&a
100 most vmware q&a100 most vmware q&a
100 most vmware q&a
 
Network Forensics - Your Only Choice at 10G
Network Forensics - Your Only Choice at 10GNetwork Forensics - Your Only Choice at 10G
Network Forensics - Your Only Choice at 10G
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)
 
Routing
RoutingRouting
Routing
 
Network Forensics Intro
Network Forensics IntroNetwork Forensics Intro
Network Forensics Intro
 
Network forensics and investigating logs
Network forensics and investigating logsNetwork forensics and investigating logs
Network forensics and investigating logs
 

Similar to Virtual LANs (VLANs) Guide: Everything You Need to Know

vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf
vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjfvlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf
vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjfpeterhaile1
 
Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxmarunkumareee77
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANsCCNAResources
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdfitwkd
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiMR. VIKRAM SNEHI
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccnarobertoxe
 
Vla ns
Vla nsVla ns
Vla nsUDLA
 
VLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxVLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxmuhammadFaheem656405
 

Similar to Virtual LANs (VLANs) Guide: Everything You Need to Know (20)

vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf
vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjfvlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf
vlaN.pptgfggdfgdrgsegtrgthyrtewgsrdhftjf
 
mod8-VLANs.ppt
mod8-VLANs.pptmod8-VLANs.ppt
mod8-VLANs.ppt
 
Day 14.2 inter vlan
Day 14.2 inter vlanDay 14.2 inter vlan
Day 14.2 inter vlan
 
Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptx
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
Mod8 vlans
Mod8 vlansMod8 vlans
Mod8 vlans
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
Ccna Quick Notes –VLANs
Ccna Quick Notes –VLANsCcna Quick Notes –VLANs
Ccna Quick Notes –VLANs
 
CCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptxCCNA_RSE_Chp6.pptx
CCNA_RSE_Chp6.pptx
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdf
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccna
 
Chapter9ccna
Chapter9ccnaChapter9ccna
Chapter9ccna
 
VLAN
VLANVLAN
VLAN
 
Vla ns
Vla nsVla ns
Vla ns
 
VLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptxVLAN chapters for networking CCNA_RSE_Chp6.pptx
VLAN chapters for networking CCNA_RSE_Chp6.pptx
 
Scaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptxScaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptx
 
Chapter 8 .vlan.pdf
Chapter 8 .vlan.pdfChapter 8 .vlan.pdf
Chapter 8 .vlan.pdf
 
Vlan
VlanVlan
Vlan
 
Quick Guide VLANs
Quick Guide   VLANsQuick Guide   VLANs
Quick Guide VLANs
 

More from anilinvns

Windows Server 2012
Windows Server 2012Windows Server 2012
Windows Server 2012anilinvns
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directoryanilinvns
 
Password Policy and Account Lockout Policies
Password Policy and Account Lockout PoliciesPassword Policy and Account Lockout Policies
Password Policy and Account Lockout Policiesanilinvns
 
Disk management server
Disk management serverDisk management server
Disk management serveranilinvns
 
Windows 2008 basics
Windows 2008 basicsWindows 2008 basics
Windows 2008 basicsanilinvns
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1anilinvns
 

More from anilinvns (7)

Windows Server 2012
Windows Server 2012Windows Server 2012
Windows Server 2012
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
Password Policy and Account Lockout Policies
Password Policy and Account Lockout PoliciesPassword Policy and Account Lockout Policies
Password Policy and Account Lockout Policies
 
Wds
WdsWds
Wds
 
Disk management server
Disk management serverDisk management server
Disk management server
 
Windows 2008 basics
Windows 2008 basicsWindows 2008 basics
Windows 2008 basics
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1
 

Recently uploaded

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Virtual LANs (VLANs) Guide: Everything You Need to Know

  • 1. VIRTUAL LANS By Anil Kumar Vishwakarma MCA,MCTS,CCNA
  • 2. OVERVIEW  VLAN Basics  VLAN Types  Identifying VLANs  VLAN Trunking Protocol  Routing between VLANs  Configuring VLANs
  • 3. VLAN BASICS  A VLAN is a group of network services not restricted to a physical segment or LAN switch.  Configuration or reconfiguration of VLANs is done through software.  VLANs increase overall network performance by logically grouping users and resources together.  VLANs are powerful tools for network administrators.  A group of users needing high security can be put into a VLAN so that no users outside of the VLAN can communicate with them.
  • 5. VLAN TYPES  Static VLANs:  The switch port that you assign a VLAN association to always maintains that association until an administrator manually changes that port assignment.  Dynamic VLANs:  Are created through network management software.  CiscoWorks 2000 or CiscoWorks for Switched Internetworks is used to create Dynamic VLANs.  Allow for membership based on the MAC address of the device connected to the switch port.
  • 6. IDENTIFYING VLANS  There are two different types of links in a switched environment:  Access links: This type of link is only part of one VLAN.  Trunk links: Trunks can carry multiple VLANs and originally gained their name after system trunks that carry multiple VLANS. A trunk link is a 100- or 1000Mbps point-to-point link between two switches, between a switch and router,
  • 7. IDENTIFYING VLANS  Frame Tagging:  You can create your VLANs to span more than one connected switch.  There needs to be a way for each one to keep track of all the users and frames as they travel the switch fabric and VLANs.  Switch fabric is basically a group of switches sharing the same VLAN information.  The solution is Frame tagging. This method uniquely assigns a VLAN ID to each frame.  VLAN Identification Methods •Proprietary to Cisco switches, and it’s used for Fast Ethernet and Gigabit Ethernet links only. •ISL routing can be used on a switch port and router interfaces. Inter- Switch Link (ISL) • Standard method of frame tagging. •If you’re trunking between a Cisco switched link and a different brand of switch, you have to use 802.1Q for the trunk to work. IEEE 802.1Q
  • 8. VLAN TRUNKING PROTOCOL  The basic goals of VLAN Trunking Protocol (VTP) are to manage all configured VLANs across a switched internetwork.  Here’s a list of some of the benefits VTP has to offer:  Consistent VLAN configuration across all switches in the network.  VLAN trunking over mixed networks.  Accurate tracking and monitoring of VLANs.  Dynamic reporting of added VLANs to all switches in the VTP domain.
  • 9. VTP MODES OF OPERATION •This is the default for all Catalyst switches. •You need at least one server in your VTP domain to propagate VLAN information throughout the domain. •The switch must be in server mode to be able to create, add, or delete VLANs in a VTP domain. •Changing VTP information must also be done in server mode, and any change made to a switch in server mode will be advertised to the entire VTP domain. Server •In client mode, switches receive information from VTP servers, and they also send and receive updates. • Can’t make any changes. Client •Don’t participate in the VTP domain, but they’ll still forward VTP advertisements through any configured trunk links. •The purpose of Transparent mode is to allow remote switches to receive the VLAN database from a VTP Server Transparen t
  • 10. ROUTING BETWEEN VLANS  If you want hosts or any other IP-addressable device to communicate between VLANs, a Router is absolutely necessary.  For this, you can use a router that has an interface for each VLAN.  Instead of using a router interface for each VLAN, you use one Fast Ethernet interface and run ISL or 802.1Q trunking.  This allows all VLANs to communicate through one interface. Cisco calls this a “router on a stick”.
  • 11. CONFIGURING VLANS  Create VLAN  1900 Switch 1900(config)#vlan 2 1900(config)#vlan 3  2950 Switch Switch(config)#vlan 2 Switch(config-vlan)#vlan 3  You can’t change, delete, or rename VLAN 1, because it’s the default VLAN.
  • 12. CONFIGURING VLANS  Assigning Switch Ports to VLANs  1900 Switch 1900(config)#int e0/2 1900(config-if)#vlan-membership static 2  2950 Switch Switch(config-if)#int f0/2 Switch(config-if)#switchport access vlan 2  If you want to verify your configuration, use this:  Switch#sh vlan
  • 13. CONFIGURING VLANS  Configuring Trunk Ports  1900 Switches 1900(config)#int f0/26 1900(config-if)#trunk on  2950 Switches Switch(config)#int f0/12 Switch(config-if)#switchport mode trunk
  • 14. CONFIGURING VLANS  Configuring Inter-VLAN Routing Router#config t Router(config)#int f0/0 Router(config-if)#no ip address Router(config-if)#no shutdown Router(config-if)#int f0/0.1 Router(config-subif)#encaps dot1q 1 -----> VLAN 1 Router(config-subif)#ip address 192.168.10.100 255.255.255.0 Router(config-subif)#int f0/0.2 Router(config-subif)#encaps dot1q 2 -----> VLAN 2 Router(config-subif)#ip address 192.168.20.100 255.255.255.0
  • 15. CONFIGURING VTP 1900 Switch  1900(config)#vtp server ------> default  1900(config)#vtp domain orbits 2950 Switch  Switch(config)#vtp mode server ------> default  Switch(config)#vtp domain orbits
  • 16. TROUBLESHOOTING VTP  Study the output from the two switches below: SwitchB#sh vtp status VTP Version : 2 Configuration Revision : 1 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Server VTP Domain Name : GlobalNet VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled SwitchA#sh vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Server VTP Domain Name : RouterSim VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled
  • 17. TROUBLESHOOTING VTP  Study the output from the switch below: You are trying to create a new VLAN on Switch, but you get an error! Why? SwitchC#sh vtp status VTP Version : 2 Configuration Revision : 1 Maximum VLANs supported locally : 64 Number of existing VLANs : 7 VTP Operating Mode : Client VTP Domain Name : Todd VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled