Configure

Follow these steps to configure the network communication between regions shown in the architecture diagram.

Configure the Network in the Primary Region

Follow these steps to configure the network in the primary region:

  1. Add a security rule to the client Network Security Group in VCN1 to allow incoming traffic from the client subnet of VCN2.
    Stateless Source IP Protocol Source Port Range Destination Port Range Allows Description
    No 10.20.1.0/24 TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN2
  2. Create Virtual Cloud Network HubVCN1 with CIDR 10.11.0.0/16.
  3. Create Local Peering Gateway HubLPG1 in Virtual Cloud Network HubVCN1.
  4. Create Local Peering Gateway LPG1R in Virtual Cloud Network VCN1.
  5. Establish the local peering connection between LPG1R and HubLPG1.
  6. Add a route rule to the route table of the client subnet of VCN1 to forward traffic targeted for the client subnet of VCN2 to LPG1R.
    Destination Target Type Target Route Type Description
    10.20.1.0/24 Local Peering Gateway LPG1R Static Traffic to the client subnet of VCN2
  7. Create Route Table HubLPG1rt in HubVCN1.
  8. Associate Route Table HubLPG1rt to Local Peering Gateway HubLPG1.
  9. Create Dynamic Routing Gateway DRG1.
  10. Create Route Table DRG1rt in HubVCN1.
  11. Add a route rule to the route table DRG1rt to forward traffic targeted for the client subnet of VCN1 to HubLPG1.
    Destination Target Type Target Route Type Description
    10.10.1.0/24 Local Peering Gateway HubLPG1 Static Traffic to the client subnet of VCN1
  12. To attach DRG1 to HubVCN1:
    1. Select Autogenerated Drg Route Table for VCN attachments.
    2. Select the existing route table DRG1rt.
    3. Select VCN CIDR blocks.
  13. Create a Remote Peering Connection in DRG1, named RPC1.
  14. Add a route rule to the route table HubLPG1rt to forward traffic targeted for the client subnet of VCN2 to DRG1.
    Destination Target Type Target Route Type Description
    10.20.1.0/24 Dynamic Routing Gateway DRG1 Static Traffic to the client subnet of VCN2

Configure the Network in the Standby Region

Follow these steps to configure the network in the standby region:

  1. Add a security rule to the client Network Security Group in VCN2 to allow incoming traffic from the client subnet of VCN1.
    Stateless Source IP Protocol Source Port Range Destination Port Range Allows Description
    No 10.10.1.0/24 TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN1
  2. Create Virtual Cloud Network HubVCN2 with CIDR 10.22.0.0/16.
  3. Create Local Peering Gateway HubLPG2 in Virtual Cloud Network HubVCN2.
  4. Create Local Peering Gateway LPG2R in Virtual Cloud Network VCN2.
  5. Establish the local peering connection between LPG2R and HubLPG2.
  6. Add a route rule to the route table of the client subnet of VCN2 to forward traffic targeted for the client subnet of VCN2 to LPG2R.
    Destination Target Type Target Route Type Description
    10.10.1.0/24 Local Peering Gateway LPG2R Static Traffic to the client subnet of VCN1
  7. Create Route Table HubLPG2rt in HubVCN2.
  8. Associate Route Table HubLPG2rt to Local Peering Gateway HubLPG2.
  9. Create Dynamic Routing Gateway DRG2.
  10. Create Route Table DRG2rt in HubVCN2.
  11. Add a route rule to the route table DRG2rt to forward traffic targeted for the client subnet of VCN2 to HubLPG2.
    Destination Target Type Target Route Type Description
    10.20.1.0/24 Local Peering Gateway HubLPG2 Static Traffic to the client subnet of VCN2
  12. To attach DRG2 to HubVCN2:
    1. Select Autogenerated Drg Route Table for VCN attachments.
    2. Select the existing route table DRG2rt.
    3. Select VCN CIDR blocks.
  13. Create a Remote Peering Connection in DRG2, named RPC2.
  14. Establish a remote peering connection between RPC1 (primary region) and RPC2 (standby region).
  15. Add a route rule to the route table HubLPG2rt to forward traffic targeted for the client subnet of VCN1 to DRG2.
    Destination Target Type Target Route Type Description
    10.10.1.0/24 Dynamic Routing Gateway DRG2 Static Traffic to the client subnet of VCN1