Skip to main content

Architecture

We will construct the following architecture on Google Cloud. GCP Architecture

Prerequisites

VLAN Attachment

This step is performed on Google. GCP VLAN Attachment Parameters:
  • “Partner Interconnect Connection”
  • “Set up unencrypted Interconnect”
GCP VLAN Attachment Parameters GCP VLAN Attachment Parameters 2
  • “Network”: Choose the one you are connecting from
  • “Region”: Choose the one that there is a Telnyx PoP in proximity
  • “MTU”: 8896
GCP VLAN Attachment Parameters 3
  • Create a router or choose an existing one.
GCP VLAN Attachment Parameters 4 GCP VLAN Attachment Parameters 5 GCP VLAN Attachment Parameters 6 After creating the attachment, Google will display a pairing key — a string in the format <uuid>/<region>/<number> (e.g. 718639df-e02e-49ba-856b-0d86b17e77f4/us-central1/1). Copy this — you will need it in the next step. For redundant connections, create two VLAN attachments and collect both pairing keys.

Telnyx Network

This step is performed on Telnyx. If you don’t have a network created already, you may follow this guide to create one. Note the network_id — it is required when creating a VXC.

Procedure

Create a VXC resource

This step is performed on Telnyx. For a single connection:
request
For a redundant connection:
request
Key notes for GCP:
  • csp_account is not required for GCP (unlike AWS).
  • cross_connect P2P CIDRs are optional on create — GCP assigns the BGP peering IPs from the CSP side. You can supply /29 CIDRs if you want to pre-configure them; otherwise set them via PATCH after the connection is up.
  • primary_pairing_key and secondary_pairing_key are the VLAN attachment pairing keys obtained from Google Cloud Console.
  • If you supply bgp_key_primary, configure the same MD5 key on the Google Cloud Router BGP session — both peers must use the same key.
Poll GET /v2/network_agents_gateway/vxc/{vxc_id} to track provisioning status. The agent reports pending while work is in progress, then created on success or failed on error.

Activate Connection

This step is performed on Google. GCP Activate Connection GCP Activate Connection 2 GCP Activate Connection 3 “Peer ASN”: 63440 (Telnyx) GCP Activate Connection 4

Set Cross-Connect CIDRs (if not supplied on create)

This step is performed on Telnyx. After activation, Google assigns BGP peering IP addresses to the VLAN attachment. Use these to configure the P2P /29 subnets on the VXC:
request
Note: GCP Dedicated Interconnect uses /29 subnets (not /30). The first usable IP in the block is assigned to the GCP router; the second to Telnyx.

Enable Routing

This step is performed on Telnyx. Enable BGP routing to bring up the session:
request
At this point, on Google, the “Status” will show as “Up”. GCP Update BGP Peering 3

Validate Connection

This step is performed on Google.
  • Under VPC networks, you should see the routes advertised over the cloud router created.
  • You can also SSH into one of your instances in the same network and perform a traceroute.
GCP Verify Connection