Understanding VLANs and Virtual LANs in Networking
This detailed guide explores VLANs (Virtual LANs) in network configuration, covering concepts like switch hosts, aggregation, subnets, routers, and port configurations. Learn about setting up VLANs, managing broadcast domains, ARP requests, and more to enhance network security and performance.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
VLANs (Virtual Lans) , . Switch Hosts
VLANs (Virtual Lans) , . Aggreg. Switch Hosts
VLANs (Virtual Lans) Aggreg. Switch Switch Hosts
VLANs (Virtual Lans) switch. Aggreg. Aggreg. Switch Switch Hosts
VLANs (Virtual Lans) subnet, switch VLAN: 10.2.0.40/16 DG: 10.2.0.1 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.1.0.10 ARP 10.1.0.30 ???
VLANs (Virtual Lans) subnet, switch VLAN: 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.40/16 DG: 10.2.0.1 switch ARP . host subnet.
VLANs (Virtual Lans) Router Fa 0/0 Fa 0/1 10.2.0.1/16 10.1.0.1/16 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.40/16 DG: 10.2.0.1 Router To Router subnet overhead
VLANs (Virtual Lans) Fa 0/0 Fa 0/1 10.2.0.1/16 10.1.0.1/16 ARP Request 10.1.0.10/16 DG: 10.1.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.2.0.40/16 DG: 10.2.0.1 H , subnet switch. Router.
VLANs (Virtual Lans) Port 1 VLAN 10 Port 4 VLAN 20 Port 9 VLAN 10 Port 12 VLAN 20 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.40/16 DG: 10.2.0.1 VLAN VLAN broadcast domain Layer 3 (IP address) VLAN
VLANs (Virtual Lans) Port 1 VLAN 10 Port 4 VLAN 20 Port 9 VLAN 10 Port 12 VLAN 20 ARP Request 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.40/16 DG: 10.2.0.1 VLAN, broadcast domain. VLAN, .
VLANs (Virtual Lans) VLANs
Static VLANS Default VLAN 1 Default VLAN 1 VLAN 10 Configured Switch(config)#interface fastethernet 0/9 Switch(config-if)#switchport access vlan 10 switch , default VLAN 1 VLANs, port-based port-centric VLANs
Static VLANS Port 1 VLAN 10 Port 4 VLAN 20 Port 9 VLAN 10 Port 12 VLAN 20 10.1.0.10/16 DG: 10.1.0.1 10.2.0.20/16 DG: 10.2.0.1 10.1.0.30/16 DG: 10.1.0.1 10.2.0.40/16 DG: 10.2.0.1 VLANs switch host VLAN, IP VLAN. VLAN = Subnet
VLAN Trunking/Tagging No VLAN Tagging VLAN Tagging VLAN tagging Link data VLANs. Tagging Trunk
VLAN Trunking/Tagging VLANs, VLAN (frame tagging). frame tagging. To ISL Cisco, IEEE802.1Q. To ISL IEEE802.1Q. Cisco, IEEE802.1Q.
Verify VLANs Yannis Nikoloudakis @ Pasiphae Lab 2016
VLANs O VLAN Switch switch catalyst 29xx : 4,095 VLANs VLAN1 default VLAN CDP (cisco discovery protocol) VTP (VLAN trunking protocol)
Creating VLANs Assigning access ports (non-trunk ports) to a specific VLAN Switch(config)#interface fastethernet 0/9 Switch(config-if)#switchport access vlan vlan_number Switch(config-if)#switchport mode access Create the VLAN: (This step is not required and will be discussed later.) Switch#vlan database Switch(vlan)#vlan vlan_number Switch(vlan)#exit
Creating VLANs vlan 10 Default vlan 1 Default vlan 1 Assign ports to the VLAN Switch(config)#interface fastethernet 0/9 Switch(config-if)#switchport access vlan 10 Switch(config-if)#switchport mode access access access port trunk link ( )
Creating VLANs vlan 10 Default vlan 1 Default vlan 1 Switch(config)#interface fastethernet 0/9 Switch(config-if)#switchport access vlan 300 Switch(config-if)#switchport mode access
VLAN ranges vlan 2 Switch(config)#interface fastethernet 0/5 Switch(config-if)#switchport access vlan 2 Switch(config-if)#switchport mode access Switch(config-if)#exit Switch(config)#interface fastethernet 0/6 Switch(config-if)#switchport access vlan 2 Switch(config-if)#switchport mode access Switch(config-if)#exit Switch(config)#interface fastethernet 0/7 Switch(config-if)#switchport access vlan 2 Switch(config-if)#switchport mode access
VLAN ranges vlan 3 Switch(config)#interface range fastethernet 0/8 - 12 Switch(config-if)#switchport access vlan 3 Switch(config-if)#switchport mode access Switch(config-if)#exit 2900 switches, 2900 Series XL. format 2900 switches. 2950.