Help Center/ Direct Connect/ User Guide/ Global DC Gateways/ Creating a Global DC Gateway
Updated on 2024-10-31 GMT+08:00

Creating a Global DC Gateway

Scenarios

After a connection is created, you can create a global DC gateway for this connection.

Procedure

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Hover on to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Global DC Gateways.
  5. On the Global DC Gateways page, click Create Global DC Gateway in the upper right corner.
  6. Configure the parameters based on Table 1.
    Table 1 Parameters for creating a global DC gateway

    Parameter

    Description

    Name

    Specifies the name of the global DC gateway.

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

    Enterprise Project

    Provides a cloud resource management mode where cloud resources and members are centrally managed by project.

    BGP ASN

    Specifies the autonomous system number used on the cloud for a BGP session.

    You can use the default ASN, or specify an ASN in the range of 64512–65534 or 1–4294967295.

    Tag

    Identifies the global DC gateway. A tag consists of a key and a value. You can add 20 tags to a global DC gateway.

    Tag keys and values must meet the requirements listed in Table 2.

    NOTE:

    If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.

    For details about predefined tags, see Predefined Tag Overview.

    If you have configured tag policies for Direct Connect, you need to add tags to your global DC gateways based on the tag policies. If you add a tag that does not comply with the tag policies, global DC gateways may fail to be created. Contact your administrator to learn more about tag policies.

    Description

    Provides supplementary information about the global DC gateway.

    It can contain 0 to 128 characters.

    Table 2 Tag naming requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 36 characters.
    • Can contain only letters, digits, hyphens, and underscores.

    Value

    • Can be left blank.
    • Can contain a maximum of 43 characters.
    • Can contain only letters, digits, periods, hyphens, and underscores.
  7. Click OK and then create a virtual interface. For details about parameter settings, see Table 3.
    Table 3 Parameters for creating a virtual interface

    Parameter

    Description

    Region

    Specifies the region where the connection resides. You can also change the region in the upper left corner of the console.

    Name

    Specifies the virtual interface name.

    The name can contain 1 to 64 characters.

    Virtual Interface Priority

    Specifies whether the virtual interface will be used prior to other virtual interfaces. There are two options: Preferred and Standard.

    If multiple virtual interfaces are associated with one Direct Connect device, the load is balanced among virtual interfaces with the same priority, while virtual interfaces with different priorities are working in active/standby pairs.

    Connection

    Specifies the connection you can use to connect your on-premises network to Huawei Cloud.

    Gateway

    Specifies the gateway that the virtual interface connects to.

    The default option is Global DC Gateway.

    Global DC Gateway

    Specifies the global DC gateway that will be used.

    VLAN

    Specifies the ID of the VLAN for the virtual interface.

    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 bandwidth that can be used by the virtual interface, in Mbit/s. The bandwidth cannot exceed that of the connection or LAG.

    Enterprise Project

    Provides a cloud resource management mode where cloud resources and members are centrally managed by project.

    Tag

    Identifies the virtual interface. A tag consists of a key and a value. You can add 20 tags to a virtual interface.

    Tag keys and values must meet the requirements listed in Table 4.

    NOTE:

    If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.

    For details about predefined tags, see Predefined Tag Overview.

    If you have configured tag policies for Direct Connect, you need to add tags to your virtual interfaces based on the tag policies. If you add a tag that does not comply with the tag policies, virtual interfaces may fail to be created. Contact your administrator to learn more about tag policies.

    IP Address Family

    Specifies the address type of the virtual interface.

    The default option is IPv4.

    Local Gateway

    Specifies the IP address used by the cloud to connect to your on-premises network. After you configure Local Gateway on the console, the configuration will be automatically delivered to the gateway used by the cloud.

    Remote Gateway

    Specifies the gateway on your on-premises network.

    The remote gateway must be in the same IP address range as the local gateway. Generally, a subnet with a 30-bit mask is recommended.

    Remote Subnet

    Specifies the subnets and masks of your on-premises network. If there are multiple subnets, use commas (,) to separate them.

    Routing Mode

    Specifies whether static routing or dynamic routing is used to route traffic between your on-premises network and the cloud network.

    If there are or will be two or more connections, select BGP routing for higher availability.

    BGP ASN

    Specifies the ASN of the BGP peer.

    This parameter is required when BGP routing is selected.

    CAUTION:

    In scenarios where enterprise routers are used, the BGP ASN of the virtual interface cannot be the same as that of the enterprise router to which the virtual gateway is attached. Otherwise, a BGP route loop occurs, causing network disconnection.

    BGP MD5 Authentication Key

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

    This parameter is mandatory when BGP routing is selected, and the parameter values on both gateways must be 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.

    Table 4 Tag naming requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 36 characters.
    • Can contain only letters, digits, hyphens, and underscores.

    Value

    • Can be left blank.
    • Can contain a maximum of 43 characters.
    • Can contain only letters, digits, periods, hyphens, and underscores.
  8. Click OK and then specify how the global DC gateway will be used.
    The global DC gateway is used to set up a peer link with an enterprise router. Table 5 describes the parameters.
    Table 5 Parameters for associating a global DC gateway with a central network or an enterprise router

    Parameter

    Description

    Resource Type

    Specifies the type of the resource that the global DC gateway connects to. There are two options: Central network and Peer link.

    Select Peer link here.

    NOTE:

    If you need to use a central network for cross-region VPC communication, submit a service ticket.

    Name

    Specifies the name of the peer link you want to set up.

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

    Global DC Gateway

    Specifies the global DC gateway used for setting up the peer link.

    By default, the created global DC gateway is selected.

    Peer Link Type

    The default option is Enterprise Router.

    Link To

    Specifies the enterprise router at the other end of the peer link.

  9. Click OK.