Aruba CX lab 5 of 16
Inter-VLAN routing with a DHCP server and relay
Make an AOS-CX core switch the default gateway for two VLANs, connect it to a services switch over a routed link with static routes, run a DHCP server on the services switch and relay host requests to it.
Run this lab
It needs Lite: its 4 nodes are set to 6 vCPU and 7,168 MB in total. That fits the free demo too.
In your workspace: Shared, then HPE Aruba Networking CX switching guided labs, then 05 - Inter-VLAN routing with a DHCP server and relay
- Level
- Intermediate
- Time
- About 55 minutes
- Nodes need
- 6 vCPU, 7,168 MB
- Smallest plan
- Lite
The scenario
Northwind Logistics is adding handheld scanners. Staff PCs (VLAN 10) and scanners (VLAN 20) need addresses from DHCP, a default gateway on the core switch core1, and a path to the upstream network behind the services switch svc1, which also hosts the DHCP service. The access ports are already in the right VLANs.
| Device | Interface | Address |
|---|---|---|
| core1 | 1/1/1 (routed) | 10.0.0.1/30 |
| core1 | vlan 10 / vlan 20 | 10.10.10.1/24 / 10.10.20.1/24 |
| svc1 | 1/1/1 (routed) | 10.0.0.2/30 |
| svc1 | loopback 1 | 203.0.113.1/32 (stands in for the internet) |
| DHCP pool (on svc1) | Range | Gateway | DNS |
|---|---|---|---|
| STAFF | 10.10.10.100–10.10.10.199 /24 | 10.10.10.1 | 10.0.0.53 |
| SCANNERS | 10.10.20.100–10.10.20.199 /24 | 10.10.20.1 | 10.0.0.53 |
What you’ll practise
- Configure routed ports and VLAN interfaces (SVIs) as default gateways
- Add a default route and a summary return route, and read show ip route
- Configure an AOS-CX DHCP server with two pools
- Relay DHCP from client VLANs with ip helper-address, and explain giaddr
- Verify leases on the server and addresses on the clients
The tasks
- The routed link
- Default gateways on core1
- Static routes
- A DHCP server on svc1
- Relay the requests
- End-to-end test
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
- core1
1/1/1to svc11/1/1 - core1
1/1/2to h10eth0 - core1
1/1/3to h20eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| core1 | Aruba AOS-CX virtual switch | arubacx-10.14 | 2 vCPU, 3,072 MB |
| svc1 | Aruba AOS-CX virtual switch | arubacx-10.14 | 2 vCPU, 3,072 MB |
| h10 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| h20 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 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
HPE Aruba Networking CX switching guided labs.Open
05 - Inter-VLAN routing with a DHCP server and relayand 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 Aruba CX labs
Related labs in other courses
CloudLabBox is independent of Hewlett Packard Enterprise. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.