Configure legacy inter-vlan routing
In the Router on the stick method, both switch and router are needed but while using layer 3 switches, a single switch will perform inter-VLAN routing as well as the layer 2 functions (Vlan), therefore this method is cost-effective and also less configuration is needed. Router>enable Routerconfigure terminal Enter configuration commands, one per line. Try to assign an IP address to the router and enable the interface you want to configure inter-VLAN routing.
As the destination is present in other networks, the packet will be first delivered to the switch which has an SVI for both VLANs (acts as gateway). Just need Inter-VLAN Routing which you simply configure according to below step by step Inter-VLAN routing guide. The packet is first delivered to switch then to the destination. Now creating SVI for VLAN 2 giving it IP address 192.168.1.1/24 and SVI for VLAN 3 giving IP address 192.168.2.1/24 Now creating VLANs on layer 3 switches namely VLAN 2 on the switch ports fa0/1, 2 and fa0/3, 4 for VLAN 3. The hosts PC1, PC2 will be in Vlan 10, and PC3, PC4 will be in Vlan 20. Here is a topology in which we have a layer 3 switch connected to host devices namely PC1, PC2, PC3, PC4. If the packet is to be delivered to different VLANs i.e inter VLAN Routing is to be performed on the layer 3 switch then first the packet is delivered to the layer 3 switch and then to the destination just like in the process of the router on a stick. The SVI created for the respective VLAN acts as a default gateway for that VLAN just like the sub-interface of the router (in the process of Router On a stick). Process of Inter Vlan Routing by Layer 3 Switch – SVI on layer 3 switch provides both management and routing services while SVI on layer 2 switch provides only management services like creating VLANs or telnet/SSH services. SVI is a logical interface on a multilayer switch that provides layer 3 processing for packets to all switch ports associated with that VLAN. VLAN trunking allows a single physical router interface to route traffic for multiple VLANs.
Configure legacy inter vlan routing mac#
ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.Troubleshooting router-on-a-Stick Inter-VLAN Routing Configuration.
Configure legacy inter vlan routing how to#
How to configure Inter-VLAN routing on Cisco Router ■ A router on a stick is configured with a subinterface for each VLAN and 802.1Q trunk Cisco Confidential 11 Configure Router-On-A-Stick Preparation An alternative to legacy inter-VLAN routing is to use VLAN trunking and subinterfaces VLAN trunking allows a single physical router interface to route traffic for multiple VLANs The physical interface of the router must be connected to a trunk link on the adjacent switch On the. ■ Inter-VLAN routing using a router on a stick utilizes an external router to pass traffic Router R1 has a separate interface configured for each of the VLANs. PC1 and PC3 are on different VLANs and have IP addresses on different subnets.ģ. The figure above show a traditional inter-VLAN routing:ġ Traffic from PC1 on VLAN10 is routed through router R1 to reach PC3 on VLAN 20.Ģ. Devices on those VLANs communicates with each other via the router. When using a router to facilitate inter-VLAN routing, the router interfaces can be connected to separate VLANs.
This subnet configuration enables the routing process in a multi-VLAN environment. One of the ways of the ways to carry out inter-VLAN routing is by connecting a router to the switch infrastructure. VLANs are associated with unique IP subnets on the network. There is a way to permit these computers to communicate it is called inter-VLAN routing. To allow devices connected to the various VLANs to communicate with each other, you need to connect a router.Īs we’ve learned that each VLAN is a unique broadcast domain, so, computers on separate VLANs are, by default, not able to communicate. In the previous pages, we learned about how to configure VLANs on a network switch.
VLAN switches from remote location by using protocols. We define inter-VLAN routing as a process of forwarding network traffic from one VLAN to another VLAN using a router or layer 3 device. This section describes how to configure legacy inter-VLAN routing on a Cisco switch.