In this lab, we will configure L2 and L3 EVPN Services and the corresponding VLANs on the leaf server ports:
VLAN 134
is local toPOD1
and part of VRFBlue
. The Anycast Gateway in this VLAN is10.111.134.1/24
.VLAN 234
is local toPOD2
and part of VRFBlue
. The Anycast Gateway in this VLAN is10.222.234.1/24
.VLAN 112
is a L2VNI stretched acrossPOD1
andPOD2
.s1-host1
ands1-host2
have Layer 3 interfaces inVLAN 134
andVLAN 112
.s2-host1
ands2-host2
have Layer 3 interfaces inVLAN 234
andVLAN 112
.
At the end if this lab, hosts will be able to ping each other using VLAN 112
(VXLAN bridged traffic) but also through VLAN 134
and VLAN 234
(VXLAN routed traffic).
-
Go to the folder
/home/coder/project/persist/avd-toi
. -
Create
group_vars/CONNECTED_ENDPOINTS.yml
. Use the Connected Endpoints model to create the configuration to attachs1-host1
,s1-host2
,s2-host1
ands2-host2
to the fabric.Solution: Don't cheat, use your brain and RTFM
One possible solution is accessible here. -
Run the playbook
build.yml
with the commandansible-playbook build.yml
. Verify the configurations inintended/configs
. -
Create
group_vars/NETWORK_SERVICES.yml
. Use the Network Services model to create theL2 VLAN 112
acrossPOD1
andPOD2
. Create a VRF calledBlue
that will have 2 SVIs inVLAN 134
onPOD1
only and inVLAN 234
onPOD2
only. You can make use of tags to filter on which leaf the configuration is deployed.Solution: Don't cheat, use your brain and RTFM
One possible solution is accessible here. -
Run the playbook
build.yml
with the commandansible-playbook build.yml
. Verify the configurations inintended/configs
. -
Run the playbook
deploy.yml
with the commandansible-playbook deploy.yml
. -
Go to the CloudVision instance or your Arista Test Drive lab and open the
Provisioning
menu. -
Go to the
Tasks
tab, select the tasks that have been created by the playbook and create a change control. At this point, you can select the Parallel arrangement to have the tasks executed in parallel within the change control. -
You will be taken to the
Change Control
tab in the newly created change control. You can rename theChange Control
to give it a meaningful name. Review, Approve and Execute the change control. -
When the change control is completed, the border leafs will be configured to extend the EVPN domain. You can eventually access the devices via SSH and run the
show running-config
command to verify the configuration.