Configuring a distributed vxlan ip gateway – H3C Technologies H3C S12500-X Series Switches User Manual

Page 73

Advertising
background image

66

Step Command

Remarks

4.

Return to system view.

quit

N/A

5.

Enter VSI view.

vsi vsi-name N/A

6.

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.

Configuring a distributed VXLAN IP gateway

When you configure a distributed VXLAN IP gateway, you must perform the following tasks in addition

to the tasks in this section:

Perform the required tasks in "

Configuring basic VXLAN features

" before you perform the tasks in

this section. Make sure Layer 3 forwarding is enabled for VXLANs.

To provide Layer 3 access for any VXLANs to the external network, configure a default route. In the
route, set the next hop to the IP address of any VXLAN's VSI interface that is created on the border
gateway.

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 vsi-interface-id

By default, no VSI interfaces exist on the
device.

3.

Assign an IPv4
address to the VSI

interface.

ip address ip-address { mask |
mask-length }

By default, no IPv4 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.

local-proxy-arp enable
[ ip-range startIP to endIP ]

By default, local proxy ARP is disabled.
For more information about the command, see
Layer 3—IP Services Command Reference.

6.

Return to system

view.

quit

N/A

7.

Enter VSI view.

vsi vsi-name N/A

8.

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.

Advertising
This manual is related to the following products: