Aruba CX lab 9 of 16
Dual-homed BGP with route policy and a guest VRF
Connect Northwind's AOS-CX core to two ISPs with eBGP: advertise only the corporate prefix, prefer ISP-A for outbound traffic with local preference, steer inbound traffic with AS-path prepending, and keep guest traffic in its own VRF with its own exit.
Run this lab
It needs Standard: its 5 nodes are set to 8 vCPU and 10,240 MB in total.
In your workspace: Shared, then HPE Aruba Networking CX switching guided labs, then 09 - Dual-homed BGP with route policy and a guest VRF
- Level
- Advanced
- Time
- About 80 minutes
- Nodes need
- 8 vCPU, 10,240 MB
- Smallest plan
- Standard
The scenario
Northwind's head office now has two internet providers. ISP-A (AS 65100) is the expensive, fast primary; ISP-B (AS 65200) is the backup. The ISPs are already configured and send you a default route plus their own prefixes; both can reach the "internet" test address 192.0.2.1. Your requirements:
- advertise only the corporate prefix 10.1.10.0/24, never the link subnets;
- send outbound traffic via ISP-A whenever possible;
- make the rest of the internet prefer ISP-A to reach you;
- keep guests (VLAN 20) in their own routing table, leaving through a separate link to ISP-B.
| Device | Interface | Address |
|---|---|---|
| core1 (AS 65001, router ID 10.255.0.1) | 1/1/1 to ISP-A | 10.100.0.1/30 |
| core1 | 1/1/2 to ISP-B | 10.200.0.1/30 |
| core1 | 1/1/5 to ISP-B, VRF GUEST | 10.250.0.1/30 |
| core1 | vlan 10 (CORP) / vlan 20 (GUEST, VRF GUEST) | 10.1.10.1/24 · 10.2.20.1/24 |
| ISP-A / ISP-B | 1/1/1 | 10.100.0.2 · 10.200.0.2 (ISP-B guest link 10.250.0.2) |
| h1 / h2 | eth0 | 10.1.10.11/24 · 10.2.20.12/24 |
What you’ll practise
- Configure eBGP neighbours and the IPv4 unicast address family on AOS-CX
- Advertise a prefix with network and filter advertisements with a prefix-list and route-map
- Influence outbound path selection with local preference
- Influence inbound path selection with AS-path prepending
- Isolate guest routing in a VRF with its own default route
The tasks
- Bring up the eBGP sessions
- Advertise only the corporate prefix
- Prefer ISP-A outbound: local preference
- Prefer ISP-A inbound: AS-path prepending
- A guest VRF with its own exit
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 ispa1/1/1 - core1
1/1/2to ispb1/1/1 - core1
1/1/5to ispb1/1/2 - core1
1/1/3to h1eth0 - core1
1/1/4to h2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| core1 | Aruba AOS-CX virtual switch | arubacx-10.14 | 2 vCPU, 3,072 MB |
| ispa | Aruba AOS-CX virtual switch | arubacx-10.14 | 2 vCPU, 3,072 MB |
| ispb | Aruba AOS-CX virtual switch | arubacx-10.14 | 2 vCPU, 3,072 MB |
| 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 |
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
09 - Dual-homed BGP with route policy and a guest VRFand 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.