26b. Replaces the sender MAC address in the request with the MAC address of VSI-interface 20on GW 2, and then sends the reply to GW 1.8. GW 1 de-encapsulates the ARP request and creates an ARP entry for Terminal 5. The entrycontains Terminal 5's IP address 20.1.1.12, the MAC address of VSI-interface 20 on GW 2, andthe incoming tunnel interface.9. For subsequent traffic between Terminal 1 and Terminal 5, GW 1 and GW 2 use theirrespective ARP tables to make the forwarding decision.VXLAN-to-external network traffic forwardingAs shown in Figure 12, the network uses the following process to forward traffic from a VXLAN to theLayer 3 network (for example, from Terminal 1 to the host at 50.1.1.1):1. Terminal 1 sends an ARP request to obtain the MAC address of the gateway at 10.1.1.1.2. GW 1 creates an ARP entry for Terminal 1 and replies with the MAC address of VSI-interface10 (the gateway interface for VXLAN 10).3. Terminal 1 sends a packet destined for the host to GW 1.4. GW 1 performs the following operations:a. Searches the routing table for the next hop. In this example, the next hop for the packet is10.1.1.2 (the border gateway).b. Floods an ARP request to the local and remote sites in VXLAN 10 to obtain the MACaddress of 10.1.1.2.5. The border gateway de-encapsulates the ARP request, creates an ARP entry for GW 1, andtunnels a reply to GW 1.6. GW 1 de-encapsulates the ARP reply and creates an ARP entry for 10.1.1.2.7. GW 1 sends the packet destined for the host to the border gateway.8. The border gateway de-encapsulates the packet and forwards it to the host.Configuration prerequisitesBefore you configure a centralized or distributed VXLAN IP gateway, you must perform the followingtasks on VTEPs:• Enable Layer 3 forwarding for VXLANs.• Create VSIs and VXLANs.• Configure VXLAN tunnels and assign them to VXLANs.Configuring a centralized VXLAN IP gatewayStep Command Remarks1. Enter system view. system-view N/A2. Create a VSI interface andenter VSI interface view.interface vsi-interfacevsi-interface-id By default, no VSI interfaces exist.3. Assign an IPv4 address tothe VSI interface.ip address ip-address { mask |mask-length }By default, no IPv4 address isassigned to a VSI interface.4. Return to system view. quit N/A5. Enter VSI view. vsi vsi-name N/A6. Specify a gateway interfacefor the VSI.gateway vsi-interfacevsi-interface-idBy default, no gateway interface isspecified for a VSI.