Configuring a Layer 3 VXLAN Gateway

This section describes how to configure a Layer 3 VXLAN gateway. To allow VMs on different network segments to communicate, a Layer 3 VXLAN gateway must be deployed, and the default gateway address of the VMs must be the IP address of the BDIF interface of the Layer 3 gateway.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface vbdif bd-id

    A BDIF interface is created, and the BDIF interface view is displayed.

    The BD ID specified must exist.

  3. Configure an IP address for the VBDIF interface to implement Layer 3 interworking.
    • On IPv4 overlay networks, run ip address ip-address { mask | mask-length } [ sub ].

      An IPv4 address is configured for the VBDIF interface.

    • On IPv6 overlay networks, perform the following operations:
      1. Run ipv6 enable

        IPv6 is enabled for the VBDIF interface.

      2. 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.

  4. (Option) Run mac-address mac-address

    An MAC address is configured for the BDIF interface.

  5. (Option) Run bandwidth bandwidth

    The bandwidth is configured for the VBDIF interface.

  6. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >