Layer-3 DCI for VXLAN BGP EVPN fabrics—VRF lite
VXLAN BGP EVPN data center fabrics can be connected across Layer-3 boundaries using MPLS L3VPN, VRF IP Routing (VRF lite), or LISP as the mechanism of transport outside the VXLAN fabric. The VRF lite scenario is explained in this chapter.
VM mobility across datacenters
Note |
Additional configuration is not required to support VM movement across fabrics. |
-
VM movement takes place when MAC chaining (multiple IP addresses mapped to the same MAC address) is in effect.
-
When an end host sends a non broadcast packet such as ARP on VM move.
VXLAN BGP EVPN - VRF lite scenario - In brief
- The VXLAN BGP EVPN fabric pods are depicted at the left and the right of the below image (VRF Lite DCI hand-off topology). Routes within a fabric pod are shared between all VTEPs within the pod, including with the Cisco Nexus 7000 Series border leaf switches.
-
The border leaf switches and the WAN ASBR/PE routers are configured to pass on routes between each other through eBGP sessions, using VRF Lite.
For example, tenant VRF routes within VXLAN BGP EVPN fabric (left) are sent to the WAN ASBR routers, and (necessary) reachability routes within the WAN are sent to the border leaf switches on the VXLAN fabric (left).
-
The WAN and the VXLAN fabric (right) can also be connected in a similar way.
As a result, the data center pods depicted in the left and right of the image are seamlessly connected through the WAN using VRF lite.
VXLAN BGP EVPN – VRF lite scenario – In more detail
Route distribution between the VXLAN pod (left) and the WAN are explained in the order given below:
- Route distribution within the VXLAN pod, and subsequent export of VXLAN pod routes from the Border Leaf switch to the WAN.
-
Importing of VXLAN BGP EVPN fabric routes on the WAN edge device.
-
Importing of WAN routes into the VXLAN BGP EVPN border leaf switch.
Step 1 - Route distribution within the VXLAN pod, and subsequent export of VXLAN pod routes to the WAN
The routes within the VXLAN BGP EVPN pod can be exported to the WAN by the following process, thereby extending Layer-3 reachability from the WAN to the ToRs in the VXLAN BGP EVPN fabric.
-
The BGP EVPN control plane in the VXLAN BGP EVPN fabric ensures distribution of routes between VTEPs (and to the border leaf switches) within the fabric. ToRs will forward the attached host IP and MAC addresses (/32 Host IP [or /128, for IPv6 addresses] + MAC routes) using the EVPN Route Type 5 option and the border leaf switch will import the /32 (or /128) routes into local VRF tables.
Note
For VRF Lite extension, configure only those VRF instances on the border leaf switch that need to be extended outside the fabric. You need to configure a Layer-3 sub interface towards the WAN ASBR/PE and establish an eBGP session over that. Based on the configurations on the border leaf switch, the data is forwarded towards the WAN.
-
If configured to do so, the border leaf switch advertises a 0/0 default route (IPv4/IPv6) per VRF to the other leaf switches/ToRs. When ToR switch nodes receive the same route from multiple border leaf switches, it results in ECMP at the ingress ToR/leaf switch nodes.
Step 2 - Importing of VXLAN BGP EVPN fabric routes on the WAN ASBR/PE device
-
To receive VXLAN fabric routes from the border leaf switch, the WAN ASBR/PE routers should also have Layer-3 sub interfaces configured. The 802.1Q ID on each sub interface needs to be the same for a tenant on the WAN ASBR/PE router and the fabric border leaf switch.
-
Similar configurations need to be implemented on the WAN ASBR/PE router (right) designated to communicate with the border leaf switch(es) on the VXLAN fabric (right).
-
The configurations on the WAN ASBR/PE routers and the respective border leaf switches ensure that fabric routes are sent to the WAN and WAN routes to the fabric, for the configured VRFs.
Step 3 -Importing of WAN ASBR/PE routes into the VXLAN BGP EVPN border leaf switch
Routes arriving at the border leaf switch need to be re-advertised to the ToRs in the VXLAN BGP EVPN fabric, with the border leaf VTEP as the next hop for the ToR switches. As a result, Layer-3 reachability is extended from the ToR switches to the WAN. The process is given below.
-
The WAN routes arrive at the relevant sub interfaces on the border leaf switch.
-
The border leaf switches can be configured to re-originate these imported VRF prefixes towards the EVPN control plane (on the fabric side) or can be configured to originate a 0/0 default route in each VRF. If a default route is configured, the ToRs/leaf switches will import this default route, resulting in a VRF default route towards the border leaf switches in all relevant tenant VRFs on the ToRs.
-
If configured to distribute default routes, necessary configuration knobs need to be added in BGP under VRF, and under the neighbor evpn address family to originate a default route towards EVPN neighbors and drop all other routes.