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:
- Add a security rule to the client Network Security Group in
VCN1to allow incoming traffic from the client subnet ofVCN2.Stateless Source IP Protocol Source Port Range Destination Port Range Allows Description No 10.20.1.0/24TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN2 - Create Virtual Cloud Network
HubVCN1with CIDR10.11.0.0/16. - Create Local Peering Gateway
HubLPG1in Virtual Cloud NetworkHubVCN1. - Create Local Peering Gateway
LPG1Rin Virtual Cloud NetworkVCN1. - Establish the local peering connection between
LPG1RandHubLPG1. - Add a route rule to the route table of the client subnet of
VCN1to forward traffic targeted for the client subnet ofVCN2toLPG1R.Destination Target Type Target Route Type Description 10.20.1.0/24Local Peering Gateway LPG1RStatic Traffic to the client subnet of VCN2 - Create Route Table
HubLPG1rtinHubVCN1. - Associate Route Table
HubLPG1rtto Local Peering GatewayHubLPG1. - Create Dynamic Routing Gateway
DRG1. - Create Route Table
DRG1rtinHubVCN1. - Add a route rule to the route table
DRG1rtto forward traffic targeted for the client subnet ofVCN1toHubLPG1.Destination Target Type Target Route Type Description 10.10.1.0/24Local Peering Gateway HubLPG1Static Traffic to the client subnet of VCN1 - To attach
DRG1toHubVCN1:- Select Autogenerated Drg Route Table for VCN attachments.
- Select the existing route table
DRG1rt. - Select VCN CIDR blocks.
- Create a Remote Peering Connection in
DRG1, namedRPC1. - Add a route rule to the route table
HubLPG1rtto forward traffic targeted for the client subnet ofVCN2toDRG1.Destination Target Type Target Route Type Description 10.20.1.0/24Dynamic Routing Gateway DRG1Static 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:
- Add a security rule to the client Network Security Group in
VCN2to allow incoming traffic from the client subnet ofVCN1.Stateless Source IP Protocol Source Port Range Destination Port Range Allows Description No 10.10.1.0/24TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN1 - Create Virtual Cloud Network
HubVCN2with CIDR10.22.0.0/16. - Create Local Peering Gateway
HubLPG2in Virtual Cloud NetworkHubVCN2. - Create Local Peering Gateway
LPG2Rin Virtual Cloud NetworkVCN2. - Establish the local peering connection between
LPG2RandHubLPG2. - Add a route rule to the route table of the client subnet of
VCN2to forward traffic targeted for the client subnet ofVCN2toLPG2R.Destination Target Type Target Route Type Description 10.10.1.0/24Local Peering Gateway LPG2RStatic Traffic to the client subnet of VCN1 - Create Route Table
HubLPG2rtinHubVCN2. - Associate Route Table
HubLPG2rtto Local Peering GatewayHubLPG2. - Create Dynamic Routing Gateway
DRG2. - Create Route Table
DRG2rtinHubVCN2. - Add a route rule to the route table
DRG2rtto forward traffic targeted for the client subnet ofVCN2toHubLPG2.Destination Target Type Target Route Type Description 10.20.1.0/24Local Peering Gateway HubLPG2Static Traffic to the client subnet of VCN2 - To attach
DRG2toHubVCN2:- Select Autogenerated Drg Route Table for VCN attachments.
- Select the existing route table
DRG2rt. - Select VCN CIDR blocks.
- Create a Remote Peering Connection in
DRG2, namedRPC2. - Establish a remote peering connection between
RPC1(primary region) andRPC2(standby region). - Add a route rule to the route table
HubLPG2rtto forward traffic targeted for the client subnet ofVCN1toDRG2.Destination Target Type Target Route Type Description 10.10.1.0/24Dynamic Routing Gateway DRG2Static Traffic to the client subnet of VCN1