27Configuring a distributed VXLAN IP gatewayConfiguration restrictions and guidelinesMake sure a VSI interface uses the same MAC address to provide service on distributed VXLAN IPgateways connected to IPv4 sites. Make sure a VSI interface uses different link-local addresses toprovide service on distributed VXLAN IP gateways connected to both IPv4 and IPv6 sites.If both ARP flood suppression and local proxy ARP are enabled on a distributed VXLAN IP gateway,only local proxy ARP takes effect. As a best practice, do not use these features together ondistributed VXLAN IP gateways. For more information about ARP flood suppression, see "EnablingARP flood suppression."Configuration prerequisitesFor a VXLAN that requires access to the external network, configure a static route to specify theVXLAN's VSI interface on the border gateway as the next hop.Configuration procedureStep Command Remarks1. Enter system view. system-view N/A2. Create a VSI interfaceand enter VSI interfaceview.interface vsi-interfacevsi-interface-id By default, no VSI interfaces exist.3. Assign an IPv4 or IPv6address to the VSIinterface.• Assign an IPv4address:ip address ip-address{ mask | mask-length }[ sub ]• Assign an IPv6address:See IPv6 basics inLayer 3—IP ServicesConfiguration Guide.By default, no IPv4 or IPv6 address isassigned to a VSI interface.This interface will be used as a gateway forVXLANs.4. Specify the VSIinterface as adistributed gateway.distributed-gateway local By default, a VSI interface is not a distributedgateway.5. Enable local proxy ARPor local ND proxy.• Enable local proxy ARPon an IPv4 gateway:local-proxy-arpenable [ ip-rangestartIP to endIP ]• Enable local ND proxyon an IPv6 gateway:local-proxy-nd enableBy default, local proxy ARP and local NDproxy are disabled.For more information about the commands,see Layer 3—IP Services CommandReference.6. Return to system view. quit N/A