To allow users on different network segments to communicate, a Layer 3 VXLAN gateway must be deployed, and the default gateway address of the users must be the IP address of the VBDIF interface of the Layer 3 gateway.
A tenant is identified by a VNI. VNIs can be mapped to BDs in 1:1 mode so that a BD can function as a VXLAN network entity to transmit VXLAN data packets. A VBDIF interface is a Layer 3 logical interface created for a BD. After an IP address is configured for a VBDIF interface of a BD, the VBDIF interface can function as the gateway for tenants in the BD for Layer 3 forwarding. VBDIF interfaces allow Layer 3 communication between VXLANs on different network segments and between VXLANs and non-VXLANs, and implement Layer 2 network access to a Layer 3 network.
VBDIF interfaces are configured on Layer 3 VXLAN gateways for inter-segment communication, and are not needed in the case of intra-segment communication.
The DHCP relay function can be configured on the VBDIF interface so that hosts can request IP addresses from the external DHCP server.
The system view is displayed.
A VBDIF interface is created, and the VBDIF interface view is displayed.
On IPv4 overlay networks, run ip address ip-address { mask | mask-length } [ sub ].
An IPv4 address is configured for the VBDIF interface.
Run ipv6 enable
IPv6 is enabled for the VBDIF interface.
Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }
Or, ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } eui-64
A global unicast address is configured for the VBDIF interface.
A MAC address is configured for the VBDIF interface.
The bandwidth is configured for the VBDIF interface.
The configuration is committed.