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

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 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.

DeviceInterfaceAddress
core11/1/1 (routed)10.0.0.1/30
core1vlan 10 / vlan 2010.10.10.1/24 / 10.10.20.1/24
svc11/1/1 (routed)10.0.0.2/30
svc1loopback 1203.0.113.1/32 (stands in for the internet)
DHCP pool (on svc1)RangeGatewayDNS
STAFF10.10.10.100–10.10.10.199 /2410.10.10.110.0.0.53
SCANNERS10.10.20.100–10.10.20.199 /2410.10.20.110.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

  1. The routed link
  2. Default gateways on core1
  3. Static routes
  4. A DHCP server on svc1
  5. Relay the requests
  6. 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.

Topology of Inter-VLAN routing with a DHCP server and relay4 nodes, 3 links. Every link is listed as text below the diagram.core1svc1h10h201/1/3eth01/1/2eth01/1/11/1/1
4 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Inter-VLAN routing with a DHCP server and relay, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
core1Aruba AOS-CX virtual switcharubacx-10.142 vCPU, 3,072 MB
svc1Aruba AOS-CX virtual switcharubacx-10.142 vCPU, 3,072 MB
h10Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
h20Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 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 HPE Aruba Networking CX switching guided labs.

  3. Open 05 - Inter-VLAN routing with a DHCP server and relay 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 Aruba CX labs

All 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.