Configuring IPv6 VXLAN in Distributed Gateway Mode Using BGP EVPN

Distributed IPv6 VXLAN gateways can be configured to address problems that occur in centralized gateway networking. Such problems include sub-optimal forwarding paths and bottlenecks on Layer 3 gateways in terms of ARP or ND entry specifications.

Usage Scenario

On the network shown in Figure 1, Server1 and Server2 on different subnets both connect to Leaf1. When Server1 and Server2 communicate, traffic is forwarded only through Leaf1, not through any spine node.

Distributed IPv6 VXLAN gateways have the following characteristics:
  • Flexible deployment. A leaf node can function as both Layer 2 and Layer 3 IPv6 VXLAN gateways.

  • Improved network expansion capabilities. Unlike a centralized Layer 3 gateway, which has to learn the ARP or ND entries of all servers on a network, a distributed gateway needs to learn the ARP or ND entries of only the servers attached to it. This addresses the problem of the ARP or ND entry specifications being a bottleneck for packet forwarding.

Figure 1 Distributed gateways for an IPv6 VXLAN

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

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

The following table lists the differences in distributed gateway configuration between IPv4 and IPv6 overlay networks.

Configuration Task

IPv4 Overlay Network

IPv6 Overlay Network

Configure a VPN instance for route leaking with an EVPN instance.

Enable the IPv4 address family of the involved VPN instance and then complete other configurations in the VPN instance IPv4 address family view.

Enable the IPv6 address family of the involved VPN instance and then complete other configurations in the VPN instance IPv6 address family view.

Configure a Layer 3 gateway on an IPv6 VXLAN.

Configure an IPv4 address for the VBDIF interface of the Layer 3 gateway.

Configure an IPv6 address for the VBDIF interface of the Layer 3 gateway.

Configure IPv6 VXLAN gateways to exchange specific types of routes.

  • For IP prefix routes, perform the configuration in the BGP-VPN instance IPv4 address family view.

  • For IRB routes, run the arp collect host enable command.

  • For IP prefix routes, run the arp vlink-direct-route advertise command in the IPv4 address family view of the VPN instance to which the involved VBDIF interface is bound.
  • For IP prefix routes, perform the configuration in the BGP-VPN instance IPv6 address family view.

  • For IRBv6 routes, run the ipv6 nd collect host enable command.

  • For IP prefix routes, run the nd vlink-direct-route advertise command in the IPv6 address family view of the VPN instance to which the involved VBDIF interface is bound.

Pre-configuration Tasks

Before configuring IPv6 VXLAN in distributed gateway mode using BGP EVPN, complete the following task:

  • Configure IPv6 connectivity on the network.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >