Very easily both the router and switch ports will be occupied, which causes the management of both devices to present with various difficulties. If we scale the case to four, five, six or more VLANs, this would be practically unfeasible. Therefore and for this case, the switch would have to have two trunk ports. If we speak strictly at the physical level, if you have two VLANs, you can choose to occupy one port of the router for each port so that it connects to the switch. On the other side of the switch there is a connection between it and a router. That is, the switch has two ports occupied by both computers. These computers are connected to a switch through their corresponding interfaces. Two computers are presented, each of them is connected to a VLAN. What does Router-on-a-Stick mean? Let’s look at this example network: In case you have a “normal” L2 switch, you will need the services of a router to intercommunicate the VLANs, decapsulating and encapsulating the VLANs to communicate them correctly. If your network has more than one VLAN, it is not possible for the switch to fulfill the function of allowing a computer in VLAN 1 to communicate with VLAN 2, except if it is an L2 + or 元 switch that incorporates the Inter functionality. The router has all the necessary features to be able to make decisions about which is the best way to go, so that no data packet is discarded or is blocked at some point in its journey through the network. Each router has a routing table in which are the possible destinations where the path followed by each data packet should be redirected. The routing itself is made possible by the routing tables. In turn, it can connect with other routers in order to exchange routing information. Packet sent with a source address of 192.168.55.On the other hand, what exactly is the role of the router? This device has the ability to connect to one or more networks. Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms Switch#ping 192.168.33.1 source vlan 55 Sending 5, 100-byte ICMP Echos to 192.168.33.1, timeout is 2 seconds: Ping to 192.168.33.1 from all the SVI sources. Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms Packet sent with a source address of 192.168.55.55 Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms Switch#ping 192.168.55.1 source vlan 55 Packet sent with a source address of 192.168.44.44 Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms Packet sent with a source address of 192.168.33.33 Sending 5, 100-byte ICMP Echos to 192.168.55.1, timeout is 2 seconds: Ping to 192.168.55.1 from all the SVI sources. Perform some pings from ESM to CGR2010 virtual interfaces: Write discconect to finish the ESM session.ĬGR2010 configuration : interface GigabitEthernet0/0/0.33 Use caution while changing the configurationĮxit the ESM module. Press the key combination: ctrl + shift + 6 and then x. ConfigureĮSM Module: !- Default configuration -!ĭescription Internal backplane interface. If your network is live, ensure that you understand the potential impact of any command. All devices used in this document started with a cleared (default) configuration. The outputs in this document were taken from devices in a specific lab environment. The information in this document is based on this hardware/software versions CGR2010 with Cisco IOS Release 15.1(4)M
#WHAT STATEMENT ABOUT A ROUTER ON A STICK IS HOW TO#
This document describes how to configure router on a stick with a CGR2010 and Cisco Ethernet Switch Module (ESM).