The new enhanced DRG now supports multiple VCN attachments within the same region.  You can attach multiple VCNs to a single DRG. Each VCN can be in the same or different tenancies as the DRG. VCN to VCN traffic inside the same region can now pass through a mutually connected DRG. This way you fully use Oracle backbone to communicate between your VCN without the need to use a VPN to connect two tenancies.

This article will provide you with the details to do the configuration.

Prerequisites:

  • Tenancy Requestor owns and shares the DRG.
  • Tenancy Acceptor owns the VCN to attach to the Requestor DRG.
  • Users need group permission to manage VCN and DRG. 
  • The policy must be in the root compartment.
  • VCN must be in the same region.

IAM configuration

The documentation provides the IAM policy details.

https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingDRGs.htm

The policy itself must live in root

The endorse policy must live in root. The scope of the statement is external to any child compartments in your tenancy. The request doesn’t logically link to any child compartment(s).
The admit policy can belong to another compartment, we technically had a choice. It theoretically makes sense to admit access to a child compartment. However, that is also a risky operation and many customers don’t want the owner of a child or test compartment to be able to grant access to external tenancies. Keeping the policies in root was an intentional security choice to ensure that only tenancy admins could expose a tenancy to external principals.

You need to keep track of the following information.

Replace OCID examples with your current OCID.

As per the documentation, the core service drgs aggregate resource type contains drg-object, drg-route-table, drg-route-distribution, drg-attachment.

Create attachment

From Acceptor tenancy in VCN configuration choose DRG attachment to another tenancy. Indicate Requestor DRG OCID.

Once done VCN will be attached and you can manage the route to connect both tenancies by the VCN.

Documentation

How to manage DRG

https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingDRGs.htm#

Peering VCNs in the same region using DRG

https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/scenario_d.htm

API references

https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/DrgAttachment/

IAM policies related to DRG peering

https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/drg-iam.htm#scenario_m

Tips OCI DRGv2 and Route Conflict

https://www.ateam-oracle.com/oci-drgv2-and-route-conflict

General basic routing scenarios using DRG

https://www.ateam-oracle.com/basic-routing-scenarios-for-the-enhanced-drg