Arista EOS lab 4 of 20
MLAG with VARP and VRRP gateways
Join two Arista leaves into an MLAG pair so an access switch can dual-home with one LACP port-channel, then give the hosts an active-active VARP gateway and compare it with an active-standby VRRP gateway.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 7,168 MB in total. That fits the free demo too.
In your workspace: Shared, then Arista EOS guided labs, then 04 - MLAG with VARP and VRRP gateways
- Level
- Intermediate
- Time
- About 70 minutes
- Nodes need
- 5 vCPU, 7,168 MB
- Smallest plan
- Lite
The scenario
Northwind's first rack has a pair of leaves, leaf1a and leaf1b, and an access switch acc1 cabled to both. Today acc1 can only use one uplink (spanning tree blocks the other) and the hosts' gateway lives on a single leaf. You will make the two leaves one logical switch with MLAG, bundle acc1's uplinks into one LACP port-channel that spans both leaves, and build redundant gateways: active-active VARP for VLAN 10 and classic VRRP for VLAN 20, so you can compare them.
| Device | Interface | Purpose | Address |
|---|---|---|---|
| leaf1a | Ethernet1-2 → Po10 | MLAG peer link to leaf1b | – |
| leaf1a | Vlan4094 | MLAG peering (local interface) | 10.255.255.1/30 |
| leaf1a | Ethernet3 → Po20 (mlag 20) | to acc1 Ethernet1 | – |
| leaf1a | Vlan10 / Vlan20 | SVIs | 10.10.10.2/24 · 10.10.20.2/24 |
| leaf1b | Ethernet1-2 → Po10 | MLAG peer link to leaf1a | – |
| leaf1b | Vlan4094 | MLAG peering | 10.255.255.2/30 |
| leaf1b | Ethernet3 → Po20 (mlag 20) | to acc1 Ethernet2 | – |
| leaf1b | Vlan10 / Vlan20 | SVIs | 10.10.10.3/24 · 10.10.20.3/24 |
| acc1 | Ethernet1-2 → Po20 | uplinks | – |
| – | Gateways | VLAN 10 VARP / VLAN 20 VRRP | 10.10.10.1 · 10.10.20.1 |
| h10 · h20 | eth0 | hosts on acc1 Et3 (VLAN 10) / Et4 (VLAN 20) | 10.10.10.11/24 · 10.10.20.11/24 |
What you’ll practise
- Build an MLAG peer link with a trunk group and a dedicated peer VLAN kept out of spanning tree
- Configure and verify the MLAG domain (domain ID, local interface, peer address, peer link)
- Dual-home a downstream switch with one LACP port-channel across both MLAG peers
- Configure VARP so both peers answer for the same gateway IP and MAC
- Configure VRRP with a deliberate master and compare it with VARP
- Test failover by breaking one member link
The tasks
- Build the peer link
- Form the MLAG domain
- Dual-home acc1 with one port-channel
- Active-active gateway with VARP
- Active-standby gateway with VRRP
- Test the hosts and 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
- leaf1a
Ethernet1to leaf1bEthernet1 - leaf1a
Ethernet2to leaf1bEthernet2 - leaf1a
Ethernet3to acc1Ethernet1 - leaf1b
Ethernet3to acc1Ethernet2 - acc1
Ethernet3to h10eth0 - acc1
Ethernet4to h20eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| leaf1a | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| leaf1b | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 MB |
| acc1 | Arista vEOS | veos-4.33.1.1F | 1 vCPU, 2,048 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
Arista EOS guided labs.Open
04 - MLAG with VARP and VRRP gatewaysand 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 Arista EOS labs
Related labs in other courses
CloudLabBox is independent of Arista Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.