You are on page 1of 16

Implement Inter-VLAN

Routing
LAN Switching and Wireless –
Chapter 6

CSCO272

Summer 2008

1

CSCO272 Summer 2008 2 . • Configure inter-VLAN routing on a router to enable communications between enduser devices on separate VLANs • Troubleshoot common inter-VLAN connectivity issues.Objectives • Explain to the satisfaction of a qualified instructor how network traffic is routed between VLANs in a converged network.

• There is a way to permit these end stations to communicate. by default. it is called inter-VLAN routing.Concepts of Inter-VLAN routing • Each VLAN is a unique broadcast domain. you will learn what inter-VLAN routing is and some of the different ways to accomplish inter-VLAN routing on a network. not able to communicate. • In this topic. so computers on separate VLANs are. CSCO272 Summer 2008 3 .

• 6.1. Devices on those VLANs send traffic through the router to reach other VLANs.1 CSCO272 Summer 2008 4 . the router interfaces can be connected to separate VLANs.Concepts of Inter-VLAN routing • When using a router to facilitate interVLAN routing.

CSCO272 Summer 2008 5 . Each router interface can then accept traffic from the VLAN associated with the switch interface that it is connected to. • Each switch interface would be assigned to a different static VLAN. and traffic can be routed to the other VLANs connected to the other interfaces.Concepts of Inter-VLAN routing • In a traditional network that uses multiple VLANs to segment the network traffic into logical broadcast domains. • Routing is performed by connecting different physical router interfaces to different physical switch ports. different static VLANs are assigned to each port interface. • In accesss mode. • The switch ports connect to the router in access mode.

the router is connected to switch S1 using a single. This opens up new possibilities for inter-VLAN routing.Concepts of Inter-VLAN routing • Some router software permits configuring router interfaces as trunk links. • "Router-on-a-stick" is a type of router configuration in which a single physical interface routes traffic between multiple VLANs on a network. As you can see in the figure. physical network connection. CSCO272 Summer 2008 6 .

CSCO272 Summer 2008 7 . • The router then forwards the routed traffic-VLAN tagged for the destination VLAN-out the same physical interface. • The router performs the inter-VLAN routing by accepting VLAN tagged traffic on the trunk interface coming from the adjacent switch and internally routing between the VLANs using subinterfaces.Router-on-a-stick • The router interface is configured to operate as a trunk link and is connected to a switch port configured in trunk mode.

associated with one physical interface. CSCO272 Summer 2008 8 . • These subinterfaces are configured in software on a router that is independently configured with an IP address and VLAN assignment to operate on a specific VLAN.Router-on-a-stick • Subinterfaces are multiple virtual interfaces.

replacing the need for dedicated routers to perform basic routing on a network. CSCO272 Summer 2008 9 . • Some switches can perform Layer 3 functions.Router-on-a-stick • Subinterfaces are configured for different subnets corresponding to their VLAN assignment to facilitate logical routing before the data frames are VLAN tagged and sent back out the physical interface. Multilayer switches are capable of performing inter-VLAN routing.

Configure Inter-VLAN Routing CSCO272 Summer 2008 10 .

Configure Inter-VLAN Routing CSCO272 Summer 2008 11 .

Troubleshoot Common InterVLAN Connectivity Issues CSCO272 Summer 2008 12 .

Troubleshoot Common InterVLAN Connectivity Issues CSCO272 Summer 2008 13 .

Troubleshoot Common InterVLAN Connectivity Issues CSCO272 Summer 2008 14 .

Summary • Inter-VLAN routing is the process of routing information between VLANs • Inter-VLAN routing requires the use of a router or a layer 3 switch • Traditional inter-VLAN routing – Requires multiple router interfaces that are each connected to separate VLANs CSCO272 Summer 2008 15 .

Summary • Router on a stick – this is an inter-VLAN routing topology that uses router sub interfaces connected to a layer 2 switch. – Each Subinterface must be configured with: – An IP address – Associated VLAN number • Configuration of inter VLAN routing – Configure switch ports connected to router with correct VLAN – Configure each router subinterface with the correct IP address & VLAN ID • Verify configuration on switch and router CSCO272 Summer 2008 16 .