![router on a stick config example router on a stick config example](https://setuprouter.com/networking/how-to-find-your-routers-internal-ip-address/cmd-prompt-ipaddress-circle.png)
- #ROUTER ON A STICK CONFIG EXAMPLE HOW TO#
- #ROUTER ON A STICK CONFIG EXAMPLE DOWNLOAD#
- #ROUTER ON A STICK CONFIG EXAMPLE WINDOWS#
To enable the sub-interface to use 802.1q you’ll use the encapsulation dot1q # command whereas # is the dot1q VLAN tag as shown below Įnter configuration commands, one per line. To create a new sub-interface you’ll use the interface fa0/0.# command in global configuration mode. Configure the sub-interface to use the IP address 10.1.20.1/24. – Configure a new Sub-Interface on R1 to match the VLAN 20 (Fa0/0.20) and configure the sub-interface to use 802.1q encapsulation and the Dot1q tag of 20.
![router on a stick config example router on a stick config example](https://geek-university.com/wp-content/uploads/2015/10/configure_router_on_stick_switch.jpg)
![router on a stick config example router on a stick config example](https://geek-university.com/wp-content/uploads/2015/10/configure_router_on_stick.jpg)
#ROUTER ON A STICK CONFIG EXAMPLE WINDOWS#
This command is executed from global configuration and disables the routers ability to be used as a router, effectively turning it into a test client machine like a windows box. This command is executed from ethernet sub-interface configuration mode and binds the sub interface(s) to a particular 802.1q tagged vlan. In this lab you’ll familiarize yourself with the following new commands Command In this lab you’ll use sub-interfaces to match the VLAN’s in the trunk to allow for interfaces in each VLAN and accomplish inter-vlan routing for the hosts as the router has an interface in each layer three network. A sub-interface allows you to have multiple interface configurations on a single physical interface. 802.1q trunk interfaces carry all VLAN traffic.Ī single Router can utilize an 802.1q trunk link to place a sub-interface in each VLAN using a single physical link and technically have interfaces in all VLAN’s.Ī Sub-Interface is a logical interface partitioned off from a physical interface. Think back to the previous lab discussing Dot1q trunk interfaces. In this case you only need a SINGLE router and that’s it. The answer is easier then you’d initially think. So does this mean that multiple routers are required or a router with 5 physical ethernet interfaces, one interface in each VLAN? So let’s say for example you have a single switch with 5 different VLAN’s and machines on each VLAN in which case each VLAN would require its own router to get out of that layer two network to a different layer two network. ip address 192.168.0.2 only way to get off a layer two network segment is through a layer three device commonly referred to as a Default Gateway for host machines. We will do the same configuration steps for Router B too. We can configure Subnet Mask with long versions like (255.255.255.255) or short versions (32). Again, we will configure IP Address and Subnet Mask. The second interface configuration on Router A will be Loopback 0 configuration. We will use “undo shutdown” command to open the port. Because by default router ports are shutdown. In Router A, firstly we will con figure Gigabit Ethernet 0/0/0 interface IP Address with its Subnet Mask. Let’s start the configuration with Router A. Loopback interface configuration is done for other special activities.Here, we will also configure it only to show you that it is not different than a physical interface configuration. Physical interface configuration will be done for the communication of two router.
![router on a stick config example router on a stick config example](https://media.geeksforgeeks.org/wp-content/uploads/Untitled-Diagram-2.jpg)
In this configuration example, we have 1 loopback and 1 physical interface per router.
#ROUTER ON A STICK CONFIG EXAMPLE DOWNLOAD#
You can download this configuration on Huawei eNSP Labs Page.Īs you can see above, there are two types interfaces. You can test youself with Huawei HCIA Questions Page.įor our example, we will use the below simple topology.
#ROUTER ON A STICK CONFIG EXAMPLE HOW TO#
Here, we will show how to configure Huawei Router Interfaces with given IP addresses. Huawei Router Interface Configuration is one of the first configuration that Junior Network Engineers learn on Huawei Routers.