Depois de configurar os recursos do Google Cloud, configure os recursos do
Alibaba Cloud.
Para ver as informações mais atualizadas sobre como criar um roteador de borda virtual (VBR, na sigla em inglês), consulte Criar e gerenciar uma VBR na documentação do Alibaba Cloud.
Criar um roteador de borda virtual (VBR)
Uma VBR conecta o equipamento local do cliente a uma rede de nuvem privada virtual (VPC) e permite a transferência de dados entre eles.
Na página Roteador de borda virtual, clique em Criar VBR e defina os seguintes parâmetros:
Em Interface de conexão física, selecione Express Connect circuit e, em seguida, selecione o Express Connect circuit ID na lista.
Em Código da VLAN, insira o código da VLAN que você usou anteriormente ao configurar os recursos do Google.
Em Definir valor de largura de banda VBR, insira a largura de banda desejada.
Em Endereço IPv4 (Gateway do Alibaba Cloud), digite o endereço IP do peer do BGP do Google Cloud Router.
Em Endereço IPv4 (gateway de data center), insira o endereço IP do BGP do Cloud Router do peering do BGP do Google Cloud Router.
Clique em OK.
Criar uma conexão de rede VBR com VPC
Para conectar a VBR a uma rede VPC, siga estas etapas.
Console
No console do Express Connect, acesse a página Conexões de peering de VPC > VBR para VPC.
Clique em Criar conexão de peering e defina os seguintes parâmetros:
Em Região do iniciador, selecione a região em que você criou a VBR.
Em Iniciador VBR, selecione a VBR que você criou.
Em Accepter Region Type, selecione Intra-Region se a rede VPC estiver na mesma região que a VBR.
Selecione Inter-Region se a rede VPC estiver em uma região diferente.
Em Aceitador VPC, selecione a rede VPC que você quer conectar ao Google Cloud.
Marque a caixa de seleção Li e aceito os Termos de Serviço das conexões de peering da conexão expressa (pagamento por utilização).
Clique em OK.
Criar uma rota personalizada na rede VPC
Para criar uma rota personalizada na rede VPC, siga estas etapas:
Console
No console da VPC, na página Tabelas de rotas, clique na tabela de rota.
Na página da tabela de rotas específica, escolha a guia Rota personalizada na guia Lista de entradas de rota.
Clique em Add Route Entry e defina os seguintes parâmetros:
Em Bloco de CIDR de destino, insira o intervalo de endereços IP da VPC no Google Cloud.
Em Next Hop Type, selecione Router Interface (To VBR), clique em General Routing e selecione a VBR.
Clique em OK.
Criar uma rota personalizada na VBR
Para criar uma rota personalizada na VBR, siga estas etapas.
Console
No console do Express Connect, na página Virtual Border Router, clique na VBR.
Na página VBR específica, clique na guia Rotas.
Clique em Add Route e defina os seguintes parâmetros:
Em Próximo tipo de salto, selecione VPC.
Em Bloco CIDR de destino, insira o intervalo de endereços IP da rede VPC no Alibaba Cloud.
Em Próximo salto, selecione a rede VPC.
Clique em OK.
Configurar peering de BGP em uma VBR
Para configurar o peering do BGP na VBR, siga estas etapas.
Console
No console do Express Connect, na página Virtual Border Router, clique na VBR.
Na página VBR correspondente, clique na guia Grupos do BGP.
Clique em Criar grupo do BGP e defina os seguintes parâmetros:
Em ASN do terminal, insira o ASN especificado no Cloud Router no Google Cloud.
Se você configurou a autenticação MD5 do BGP no peering do BGP do Google Cloud Router, em Chave do BGP, insira a chave MD5 do BGP.
Clique em OK.
Na página VBR correspondente, clique na guia Peers do BGP.
Clique em Criar par do BGP e defina os seguintes parâmetros:
Em BGP Group, selecione o grupo do BGP.
Em IP do par do BGP, insira o IP do BGP do Cloud Router do anexo da VLAN.
Se você ativou a detecção de encaminhamento bidirecional (BFD, na sigla em inglês) no peering de BGP do Google Cloud Router, marque a opção Ativar BFD.
Clique em OK.
Na página VBR correspondente, clique na guia Sub-redes do BGP anunciadas.
Clique em Anunciar sub-rede BGP e defina os seguintes parâmetros:
Em Sub-rede anunciada, insira o intervalo de endereços IP da rede VPC no Alibaba Cloud.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-12 UTC."],[],[],null,["# Configure your Alibaba Cloud resources\n\n| **Note:** This page provides sample guidance. Google doesn't guarantee that this guidance is up to date or that the sample configuration choices are ideal for your use case. For detailed instructions, see the [Alibaba Cloud documentation](https://www.alibabacloud.com/help/) .\n\nAfter you configure your Google Cloud resources, configure your Alibaba\nCloud resources.\n\nFor the most up-to-date information about how to create a\nVirtual Border Router (VBR), see\n[Create and manage a VBR](https://www.alibabacloud.com/help/en/express-connect/latest/create-a-vbr)\nin the Alibaba Cloud documentation.\n\nCreate a Virtual Border Router (VBR)\n------------------------------------\n\nA VBR connects customer premises equipment to a Virtual Private Cloud (VPC)\nnetwork and allows data transfer between them.\n\nTo create a VBR, follow these steps. \n\n### Console\n\n1. Log in to the [Alibaba Cloud Express Connect\n console](https://www.alibabacloud.com/help/en/express-connect).\n2. On the **Virtual Border Router** page, click **Create VBR**, and then\n set the following parameters:\n\n 1. For **Physical Connection Interface** , select **Express Connect circuit** , and then select the **Express Connect circuit ID** from the list.\n 2. For **VLAN ID**, enter the VLAN ID that you used earlier when configuring Google resources.\n 3. For **Set VBR Bandwidth Value**, enter your desired bandwidth.\n 4. For **IPv4 Address (Alibaba Cloud Gateway)**, enter the BGP peer IP address of the Google Cloud Router BGP peering.\n 5. For **IPv4 Address (Data Center Gateway)**, enter the Cloud Router BGP IP address of the Google Cloud Router BGP peering.\n3. Click **OK**.\n\nCreate a VBR-to-VPC network connection\n--------------------------------------\n\nTo connect the VBR to a VPC network, follow these steps. \n\n### Console\n\n1. In the Express Connect console, go to the **VPC Peering Connections\n \\\u003e VBR-to-VPC** page.\n2. Click **Create Peering Connection**, and\n then set the following parameters:\n\n 1. For **Initiator Region**, select the region where you created the VBR.\n 2. For **Initiator VBR**, select the VBR that you created.\n 3. For **Acceptor Region Type** , select **Intra-Region** if the VPC network is in the same region as the VBR. Select **Inter-Region** if the VPC network is in a different region.\n 4. For **Acceptor VPC**, select the VPC network that you want to connect to Google Cloud.\n 5. Select the **I have read and accept the Terms of Service for Express Connect\n Peering Connections (Pay-As-You-Go)** checkbox.\n3. Click **OK**.\n\nCreate a custom route in the VPC network\n----------------------------------------\n\nTo create a custom route in the VPC network, follow these steps: \n\n### Console\n\n1. In the VPC console, on the **Route Tables** page, click the route table.\n2. On the specific route table page, choose the **Custom Route** tab under the **Route Entry List** tab.\n3. Click **Add Route Entry**, and then set the following parameters:\n\n 1. For **Destination CIDR Block**, enter the VPC IP address range in Google Cloud.\n 2. For **Next Hop Type** , select **Router Interface (To VBR)** , click **General Routing**, and then select the VBR.\n4. Click **OK**.\n\nCreate a custom route in the VBR\n--------------------------------\n\nTo create a custom route in the VBR, follow these steps. \n\n### Console\n\n1. In the Express Connect console, on the **Virtual Border Router** page, click the VBR.\n2. On the specific **VBR** page, click the **Routes** tab.\n3. Click **Add Route**, and then set the following parameters:\n\n 1. For **Next Hop Type** , select **VPC**.\n 2. For **Destination CIDR Block**, enter the VPC network IP address range on Alibaba Cloud.\n 3. For **Next Hop**, select the VPC network.\n4. Click **OK**.\n\nConfigure BGP peering in a VBR\n------------------------------\n\nTo set up BGP peering in the VBR, follow these steps. \n\n### Console\n\n1. In the Express Connect console, on the **Virtual Border Router** page, click the VBR.\n2. On the corresponding **VBR** page, click the **BGP Groups** tab.\n3. Click **Create BGP Group**, and then set the following parameters:\n\n 1. For **Peer ASN**, enter the ASN that you specified in the Cloud Router on Google Cloud.\n 2. If you configured BGP MD5 authentication on your Google Cloud Router BGP peering, for **BGP Key**, enter the BGP MD5 key.\n 3. Click **OK**.\n4. On the corresponding **VBR** page, click the **BGP Peers** tab.\n\n5. Click **Create BGP Peer**, and then set the following parameters:\n\n 1. For **BGP Group**, select the BGP group.\n 2. For **BGP Peer IP**, enter the VLAN attachment's Cloud Router BGP IP.\n 3. If you enabled Bidirectional Forwarding Detection (BFD) on your Google Cloud Router BGP peering, check the **Enable BFD** option.\n 4. Click **OK**.\n6. On the corresponding **VBR** page, click the **Advertised BGP Subnets** tab.\n\n7. Click **Advertise BGP Subnet**, and then set the following parameters:\n\n 1. For **Advertised Subnet**, enter the VPC network IP address range on Alibaba Cloud.\n 2. Click **OK**."]]