Configuring VXLAN in Centralized Gateway Mode Using BGP EVPN

When VXLAN in centralized gateway mode using BGP EVPN is deployed, traffic across network segments is forwarded through Layer 3 VXLAN gateways to implement centralized traffic management.

Usage Scenario

An enterprise has allocated VMs in different locations to a tenant. Some of the VMs reside on the same network segment, and the others reside on different network segments. To allow communication between VMs, deploy Layer 2 and Layer 3 VXLAN gateways and establish VXLAN tunnels.

On the network shown in Figure 1, Server 2 and Server 3 belong to the same network segment and access the VXLAN through Device 1 and Device 2, respectively; Server 1 and Server 2 belong to different network segments and both access the VXLAN through Device 1.
  • To allow VM 1 on Server 2 and VM 1 on Server 3 to communicate, deploy Layer 2 VXLAN gateways on Device 1 and Device 2 and establish a VXLAN tunnel between Device 1 and Device 2 so that tenants on the same network segment can communicate.
  • To allow VM 1 on Server 1 and VM 1 on Server 3 to communicate, deploy a Layer 3 VXLAN gateway on Device 3 and establish a VXLAN tunnel between Device 1 and Device 3 and between Device 2 and Device 3 so that tenants on different network segments can communicate.

Either IPv4 or IPv6 addresses can be configured for VMs and Layer 3 VXLAN gateways. This means that a VXLAN overlay network can be an IPv4 or IPv6 network. Figure 1 shows an IPv4 overlay network.

Figure 1 VXLAN in centralized gateway mode

Pre-configuration Tasks

Before configuring VXLAN in centralized gateway mode for static tunnel establishment, ensure that the network is reachable at Layer 3.

Configuration Procedures

Figure 2 Flowchart for configuring centralized VXLAN gateways

If only VMs on the same network segment need to communicate with each other, Layer 3 VXLAN gateways do not need to be deployed. If VMs on different network segments need to communicate with each other or VMs on the same network segment need to communicate with external networks, Layer 3 VXLAN gateways must be deployed.

The following table lists the differences between the centralized gateway configuration procedures for an IPv4 overlay network and an IPv6 overlay network.

Differed Configuration Task

IPv4 Overlay Network

IPv6 Overlay Network

Configuring a Layer 3 VXLAN Gateway

Configure an IPv4 address for a VBDIF interface.

Configure an IPv6 address for a VBDIF interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >