![how to setup router on a stick how to setup router on a stick](https://www.firewall.cx/images/stories/tk-cisco-routers-on-stick-1.jpg)
Guest VLANS + Guest Wifi - Different IP Range, Out to Filtered Internet ().What is IPv6 ? An introduction to IPV6 ().Like always if you an idea of the next topic let me hear it. ( Router-On-Stick-Example-RunConfig) If you have any questions post them below.
#How to setup router on a stick pdf
I hope this information is helpful I have also attached a PDF of the running-config of both devices to give you an example of the configuration. To create a sub-interface start typing the interface that will be physically connected to the switch at the end add a period and number.ĢCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPģ D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaĤ N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2ĥ E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPĦ i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter areaħ * - candidate default, U - per-user static route, o - ODRġ1 12C 192.168.1.0/24 is directly connected, FastEthernet0/0ġ3C 192.168.2.0/24 is directly connected, FastEthernet0/0.2ġ4C 192.168.3.0/24 is directly connected, FastEthernet0/0.3
![how to setup router on a stick how to setup router on a stick](https://i.ytimg.com/vi/nasc5Wtifsk/maxresdefault.jpg)
You have to create sub-interfaces on the router to route between different VLANs these sub-interfaces do not correspond to the VLANs so you could put any number but for manageability usually people use the same sub-interface has the VLAN ID. VLAN 1 which is the native VLAN, VLAN 2 and VLAN 3 (which is called "Support").
#How to setup router on a stick Pc
If you look at the network topology below you can see where Cisco came up with the name "Router on Stick" each PC is on its own network and needs the router in order for traffic to pass between the networks. If you like to understand how create VLANs on a switch follow the post above. I have already configured the Cisco switch as posted in Creating VLANs but in summary I have three VLANs total VLAN 1 which is the native VLAN, VLAN 2 and VLAN 3 (which is called support. By having VLANs you are segmenting the network and the only way to get to the other side is having a router. Setting Port 1 to Vlan Mode "enabled" and VLAN Header to "add if missing" makes Port 1 a trunk port.ģ.A while ago I talked about putting different VLANs on a switch, remember a VLAN is virtual network that although physically it may look like on the same network that does not always mean the case. The VLAN page determines how the switch strips the Vlan tags with specific Vlan ID's from the packets as they exit these ports. Begin by clicking on the VLAN tab and make the following changes, assuming the trunk port will be Port1 (the port that is connected to the router).Ģ.
![how to setup router on a stick how to setup router on a stick](https://i.ytimg.com/vi/W7O3olbvu5A/maxresdefault.jpg)
You must be accessing the switch via ehter2 through ether5 since you are about to turn ether1 into a trunk port and you will lose communication with the switch at that point on ether1.ġ. NOTE: Before starting configuration, it is assumed you have 192.168.88.2 bound to your laptop and the switch is at the default Ip of 192.168.88.1. In this example we need two ports for devices on Vlan 30 on Ports 3 & 5 and one port for device on Vlan 40 on Port 4 and one port for a device on Vlan 20 on port 2. Selection of the Vlan ID and the assignment to the ports is your choice, decide what Vlan ID's you will use and where you will assign them. NOTE: Once you set port 1 to "trunk" mode, you will not longer be able to communicate with the switch unless you create a Vlan1 on your router. The way the OS is built, there is no need for a default gateway or a subnet mask. This behavior is a bit different than Cisco IOS that responds to untagged traffic via an IP bound to Vlan 1.
![how to setup router on a stick how to setup router on a stick](https://i.ytimg.com/vi/fQqvl-zVh80/maxresdefault.jpg)
Note that the switch will respond to http requests to its IP address on all ports. In this example we are using Vlan Id's 1, 20, 30 and 40. The default user name is admin with no password.Īll settings may be left at the defaults with the exception of a few. To log into the RB250GS switch, simply web browse to 192.168.88.1 from a computer on the same physical network segment with an IP on the same subnet, 192.168.88.0/24. The purpose of this article is to show the steps required to setup the MikroTik RB250GS switch as a trunked switch in the router-on-a-stick configuration. In practice, this same configuration can be used between two switches or two routers. In this example, a router with a single Ethernet interface is trunked to a MikroTik switch.