Juniper Collapsed Spine with EVPN
Goal
In this tutorial, We will be setting up a collapsed Spine EVPN/VXLAN with multi-homing.We will use two SRX's in cluster mode to route traffic between the 2 Tenants that we will configure. We will be using BGP for the underlay and overlay.
Prerequisites
For this tutorial we will be using:
- EVE-NG 2.0.3-112
- VQFX model: vqfx-10000 running JUNOS 19.4R1.10 for spines and leaves
- VSRX 3.0
- Debian VM's servers
Diagram
Setup and configuration
Devices | Role | lo.0 IP | VLAN | IP address | ae0 IP | ae0 interfaces | ae1 interfaces | ae2 interfaces | ae5 interfaces | ae6 interfaces | mgmt | local-as underlay | local-as overlay |
cc1 | core swtich1 | 10.179.1.1/32 | 172.16.3.1/3 | xe-0/0[10-11] | xe-0/0/0 | xe-0/0/1 | xe-0/0/9 | xe-0/0/8 | 10.193.0.105/24 | 65012 | 65100 | ||
cc2 | core switch2 | 10.179.1.2/32 | 172.16.3.2/30 | xe-0/0[10-11] | xe-0/0/0 | xe-0/0/1 | xe-0/0/9 | xe-0/0/8 | 10.193.0.106/24 | 65013 | 65100 | ||
sw1 | switch 1 | xe-0/0[0-1] | |||||||||||
sw2 | switch 2 | xe-0/0[0-1] | |||||||||||
srx | Firewall | ||||||||||||
srv1 | Server1 | private1-a-dfw | 10.192.144.100/22 | ||||||||||
srv2 | Server2 | private1-b-dfw | 10.192.160.100/22 | ||||||||||
srv3 | Server3 | private1-d-dfw | 10.192.192.100/22 | ||||||||||
srv4 | Server4 | private1-c-dfw | 10.192.176.100/22 | ||||||||||
srv5 | Server5 | private1-a-dfw | 10.192.144.200/22 | ||||||||||
srv6 | Server6 | private1-b-dfw | 10.192.160.200/22 | ||||||||||
srv7 | Server7 | private1-c-dfw | 10.192.176.200/22 | ||||||||||
srv8 | Server8 | private1-d-dfw | 10.192.192.200/22 |
core switch 1 configuration
core switch 2 configuration
switch 1 configuration
switch 2 configuration
vSRX configuration
Interface maping EVE-NG/vSRX
On EVE-NG ge-0/0/1 is ge-0/0/0 in the vSRX and ge-0/0/2 is ge-0/0/1 and so on. If you connect on EVE-NG for example ge-0/0/5 when you login to the vSRX the interface that needs to be setup will be ge-0/0/4.