What is VLAN Routing?



Similar documents
Can PowerConnect Switches Be Used in IP Multicast Networks?

VLAN Interoperability

VLAN 802.1Q. 1. VLAN Overview. 1. VLAN Overview. 2. VLAN Trunk. 3. Why use VLANs? 4. LAN to LAN communication. 5. Management port

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Switching in an Enterprise Network

Exhibit n.2: The layers of a hierarchical network

Enabling Multiple Wireless Networks on RV320 VPN Router, WAP321 Wireless-N Access Point, and Sx300 Series Switches

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

VMware ESX Server Q VLAN Solutions W H I T E P A P E R

VLANs. Application Note

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

- Virtual LANs (VLANs) and VTP -

> Technical Configuration Guide for Microsoft Network Load Balancing. Ethernet Switch and Ethernet Routing Switch Engineering

Configuring QoS. Understanding QoS CHAPTER

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Overview of Routing between Virtual LANs

How Do I Upgrade Firmware and Save Configurations on PowerConnect Switches?

Virtual LAN Configuration Guide Version 9

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

ADVANCED NETWORK CONFIGURATION GUIDE

How Much Broadcast and Multicast Traffic Should I Allow in My Network?

Interconnecting Cisco Network Devices 1 Course, Class Outline

CCT vs. CCENT Skill Set Comparison

How Are PowerConnect ACLs Different From Cisco ACLs?

The IP Transmission Process. V1.4: Geoff Bennett

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

IP Addressing A Simplified Tutorial

VOICE VLAN SUPPORT IN THE DELL POWERCONNECT 6200

enetworks TM IP Quality of Service B.1 Overview of IP Prioritization

Deploying ACLs to Manage Network Security

Three Key Design Considerations of IP Video Surveillance Systems

FSM73xx GSM73xx GMS72xxR Shared access to the Internet across Multiple routing VLANs using a Prosafe Firewall

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

Lab 3.5.1: Basic VLAN Configuration (Instructor Version)

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

Fundamentals of Switching

Abstract. Avaya Solution & Interoperability Test Lab

VLAN and QinQ Technology White Paper

Implementation of Virtual Local Area Network using network simulator

LAN Switching and VLANs

Best Practice Recommendations for Implementing VLANs in a ShoreTel VoIP Environment with IP Phones

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

How To Configure InterVLAN Routing on Layer 3 Switches

VOIP Guide Using ZyXEL Switch

Link Aggregation Interoperability of the Dell PowerConnect 5316M with Cisco IOS or Cisco CatOS based Switches. By Bruce Holmes

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

Interconnecting Cisco Networking Devices: Accelerated (CCNAX) 2.0(80 Hs) 1-Interconnecting Cisco Networking Devices Part 1 (40 Hs)

A Dell Technical White Paper Dell Storage Engineering

EVOLVING ENTERPRISE NETWORKS WITH SPB-M APPLICATION NOTE

Switch Quick Configuration CLI Guide for

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

SSVP SIP School VoIP Professional Certification

Hosting more than one FortiOS instance on. VLANs. 1. Network topology

How To Configure Voice Vlan On An Ip Phone

Cisco Nexus 5548UP. Switch Configuration Guide for Dell PS Series SANs. A Dell Deployment and Configuration Guide

ICS 351: Today's plan

LANs and VLANs A Simplified Tutorial

Knowledgebase Solution

How To Understand and Configure Your Network for IntraVUE

GVRP Overview. Overview

How To Configure Link Aggregation On Supermicro Switch 2 And 3 (Lan) On A Microsoft Vlan 2 And Vlan 3 (Vlan) (Lan 2) (Vlans) (Lummer) (Powerline) (

Brocade to Cisco Comparisons

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Layer 3 Routing User s Manual

Virtual LANs. or Raj Jain

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Transport and Network Layer

Advanced VSAT Solutions Bridge Point-to-Multipoint (BPM) Overview

Layer 2 / Layer 3 switches and multi-ssid multi-vlan network with traffic separation

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Can PowerConnect Switches Be Used in VoIP Deployments?

IT 3202 Internet Working (New)

Application Notes for Configuring Yealink T-22 SIP Phones to interoperate with Avaya IP Office - Issue 1.0

Configuring Network Address Translation (NAT)

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Using Cisco UC320W with Windows Small Business Server

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

Skills Assessment Student Training Exam

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Enabling NAT and Routing in DGW v2.0 June 6, 2012

Configure IOS Catalyst Switches to Connect Cisco IP Phones Configuration Example

An Oracle White Paper October How to Connect Oracle Exadata to 10 G Networks Using Oracle s Ethernet Switches

Networking Basics for Automation Engineers

UTM10 in multi-ssid, multi-vlan network with WMS5316. Network diagram

How to Configure a BYOD Environment with the DWS-4026

VLAN for DekTec Network Adapters

Installation of the On Site Server (OSS)

SSVVP SIP School VVoIP Professional Certification

CLOUD NETWORKING FOR ENTERPRISE CAMPUS APPLICATION NOTE

"Charting the Course...

Top-Down Network Design

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Configuring DHCP Snooping

Optimum Business SIP Trunk Set-up Guide

Cisco - Catalyst 2950 Series Switches Quality of Service (QoS) FAQ

Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0

Cisco Data Centre: Introducing Cisco Data Center Networking

20. Switched Local Area Networks

Transcription:

Application Note #38 February 2004 What is VLAN Routing? This Application Notes relates to the following Dell product(s): 6024 and 6024F 33xx Abstract Virtual LANs (VLANs) offer a method of dividing one physical network into multiple broadcast domains. However, VLAN-enabled switches cannot, by themselves, forward traffic across VLAN boundaries. For inter-vlan communication, a Layer 3 router is required. This document discusses the VLAN protocol and provides step-by-step instructions for configuring VLAN routing using the Dell 6024 and 33xx switches. Applicable Network Scenarios As shown in the figure below, the addition of a router makes it possible to send traffic between VLANs while still containing broadcast traffic within VLAN boundaries. The router uses IP subnets to move traffic between VLANs. Each VLAN has a different IP subnet, and there is a one-to-one correspondence of VLAN and IP subnet boundaries. If a host is in a given IP subnet, it is also in a given VLAN, and vice-versa. Layer 3 Router A VLAN 10 B VLAN Trunks VLANs 10 & 20 C Layer 2 Switch Layer 2 Switch VLAN 20 D If host A needs to communicate with host D, it first sends an address resolution protocol (ARP) frame with host D s destination IP address and a broadcast MAC address. The switch forwards this broadcast to all other ports in VLAN 10, including the one attached to the router. The router, recognizing that it can reach host D s network, will send an ARP response frame with its own MAC address as the destination MAC address host A should use. www.dell.com/networking 1

For all subsequent traffic, host A will send frames with host D s IP address but the router s MAC address. The router, knowing that the destination network is on VLAN 20, will route the frame to the switch with a VLAN ID of 20. The switch, in turn, will deliver the frame to host D. The true benefits of VLANs are now realized: Bandwidth consumption is kept to a minimum by preventing cross-vlan broadcast traffic, but hosts in different VLANs are still able to communicate through the use of a router. In networks with a central server running Dynamic Host Configuration Protocol (DHCP), the router can be configured to relay DHCP requests from each subnet. The DHCP server would be configured to assign IP addresses based on the origin IP subnet. Technology Background As defined in IEEE standard 802.1Q, virtual LANs offer a method of dividing one physical network into multiple broadcast domains. In enterprise networks, these broadcast domains usually match with IP subnet boundaries, so that each subnet has its own VLAN. To identify traffic belonging to different VLANs, the 802.1Q standard defines a method called VLAN tagging. With tagging, switches insert a 4-byte VLAN tag into the header of each frame. The tag contains a 12-bit VLAN ID that identifies the frame s VLAN membership. Dell 33xx switches offer three main modes for handling VLAN traffic on a given interface. Access mode specifies a single, untagged VLAN to which the interface belongs; this is useful when the attached host is a PC or server. General mode allows the administrator to configure multiple VLANs that can be tagged or untagged; this is useful for nodes that must communicate on more than one VLAN. Trunk mode inserts a VLAN tag into all frames; this is useful for inter-switch trunk links that carry traffic between multiple VLANs over a single link. Since switches only forward broadcast traffic within VLAN boundaries, we can see that VLANs help reduce the amount of extraneous network traffic and free up processing resources on attached hosts. However, when traffic needs to cross a VLAN boundary, a router is required. When a switch receives a frame from one VLAN destined for another VLAN, the switch forwards the frame to a router. The router, if properly configured, will then route the frame between subnets, and forward the frame to the interface associated with the destination VLAN. As noted, inter-vlan routing allows hosts in all VLANs to obtain addresses using DHCP. The Internet Engineering Task Force described DHCP for IP version 4 in Request for Comments 2131 (RFC 2131). The router must be configured to relay requests to the DHCP server in cases where the DHCP server is not on a directly attached subnet. Proposed Solution Overview In the following example, we will configure a Dell 6024 to route traffic between VLANs 10 and 20, with hosts in each VLAN attached to a Dell 3348. The network topology is identical to that given previously in the Applicable Network Scenarios section of this document with one addition: Hosts in VLANs 10 and 20 get their IP addresses from a central DHCP server. www.dell.com/networking 2

The steps we use are: 1. Create VLANs on the router 2. Assign IP addresses to the each VLAN on the router. 3. Configure the router port connected to the switch as a VLAN trunk port. 4. Define routes to each network. 5. Configure the router to relay DHCP requests. 6. Create the VLANs on the switch. 7. Configure the switch port connected to the router as a VLAN trunk. 8. Add switch access ports to the appropriate VLANs. The following example uses three IP subnets. The router associates VLANs 10 and 20 with 10.10.0.0/24 and 10.20.0.0/24, respectively. The DHCP server is on 10.100.0.0/24, a subnet which is not directly attached to the router. In this example, we assume the router can reach the 10.100.0.0 subnet via static or dynamically learned routing information. The DHCP server must be configured to respond to DHCP requests on the appropriate subnet. For example, if the DHCP server receives a request forwarded from the router s 10.10.0.0/24 subnet, it must respond with an address on that subnet. DHCP server configuration is beyond the scope of this Application Note. A VLAN 10 / 10.10.0.0/24 g23 6024 g24 DHCP Server 10.100.0.100/24 B C 1/e1 1/e2 1/e10 3348 VLAN Trunks VLANs 10 & 20 VLAN 20 / 10.20.0.0/24 1/e10 3348 1/e1 1/e2 D Step-By-Step Instructions 1. Create VLANs on the router. Dell-6024> enable Dell-6024# configure Dell-6024(config)# vlan database Dell-6024(config-vlan)# vlan 10 Dell-6024(config-vlan)# vlan 20 Dell-6024(config-vlan)# exit 2. Assign IP addresses to the each VLAN on the router. Dell-6024(config)# interface vlan 10 Dell-6024(config-if)# ip address 10.10.0.1 /24 www.dell.com/networking 3

Dell-6024(config)# interface vlan 20 Dell-6024(config-if)# ip address 10.20.0.1 /24 3. Configure the router port connected to the switch as a VLAN trunk port. We use interface g24. Dell-6024(config)# interface ethernet g(23-24) Dell-6024(config-if)# switchport mode trunk Dell-6024(config-if)# switchport trunk allowed vlan add 10,20 4. Define routes to each network. Dell-6024(config)# ip route 10.10.0.0 255.255.255.0 10.10.0.2 Dell-6024(config)# ip route 10.20.0.0 255.255.255.0 10.20.0.2 As noted, we assume the router has previously been configured to reach the DHCP server on the 10.100.0.0/24 subnet. 5. Configure the router to relay DHCP requests. Dell-6024(config)# ip dhcp relay enable Dell-6024(config)# ip dhcp relay address 10.100.0.100 Dell-6024(config)# exit Dell-6024# copy running-config startup-config This concludes the configuration of the router. Now we will configure the 3348 switches. 6. Create the VLANs on the switches. On the first (left) switch in the figure: Dell-3348-1> enable Dell-3348-1# configure Dell-3348-1(config)# vlan database Dell-3348-1(config-vlan)# vlan 10 Dell-3348-1(config-vlan)# vlan 20 Dell-3348-1(config-vlan)# exit Dell-3348-2> enable Dell-3348-2# configure Dell-3348-2(config)# vlan database Dell-3348-2(config-vlan)# vlan 10 Dell-3348-2(config-vlan)# vlan 20 Dell-3348-2(config-vlan)# exit 7. Configure the switches port connected to the router as a VLAN trunk. We use interface 1/e10. On the first (left) switch in the figure: Dell-3348-1(config)# interface ethernet 1/e10 Dell-3348-1(config-if)# switchport mode trunk Dell-3348-1(config-if)# switchport trunk allowed vlan add 10,20 Dell-3348-1(config-if)# exit Dell-3348-2(config)# interface ethernet 1/e10 Dell-3348-2(config-if)# switchport mode trunk www.dell.com/networking 4

Dell-3348-2(config-if)# switchport trunk allowed vlan add 10,20 Dell-3348-2(config-if)# exit 8. Configure access ports in the appropriate VLANs. We attach host A to interface 1/e1 and host C to interface 1/e2 on switch 1. We attach host B to interface 1/e1 and host D to interface 1/e2 on switch 2. On the first (left) switch in the figure: Dell-3348-1(config)# interface ethernet 1/e1 Dell-3348-1(config-if)# switchport mode access Dell-3348-1(config-if)# switchport access vlan 10 Dell-3348-1(config-if)# exit Dell-3348-1(config)# interface ethernet 1/e2 Dell-3348-1(config-if)# switchport mode access Dell-3348-1(config-if)# switchport access vlan 20 Dell-3348-1(config-if)# end Dell-3348-1# copy running-config startup-config Dell-3348-2(config)# interface ethernet 1/e1 Dell-3348-2(config-if)# switchport mode access Dell-3348-2(config-if)# switchport access vlan 10 Dell-3348-2(config-if)# exit Dell-3348-2(config)# interface ethernet 1/e2 Dell-3348-2(config-if)# switchport mode access Dell-3348-2(config-if)# switchport access vlan 20 Dell-3348-2(config-if)# end Dell-3348# copy running-config startup-config Conclusion The network can now route traffic between VLANs. This is a scalable solution: As new VLANs are added, network managers can simply define additional routes on the 6024. Information in this document is subject to change without notice. 2004 Dell Inc. All rights reserved. This Application Note is for informational purposes only, and may contain typographical errors and technical inaccuracies. The content is provided as is, without express or implied warranties of any kind. Trademarks used in this text: Dell, the DELL logo, and are trademarks of Dell Inc. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own. www.dell.com/networking 5