Updated on 2025-12-02 GMT+08:00

Establishing Network Connectivity

Scenarios

Establish network connectivity using Direct Connect if cloud servers in your VPC need to communicate with your on-premises data center.

Procedure

  1. Apply for a connection from your account manager. If you do not have an account manager, contact customer service.
  2. Log in to the management console.
  3. In the service list, choose Network > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Virtual Gateways.
  5. Click Create Virtual Gateway.
  6. Configure the parameters.
    Table 1 Parameter description

    Parameter

    Description

    Name

    Specifies the virtual gateway name.

    The name can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

    VPC

    Specifies the VPC to be associated with the virtual gateway.

    Subnet CIDR Block

    Specifies the CIDR blocks of subnets in the VPC to connect to the on-premises network.

    Description

    Provides supplementary information about the virtual gateway.

  7. Click OK.
  8. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.
  9. Click Create Virtual Interface.
  10. Set the parameters as prompted and then click Create Now.
    Table 2 Parameter description

    Parameter

    Description

    Region

    Select the region of the VPC that needs to communicate with the on-premises data center.

    Name

    Specifies the virtual interface name.

    The name can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

    Connection

    Specifies the connection to be associated.

    A virtual interface can be associated with only one connection.

    Virtual Gateway

    Select the virtual gateway with which the virtual interface is to be associated.

    A virtual interface can be associated with only one virtual gateway.

    VLAN

    Specifies the virtual interface VLAN ID.

    You need to configure the VLAN if you create a standard connection.

    The VLAN for a hosted connection will be allocated by the carrier or partner. You do not need to configure the VLAN.

    Bandwidth

    Specifies the virtual interface bandwidth, in Mbit/s.

    The bandwidth cannot exceed that of the connection.

    Local Gateway

    Specifies the IP address for connecting to the cloud network.

    Remote Gateway

    Specifies the IP address for connecting to your on-premises network.

    Remote Subnet

    Specifies the subnets used by the on-premises network.

    Specifies the remote subnet using CIDR notation. You can enter a maximum of 50 subnets. Ensure that each subnet is unique and separate every two subnets with commas (,).

    Routing Mode

    Specifies the routing mode. Two options are available, Static and BGP.

    If there are two or more connections, select BGP routing.

    BGP ASN

    Specifies the ASN of the BGP peer.

    This parameter is mandatory when you select BGP for Routing Mode.

    BGP MD5 Authentication Key

    Specifies the password used to authenticate the BGP peer using MD5.

    This parameter is mandatory when you select BGP routing. You must ensure that the passwords on both gateways are the same.

    The key contains 8 to 255 characters and must contain at least two types of the following characters:

    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters ~!, .:;-_"(){}[]/@#$ %^&*+\|=

    Description

    Provides supplementary information about the virtual interface.