HCIA-Datacom lab 11 of 22

Inter-VLAN routing with sub-interfaces and VLANIF

Route between VLANs two ways. First a router-on-a-stick with dot1q termination sub-interfaces, then a migration of the internal VLANs to VLANIF gateways on the CloudEngine switch, without touching a single PC. The guest VLAN stays on the router, and a transit VLAN with static routes ties the two together.

Run this lab

It needs Lite: its 5 nodes are set to 6 vCPU and 7,168 MB in total. That fits the free demo too.

In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 11 - Inter-VLAN routing with sub-interfaces and VLANIF

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 60 minutes
Nodes need
6 vCPU, 7,168 MB
Smallest plan
Lite

The scenario

Northwind has three VLANs on its office switch SW1: Finance (10), Sales (20) and Guest (30). Every PC's gateway is the .254 address of its subnet. Today you'll first route between the VLANs on the router R1 over a single trunk (a "router-on-a-stick"). Then, because the trunk to R1 is becoming a bottleneck, you'll move Finance and Sales routing onto the switch itself. Guests stay on R1, where internet policy will later be enforced.

DeviceInterfaceAddress
R1GE0/0/0 (trunk to SW1 GE1/0/1)sub-interfaces, see the tasks
R1LoopBack08.8.8.8/32 (the "internet")
PC1 / PC2 / PC3SW1 GE1/0/10 / GE1/0/11 / GE1/0/12.10 in VLAN 10 / 20 / 30, gateway .254
Transit (after Task 4)VLAN 100R1 10.0.0.1/30, SW1 Vlanif100 10.0.0.2/30

What you’ll practise

  • Configure dot1q termination sub-interfaces on an AR router (router-on-a-stick)
  • Configure VLANIF interfaces on a switch for Layer 3 switching
  • Migrate gateways between devices without changing host configuration
  • Use a transit VLAN and static routes between a Layer 3 switch and a router

The tasks

  1. VLANs and access ports on SW1
  2. Router-on-a-stick
  3. Plan the migration
  4. Migrate Finance and Sales
  5. Prove the new design

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Inter-VLAN routing with sub-interfaces and VLANIF5 nodes, 4 links. Every link is listed as text below the diagram.R1SW1PC1PC2PC3GE0/0/0GE1/0/1GE1/0/11eth0GE1/0/10eth0GE1/0/12eth0
5 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Inter-VLAN routing with sub-interfaces and VLANIF, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
SW1Huawei CloudEngine CE6800huaweice6800-bundled2 vCPU, 2,048 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC3VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder HCIA-Datacom H12-811 guided labs.

  3. Open 11 - Inter-VLAN routing with sub-interfaces and VLANIF and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More HCIA-Datacom labs

All HCIA-Datacom labs

Related labs in other courses

CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.