Establishing Communication Between VLANs

Similar documents
What is VLAN Routing?

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

Overview of Routing between Virtual LANs

Switching in an Enterprise Network

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

Device Interface IP Address Subnet Mask Default Gateway

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

CCT vs. CCENT Skill Set Comparison

Exhibit n.2: The layers of a hierarchical network

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

How To Configure InterVLAN Routing on Layer 3 Switches

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Implementation of Virtual Local Area Network using network simulator

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

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

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

Interconnecting Cisco Network Devices 1 Course, Class Outline

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

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

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

VLANs. Application Note

GVRP Overview. Overview

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)

Fundamentals of Switching

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

Easy Smart Configuration Utility

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

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

LANs and VLANs A Simplified Tutorial

How to Create VLANs Within a Virtual Switch in VMware ESXi

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

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

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

IP Routing Between VLANs

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Easy Smart Configuration Utility

IT 3202 Internet Working (New)

Lab - Using IOS CLI with Switch MAC Address Tables

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

EVOLVING ENTERPRISE NETWORKS WITH SPB-M APPLICATION NOTE

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

LAN Switching and VLANs

Virtual LANs. or Raj Jain

Configuring QoS. Understanding QoS CHAPTER

Interoperability between Avaya IP phones and ProCurve switches

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

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

ProCurve Switch ProCurve Switch

How To Learn Cisco Cisco Ios And Cisco Vlan

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

VLAN and QinQ Technology White Paper

"Charting the Course...

Virtual LAN Configuration Guide Version 9

Troubleshooting an Enterprise Network

Layer 3 Routing User s Manual

Advanced Traffic Management Guide. ProCurve Switches Q.10.XX.

Simulating Transparent Mode for Multiple Subnets

Lab IP Addressing Overview

Cisco Data Centre: Introducing Cisco Data Center Networking

Optimum Business SIP Trunk Set-up Guide

Packet Tracer 3 Lab VLSM 2 Solution

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Configure IOS Catalyst Switches to Connect Cisco IP Phones Configuration Example

Catalyst Layer 3 Switch for Wake On LAN Support Across VLANs Configuration Example

Lab 3.5.1: Basic VLAN Configuration (Instructor Version)

CLOUD NETWORKING FOR ENTERPRISE CAMPUS APPLICATION NOTE

- Virtual LANs (VLANs) and VTP -

Allen-Bradley Stratix 5700 Network Address Translation (NAT)

Knowledgebase Solution

- Hubs vs. Switches vs. Routers -

Cisco 12 CCNA Certification

ProSAFE 8-Port and 16-Port Gigabit Click Switch

How To Configure Voice Vlan On An Ip Phone

Scenario 1: One-pair VPN Trunk

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

Expert Reference Series of White Papers. vcloud Director 5.1 Networking Concepts

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

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

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

ProSafe Plus Switch Utility

SSVP SIP School VoIP Professional Certification

Packet Tracer - Subnetting Scenario 1 (Instructor Version)

Skills Assessment Student Training Exam

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

ICS 351: Today's plan

Primary VLAN. This document shows how to view and change the primary VLAN for the HP Procurve Series 2500 Switches:

BASIC ANALYSIS OF TCP/IP NETWORKS

Top-Down Network Design

VXLAN: Scaling Data Center Capacity. White Paper

VOICE VLAN SUPPORT IN THE DELL POWERCONNECT 6200

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

Abstract. Avaya Solution & Interoperability Test Lab

IP Filter/Firewall Setup

Classroom Management network FAQ and troubleshooting

Protocol Data Units and Encapsulation

Cisco Networking Academy CCNP Multilayer Switching

Interconnecting Cisco Networking Devices Part 2

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Transcription:

Configuration Guide 5991-2122 April 2005 Establishing Communication Between VLANs This Configuration Guide explains the concepts behind intervlan routing using your Operating System (SROS) product. For detailed information regarding specific command syntax, refer to the SROS Command Line Interface Reference Guide on your ProCurve SROS Documentation CD. This guide consists of the following sections: Understanding VLANs on page 2 Understanding on page 3 Configuring on page 4 61195880L1-29.4B Printed in the USA 1

ProCurve 7203 ProCurve 7203 Understanding VLANs Understanding VLANs A VLAN (virtual local area network) allows creation of logical subnetworks, broadening your ability to segment your network in ways independent of the physical setup. VLANs have all the same attributes as traditional physical LANs, but allow network devices to be grouped together based on organizational function and application rather than be constrained by geographical or physical location. By creating VLANs, your switched network can consist of multiple segments, each with its own separate broadcast and multicast domains. You can set up VLANs either statically (where each switch interface is assigned specifically to a VLAN) or dynamically (based on MAC addresses). Incorporating VLANs into a typical network provides benefits including security, broadcast or congestion control, and management. Through the use of VLANs, users can be isolated from one another; that is, a user in one VLAN cannot access data in a different VLAN. Also, just as switches isolate collision domains, VLANs isolate broadcast (messages sent to all users) and multicast (messages sent to some users) domains. By preventing broadcast and multicast traffic from traversing the entire network, network performance improves. Additionally, VLANs can be thought of as a limited broadcast domain. This means that all members of a VLAN receive broadcast packets that are sent by members of the same VLAN. This logical grouping of users allows easier network management. A network administrator can easily move an individual from one group to another without having to recable the network. VLANs can span multiple switches. For example, you could have Ports 1 through 10 of Switch A assigned to, and Ports 11 through 20 of Switch A assigned to. If Switch A and Switch B share a high-speed link, then Switch B could also have ports assigned to the same VLANs as Switch A. See Figure 1 for a graphical depiction of this concept. (Switch A) Trunk Link and (Switch B) Figure 1. Basic VLAN Configuration 2 5991-2122

ProCurve 7203 ProCurve 7203 ProCurve 7203 Understanding Understanding In order for network devices in different VLANs to communicate, a router must be used to route traffic between the VLANs. While VLANs help to control local traffic, if a device in one VLAN needs to communicate with a device in another VLAN one or more routers must be used for intervlan communication. Figure 1 shows a topology where intervlan routing would be necessary for PCs in one VLAN to communicate with PCs in other VLANs. The router has two interfaces with 802.1Q encapsulation enabled and multiple VLANs configured on each. For PC1 in VLAN2 to communicate with PC2 in the same VLAN, PC1 simply sends a packet addressed to PC2. The switch will forward the packet directly to the destination PC without going through the router. However, for PC1 to send a packet to PC5, the switch will have to place a VLAN2 tag on the packet and forward the packet on Trunk A to the router. The router will remove the VLAN2 tag, determine the appropriate outgoing interface based on the IP route table, place a VLAN4 tag on the packet, and send it out on Trunk B. The switch in VLAN4 that receives the packet will forward it directly to PC5. (Switch A) Trunk A Trunk B (Switch B) PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 VLAN2 VLAN3 VLAN4 VLAN5 Figure 2. Topology 5991-2122 3

Configuring Configuring Enabling 802.1Q Encapsulation To accomplish intervlan routing, 802.1Q encapsulation must be enabled. Enabling this option adds a 32-bit header for VLAN tagging. This tag sits in the Ethernet frame between the source address field and the media access control (MAC) client type/length field. Table 1 shows the commands necessary to enable 802.1Q encapsulation. Table 1. Step-by-Step Configuration: Enabling 802.1Q Encapsulation 1 Enter Enable Security mode. >enable 2 Enter Global Configuration mode. #configure terminal 3 Enter Ethernet Configuration mode. #(config)interface ethernet 0/2 4 Enable 802.1Q encapsulation. (config-eth 0/2)#encapsulation 802.1q Creating a Sub-Interface After enabling 802.1Q encapsulation, the VLAN sub-interface will need to be created. Currently, Ethernet is the only media type that supports VLANs. Table 2 shows the steps necessary to create an Ethernet sub-interface. The description command can be used to help identify the newly-created interface. This comment line can contain up to 80 alphanumeric characters. Table 2. Step-by-Step Configuration: Creating VLAN Sub-Interface 1 Enter Ethernet Configuration mode. #(config)interface ethernet 0/2 2 Create sub-interface for VLAN use. (config-eth 0/2)#interface ethernet 0/2.1 3 (Optional) Add comment line to help identify new interface. (config-eth 0/2.1)#description lab1 4 5991-2122

Configuring Assigning a VLAN ID and an IP Address The next step in configuring intervlan routing is to assign a VLAN ID to the sub-interface. Valid VLAN IDs are in the range of 1 to 4094. Use the native option for the VLAN that will be used as the management VLAN (see optional Step 1 in Table 3). This option specifies that the data for this VLAN will go out untagged. The final step necessary for intervlan routing is to assign an IP address to the sub-interface. Each sub-interface will have its own subnet. Step 2 shows the command needed to assign an IP address from this subnet to the sub-interface. This IP address will be the default gateway IP for the VLAN. After the VLAN ID and the IP address are set, the sub-interface can be activated using the no shutdown command. Step 3 shows the necessary steps for assigning the ID and enabling the port. Table 3. Step-by-Step Configuration: Assigning VLAN Identification and IP Address 1 Assign VLAN identification. (config-eth 0/2.1)#vlan-id 3 2 (Optional) Assign VLAN identification to the management VLAN. 3 Assign IP address to the VLAN sub-interface. (config-eth 0/2.1)#vlan-id 3 native (config-eth 0/2.1#)ip address 10.15.1.254 255.555.255.0 4 Activate new interface. (config-eth 0/2.1)#no shutdown Copyright 2005 Hewlett-Packard Development Company, LP. The information contained herein is subject to change without notice. 5991-2122 5