
VXLAN and BGP EVPN Configuration Guide for Dell EMC SmartFabric OS10 Release 10.5.2
Example: VXLAN BGP EVPN — Border leaf gateway with asymmetric IRB
This VXLAN BGP EVPN example shows how to transmit VXLAN traffic to an external network. Traffic from a tenant host that is destined to the Internet is transmitted to a border leaf gateway over L3 VTEPs and an IP underlay fabric.
In the following example, VLT domain 1 is a VLT VTEP. VLT domain 2 is the border leaf VLT VTEP pair. All virtual networks in the data center network are configured in all VTEPs with virtual-network IP and anycast IP gateway addresses.
Configure a dedicated virtual network for sending VXLAN traffic to an external network on all VTEPs. Configure the anycast L3 gateway for the dedicated virtual network only on the border leaf VTEP pair in VLT domain 2. For asymmetric IRB, configure a static default route on all VTEPs, except the border leaf VTEPs. This allows traffic destined to an external network to be transmitted to the anycast L3 address of the dedicated virtual network on the border leaf VTEP. A different static route is configured on the border leaf VTEP. Using this second static route, traffic to an external network is transmitted on an egress VLAN to a WAN router or an Internet address.
When VLT domain 1 receives traffic destined to an external network, the traffic is routed to the dedicated virtual network in the ingress VTEP and sent to the border leaf VTEP. On the border leaf VTEP, the traffic is routed to the VLAN to which an external WAN router is connected or directly connected to the Internet. Similarly, any traffic destined to a VXLAN virtual network that is received on the border leaf VTEP is routed to the destination virtual network.

VTEP 1 Leaf Switch
1. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500 OS10(config-vn-500)# vxlan-vni 500 OS10(config-vn-vxlan-vni)# exit OS10(config-vn-10000)# exit
2. Configure routing on the virtual network.
OS10(config)# interface virtual-network 500 OS10(conf-if-vn-10000)# ip vrf forwarding tenant1 OS10(conf-if-vn-10000)# ip address 10.5.0.231/16
3. Configure a static route for outbound traffic sent to the anycast MAC address of the dedicated virtual network.
OS10(config)#ip route 0.0.0.0/0 10.5.0.100
VTEP 2 Leaf Switch
1. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500 OS10(config-vn-500)# vxlan-vni 500 OS10(config-vn-vxlan-vni)# exit OS10(config-vn-10000)# exit
2. Configure routing on the virtual networks.
OS10(config)# interface virtual-network 500 OS10(conf-if-vn-10000)# ip vrf forwarding tenant2 OS10(conf-if-vn-10000)# ip address 10.5.0.232/16
3. Configure a static route for outbound traffic sent to the anycast MAC address of the dedicated virtual network.
OS10(config)#ip route 0.0.0.0/0 10.5.0.100
VTEP 3 Leaf Switch
1. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500 OS10(config-vn-500)# vxlan-vni 500 OS10(config-vn-vxlan-vni)# exit OS10(config-vn-10000)# exit
2. Configure an anycast gateway MAC address on the boder leaf VTEP. This MAC address must be different from the anycast gateway MAC address configured on non-border-leaf VTEPs.
OS10(config)# ip virtual-router mac-address 00:02:02:02:02:02
3. Configure routing on the virtual network.
OS10(config)# interface virtual-network 500 OS10(conf-if-vn-10000)# ip vrf forwarding tenant1 OS10(conf-if-vn-10000)# ip address 10.5.0.233/16 OS10(conf-if-vn-10000)# ip virtual-router address 10.5.0.100 OS10(conf-if-vn-10000)# no shutdown OS10(conf-if-vn-10000)# exit
4. Configure externally connected VLAN.
OS10(conf)#interface vlan 200 OS10(conf-if-vlan)#ip address 10.10.0.1/16 OS10(conf-if-vlan)#no shutdown OS10(conf-if-vlan)#exit OS10(conf)#interface ethernet 1/1/7 switchport mode trunk switchport trunk allowed vlan 200
5. Configure a static route for outbound traffic sent to VLAN 200.
OS10(config)#ip route 0.0.0.0/0 10.10.0.3
VTEP 4 Leaf Switch
1. Configure a dedicated VXLAN virtual network.
OS10(config)# virtual-network 500 OS10(config-vn-500)# vxlan-vni 500 OS10(config-vn-vxlan-vni)# exit OS10(config-vn-10000)# exit
2. Configure an anycast gateway MAC address on the boder leaf VTEP. This MAC address must be different from the anycast gateway MAC address configured on non-border-leaf VTEPs.
OS10(config)# ip virtual-router mac-address 00:02:02:02:02:02
3. Configure routing on the virtual network.
OS10(config)# interface virtual-network 500 OS10(conf-if-vn-10000)# ip vrf forwarding tenant1 OS10(conf-if-vn-10000)# ip address 10.5.0.234/16 OS10(conf-if-vn-10000)# ip virtual-router address 10.5.0.100 OS10(conf-if-vn-10000)# no shutdown OS10(conf-if-vn-10000)# exit
4. Configure an externally connected VLAN.
OS10(conf)#interface vlan 200 OS10(conf-if-vlan)#ip address 10.10.0.2/16 OS10(conf-if-vlan)#no shutdown OS10(conf-if-vlan)#exit OS10(conf)#interface ethernet 1/1/7 switchport mode trunk switchport trunk allowed vlan 200
5. Configure a static route for outbound traffic sent to VLAN 200.
OS10(config)#ip route 0.0.0.0/0 10.10.0.3