Separation of network connections do not respond to the physical location of the ports on the router. the number of VLANs are not limited by the number of LAN ports available. As we discussed earlier what is a VLAN tutorial that a truck port can forward any VLAN traffic to the far end on a router. In a router on a stick, the switch ports connect to the router over the trunk port. Switch SW1 forwards the tagged unicast traffic out the other trunk link to switch SW2. Networks that utilise router on a stick benefit from only requiring one LAN connection to be used for multiple VLANs, i.e. Router On a stick option for Inter Vlan Routing: To overcome the problem in the basic approach, we have an option called Router On Stick. The unicast traffic is tagged with VLAN30 as it is sent out the router interface to switch SW1. PCs on VLAN 45 that are using the 172.16.45. Router R1 accepts the tagged unicast traffic on VLAN10 and routes it to VLAN30 using its configured subinterfaces. A router-on-a-stick configuration was implemented for VLANs 15, 30, and 45, according to the show running-config command output.
The pro being its a hell of a lot easier to configure the firewalling between the VLANs this way. Router on a Stick), all inter-VLAN traffic is going to have to go via our Firewall device, which will naturally put on a load on its overall throughput (especially with DPI enabled). Switch SW1 forwards the tagged traffic out the other trunk interface on port F0/5 to the interface on router R1. My thoughts - if we route via the firewall (i.e. Switch SW2 then tags the unicast traffic as originating on VLAN10 and forwards the unicast traffic out its trunk link to switch SW1. PC1 sends its unicast traffic to switch SW2
PC1 on VLAN10 is communicating with PC3 on VLAN30 through router R1 using a single, physical router interface. Separation of network connections do not respond to the physical location of the ports on the router. Hence I went for a 'Router on Stick' approach.
The diagram below shows the router being connected and configured with a single interface. Networks that utilise router on a stick benefit from only requiring one LAN connection to be used for multiple VLANs, i.e. The router receives VLAN tagged traffic on the trunk interface from the nearby switch SW1, and forwards the routed traffic out to VLAN tagged destination using the same interface The router interface have to be configured to operate as a trunk link and is connected to a switch port (SW1) which will have to be configured in trunk mode. Router-on-a-stick is a type of router configuration in which a single physical interface manages traffic between multiple VLANs on a network. What is Router-on-a-stick Inter-VLAN Routing?