In the scenario where a data center is interconnected with an enterprise site, a CE is dual-homed to a VXLAN network. In this way, carriers can enhance VXLAN access reliability to improve the stability of user services so that rapid convergence can be implemented in case of a fault.
On the network shown in Figure 1, CE1 is dual-homed to PE1 and PE2. PE1 and PE2 use a virtual address as an NVE interface address at the network side, namely, an Anycast VTEP address. In this way, the CPE is aware of only one remote NVE interface. A VTEP address is configured on the CPE to establish a VXLAN tunnel with the Anycast VTEP address so that PE1, PE2, and the CPE can communicate.
The packets from the CPE can reach CE1 through either PE1 or PE2. However, single-homed CEs may exist, such as CE2 and CE3. As a result, after reaching a PE, the packets from the CPE may need to be forwarded by the other PE to a single-homed CE. Therefore, a bypass VXLAN tunnel needs to be established between PE1 and PE2.
Before an IPv6 network is used to transmit traffic between a CPE and PE, an IPv4 over IPv6 tunnel must be configured between them. To enable a VXLAN tunnel to recurse routes to the IPv4 over IPv6 tunnel, static routes must be configured on the CPE and PE, and the outbound interface of the route destined for the VXLAN tunnel's destination IP address must be set to the IPv4 over IPv6 tunnel interface.
Layer 2 communication
The EVPN view is displayed.
The function to add the VLAN private extended community attribute to routes to be sent to a peer is enabled.
The function to redirect the received routes that carry the VLAN private extended community attribute is enabled.
Local-remote FRR is enabled.
Exit the EVPN view.
The configuration is committed.
Layer 3 communication
The BGP view is displayed.
The BGP-VPN instance IPv4 address family is enabled, and its view is displayed.
BGP auto FRR is enabled.
The function to exchange EVPN routes with a specified peer or peer group is enabled. The IP address is a CE address.
The function to advertise EVPN IP prefix routes from a VPN instance is enabled.
Exit the BGP-VPN instance IPv4 address family view.
Exit the BGP view.
The configuration is committed.
For configuration details, see the section Example for Configuring VXLAN over IPsec.
After configuring the VXLAN active-active scenario, verify information on the VXLAN tunnel, VNI status, and VBDIF. For details, see the section Verifying the Configuration of VXLAN in Distributed Gateway Mode Using BGP EVPN.