Updated on 2023-10-23 GMT+08:00

Configuring Direct Connect

Procedure

  1. Log in to the Huawei Cloud console.
  2. Click Service List and choose Networking > Direct Connect.
  3. Create a connection.

    You can choose self-service installation or full-service installation based on your service scenarios.

    For details, see Create a Connection.

    Table 1 Parameters for creating a connection

    Parameter

    Description

    Value

    Connection Name

    Name of a connection.

    phlk_01

  4. Create a virtual gateway.

    Table 2 only describes the key parameters for creating a virtual gateway. For details about all parameters, see Create a Virtual Gateway.

    Table 2 Parameters for creating a virtual gateway

    Parameter

    Description

    Value

    Name

    Name of a virtual gateway.

    dcgw_01

    VPC

    VPC to which the virtual gateway is attached.

    In this scenario, select the access VPC.

    tenant_vpc

    Local Subnet

    VPC subnet to be accessed using Direct Connect.

    In this scenario, select the access subnet corresponding to the access VPC.

    192.168.2.0/24

  5. Create a virtual interface.

    Table 3 only describes the key parameters for creating a virtual interface. For details about all parameters, see Create a Virtual Interface.

    Table 3 Parameters for creating a virtual interface

    Parameter

    Description

    Value

    Name

    Name of a virtual interface.

    dcif_01

    Connection

    Connection used to connect the on-premises data center to the cloud.

    phlk_01

    Virtual Gateway

    Virtual gateway to which the virtual interface connects.

    dcgw_01

    Local Gateway

    IP address of the network interface on the Huawei Cloud side.

    1.1.1.1/30

    Remote Gateway

    IP address of the remote gateway in the on-premises data center.

    The IP addresses of the remote gateway and local gateway must be in the same network segment. Generally, a subnet with the mask length of 30 is used.

    2.2.2.2/30

    Remote Subnet

    Access subnet and mask on the on-premises data center side.

    172.16.0.0/16

    Routing Mode

    Two options are available: Static and BGP.

    Static