Connecting Two Remote Peering Connections

Connects an RPC object to an RPC object on another DRG.

Prerequisite: The requestor must have:

  • The region the acceptor's VCN is in (the requestor's tenancy must be subscribed to the region).
  • The OCID of the acceptor's RPC.

The requestor RPC must perform this task.

When the connection is no longer needed, the RPCs can be disconnected by deleting one of the RPCs.

    1. Open the navigation menu and click Networking. Under Customer connectivity, click Dynamic routing gateway.
    2. Under List Scope, select a compartment that you have permission to work in.The page updates to display only the resources in that compartment. If you're not sure which compartment to use, contact an administrator. For more information, see Access Control.
    3. Click the name of the DRG you're interested in.
    4. Under Resources, click Remote Peering Connections.
    5. Click the name of the RPC of the requestor RPC from the list.
    6. Click Establish Connection.

      Enter the following:

      • Region: The region that contains the acceptor's VCN. The drop-down list includes only those regions that both support remote VCN peering and your tenancy is subscribed to.
      • Remote Peering Connection OCID: The OCID of the acceptor's RPC.
    7. Click Establish Connection.

    The connection is established and the RPC's state changes to PEERED.

  • Use the network remote-peering-connection connect command and required parameters to connect an RPC to an RPC on another DRG:

    oci network remote-peering-connection connect --peer-id acceptor-ocid  --peer-region-name region --remote-peering-connection-id rpc-ocid ... [OPTIONS]

    The region names that could be used for --peer-region-name are listed in Regions and Availability Domains. For example: us-ashburn-1.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ConnectRemotePeeringConnections operation to connect an RPC to an RPC on another DRG.