Linux for network engineers lab 3 of 14
VLAN interfaces, bridges and bonds
You connect a Linux box to a real switch with an LACP bond, carry two VLANs over it, route between them and bridge a new PC into one. Then you pull a link.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 2,816 MB in total. That fits the free demo too.
In your workspace: Shared, then Linux for network engineers guided labs, then 03 - VLAN interfaces bridges and bonds
- Level
- Intermediate
- Time
- About 70 minutes
- Nodes need
- 5 vCPU, 2,816 MB
- Smallest plan
- Lite
The scenario
Kestrel's York depot uses LNX1 as its router. Two cables run to switch SW1, and the team wants them bonded with LACP so a cable fault doesn't stop the depot. Drivers are in VLAN 10 and the office is in VLAN 20. There's no free switch port for the new PC, H3, so it plugs straight into LNX1, and it still has to sit in VLAN 20.
| Device | Interface | Address | Role |
|---|---|---|---|
| H1 | eth0 | 10.3.10.10/24 | VLAN 10, access port Gi0/2 |
| H2 | eth0 | 10.3.20.20/24 | VLAN 20, access port Gi0/3 |
| H3 | eth0 | 10.3.20.30/24 | VLAN 20, through LNX1's bridge |
| LNX1 | bond0.10 | 10.3.10.1/24 | VLAN 10 gateway |
| LNX1 | bond0.20, then br20 | 10.3.20.1/24 | VLAN 20 gateway |
| SW1 | Po1 (Gi0/0, Gi0/1) | trunk: VLANs 10, 20, LACP active |
| Device | Runs | How to log in |
|---|---|---|
| H1, H2, H3 | Alpine Linux 3.20 | root, no password. |
| SW1 | Cisco IOSvL2 | The console opens at >; enable has no password. |
| LNX1 | Alpine Linux 3.16 with iptables and iproute2 | Opens on a menu: press 5, then Enter, for a root shell. |
What you’ll practise
- Build an 802.3ad bond and match it to an IOS port channel
- Create 802.1Q VLAN interfaces on a bond
- Route between VLANs on Linux
- Build a Linux bridge and move an address on to it
- Test link failure and read the bond state
The tasks
- Start the Linux nodes
- Build the bond
- Add VLAN interfaces
- Route between the VLANs
- Bridge a new PC into VLAN 20
- Fail a link
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.
Every link, as text
- SW1
Gi0/0to LNX1eth0 - SW1
Gi0/1to LNX1eth1 - SW1
Gi0/2to H1eth0 - SW1
Gi0/3to H2eth0 - LNX1
eth2to H3eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H2 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H3 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| SW1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| LNX1 | Alpine WAN emulator | clbalpinewanem-alpine-3-16-2-wanem | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Linux for network engineers guided labs.Open
03 - VLAN interfaces bridges and bondsand 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 Linux for network engineers labs
All Linux for network engineers labs
Related labs in other courses
CloudLabBox is independent of Cisco, CompTIA, the Linux Foundation and the Linux Professional Institute. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.