LAB 34 ::‐ N W‐ Create a DRG and attach it to hub and spoke VCN. - guptasanjeev-52/oci_docs GitHub Wiki

Advanved Part of Networking ::- Creating a DRG and Attaching it to HUB and SPOKE VCN...

Firstly, Creating Hub VCN & Spoke VCN...

We have Already have a Hub VCN named hub_vcn_manually. Now, we are creating a Spoke VCN...

Now, we are Creating a SPOKE VCN named spoke_vcn_manually in the Network_compartment...

Note::- In this lab, I am using the Hub VCN mainly for the Public Subnet and creating the Private Subnet in the Spoke_VCN. If a Private Subnet already exists in the Hub VCN, I am removing it as part of this lab setup. This is the design being followed in my current practice; it is not a general OCI requirement that every Hub_VCN must have only a Public Subnet.

Creating Private Subnet in the spoke_vcn_manually...

VCN >>> Spoke_vcn_manually >>> Subnets >>> Create Subnet

CREATED..

Now, we are Creating Dynamic Routing Gateway (DRG).

Now, Creating VCN Attachments...

Creating attachment between hub_vcn_manually and DRG..

Creating attachment between spoke_vcn_manually and DRG..

CREATED..

THANKYOU!