Docsity

Virtual LANs - Computer Network - Lecture Slides, Slides of Computer Networks

Toggle sidebar
bg1
Virtual LANs
(VLANs)
Semester 3 – Module 8
Students completing this module should be able to:
Define VLANs
List the benefits of VLANs
Explain how VLANs are used to create broadcast domains
Explain how routers are used for communication between VLANs
List the common VLAN types
Define ISL and 802.1Q
Explain the concept of geographic VLANs
Configure static VLANs on 29xx series Catalyst switches
Verify and save VLAN configurations
Delete VLANs from a switch configuration
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Virtual LANs - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Virtual LANs

(VLANs)

Semester 3 – Module 8

Students completing this module should be able to: Define VLANs List the benefits of VLANs Explain how VLANs are used to create broadcast domains Explain how routers are used for communication between VLANs List the common VLAN types Define ISL and 802.1Q Explain the concept of geographic VLANs Configure static VLANs on 29xx series Catalyst switches Verify and save VLAN configurations Delete VLANs from a switch configuration

Overview

  • An important feature of Ethernet switching is the virtual local-area network (VLAN)
  • A VLAN is a logical grouping of devices or users
  • These devices or users can be grouped by function, department, or application despite the physical LAN segment location
  • Devices on a VLAN are restricted to only communicating with devices that are on their own VLAN
  • Just as routers provide connectivity between different LAN segments, routers provide connectivity between different VLAN segments
  • Routers in VLAN topologies provide broadcast filtering, security, and traffic flow management

Broadcast Domains with VLANs & Routers

  • 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 1, the switch searches the bridging table for VLAN 1
  • 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

Broadcast Domains with VLANs & Routers

Each VLAN is one Broadcast domain

VLAN Operation

  • Dynamic membership VLANs are created

through network management software

  • CiscoWorks 2000 or CiscoWorks for Switched

Internetworks is used to create Dynamic VLANs

  • Dynamic VLANs allow for membership based on

the MAC or IP address of the device connected

to the switch port

  • As a device enters the network, it queries a

database within the switch for a VLAN

membership

Benefits of VLANs

  • The key benefit of VLANs is that they permit the network administrator to organize the LAN logically instead of physically. This means that an administrator is able to do all of the following: - Easily move workstations on the LAN - Easily add workstations to the LAN - Easily change the LAN configuration - Easily control network traffic - Improve security

VLAN Frame Tagging

• Frame Tagging

  • ISL (most common)
    • ISL is a Cisco proprietary protocol that maintains VLAN information as traffic flows between switches and routers
  • 802.1Q (replacing ISL)
    • IEEE 802.1Q is an open-standard (IEEE) VLAN tagging mechanism in switching installations

VLAN Basics

  • Each VLAN must have a unique Layer 3 network

address assigned which enables a router to switch

packets between VLANs

  • 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% of network traffic should be local and 20% remote)
  • 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

Configuring VLANs

  • Dynamic VLANs do not rely on ports assigned to

a specific VLAN

  • The following guidelines must be followed when

configuring VLANs on Cisco 29xx switches:

  • VLAN 1 is the default Ethernet VLAN
  • All ports are members of VLAN
  • An IP address configured on a switch only applies to VLAN
  • Cisco Discovery Protocol (CDP) and VLAN Trunking Protocol (VTP) advertisements are only sent on VLAN 1
  • The switch must be in VTP server mode to create, add, or delete VLANs

Configuring VLANs

  • The creation of a VLAN on a switch is a very

straightforward and simple task

  • If using a Cisco IOS command based switch,

enter the VLAN configuration mode with the

privileged EXEC level vlan database command

  • The steps necessary to create the VLAN are

shown below:

  • Switch# vlan database Switch(vlan)# vlan vlan_number Switch(vlan)# exit

Verifying VLAN Config

• A good practice is to verify VLAN

configuration by using the show vlan ,

show vlan brief , or show vlan id

id_number commands. The following facts

apply to VLANs:

  • A created VLAN remains unused until it is

mapped to switch ports.

  • All Ethernet ports are on VLAN 1 by default.

Deleting VLANs

• Removing a VLAN from a Cisco IOS

command based switch interface is just like

removing a command from a router

  • Must be in database configuration mode
  • Use the no or negative form of the command
  • Reassign ports to another VLAN (if they are to

be used)

• When a VLAN is deleted any ports

assigned to that VLAN become inactive