27 inter vlan routing

Page 1

Inter-VLAN Routing Inter-VLAN routing is the process of forwarding network traffic from one VLAN to another VLAN using a router. VLANs divide broadcast domains in a LAN environment. Whenever hosts in one VLAN need to communicate with hosts in another VLAN, the traffic must be routed between them. This is known as inter-VLAN routing. On Catalyst switches it is accomplished by creating Layer 3 interfaces (Switch virtual interfaces (SVI)). A host can communicate with only those hosts that are members of the same VLAN. In order to change this default behaviour and allow communication between different VLANs, you need a router or a layer 3 switch.

Router-based Inter-VLAN routing is a process for forwarding network traffic from on e VLAN to another VLAN using a router Figure 1

The router has to support ISL or 802.1Q trunking on a FastEthernet or GigabitEthernet interface in order to perform routing between different VLANs. The router’s interface is divided into logical interfaces called subinterfaces, one for each VLAN. From a FastEthernet or GigabitEthernet interface on the router, you can set the interface to perform trunking with the encapsulation command: R1(config)#interface FastEthernet0/0.10 R1(config-subif)#encapsulation ? dot1Q IEEE 802.1Q Virtual LAN R1(config-subif)#encapsulation dot1Q ? <1-4094> IEEE 802.1Q VLAN ID R1(config-subif)#encapsulation dot1Q 10


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.