Configuration procedure
To configure a distributed VXLAN IP gateway:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a VSI interface and enter VSI interface view. | interface vsi-interface vsi-interface-id | By default, no VSI interfaces exist. |
3. Assign an IPv4 or IPv6 address to the VSI interface. |
| By default, no IPv4 or IPv6 address is assigned to a VSI interface. This interface will be used as a gateway for VXLANs. |
4. Specify the VSI interface as a distributed gateway. | distributed-gateway local | By default, a VSI interface is not a distributed gateway. |
5. Enable local proxy ARP or local ND proxy. |
| By default, local proxy ARP and local ND proxy are disabled. For more information about the commands, see Layer 3—IP Services Command Reference. |
6. Return to system view. | quit | N/A |
7. (Optional.) Enable dynamic ARP or ND entry synchronization for distributed VXLAN IP gateways. |
| By default, dynamic ARP or ND entry synchronization is disabled for distributed VXLAN IP gateways. When local proxy ARP or local ND proxy is enabled on distributed VXLAN IP gateways, each gateway learns ARP or ND information independently. A gateway does not forward ARP or ND packets destined for it to other gateways. For distributed VXLAN IP gateways to have the same ARP or ND entries, you must enable dynamic ARP or ND entry synchronization. A controller can also synchronize ARP or ND entries among distributed VXLAN IP gateways. When you use a controller, do not enable dynamic ARP or ND entry synchronization. |
8. Enter VSI view. | vsi vsi-name | N/A |
9. Specify the VSI interface as the gateway interface for the VSI. | gateway vsi-interface vsi-interface-id | By default, no gateway interface is specified for a VSI. Multiple VSIs cannot share a VSI interface. |
10. Assign a subnet to the VSI. | gateway subnet { ipv4-address wildcard-mask | ipv6-address prefix-length } | By default, no subnet exists on a VSI. |