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
VCN1
to 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/24
TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN2
- Create Virtual Cloud Network
HubVCN1
with CIDR10.11.0.0/16
. - Create Local Peering Gateway
HubLPG1
in Virtual Cloud NetworkHubVCN1
. - Create Local Peering Gateway
LPG1R
in Virtual Cloud NetworkVCN1
. - Establish the local peering connection between
LPG1R
andHubLPG1
. - Add a route rule to the route table of the client subnet of
VCN1
to forward traffic targeted for the client subnet ofVCN2
toLPG1R
.Destination Target Type Target Route Type Description 10.20.1.0/24
Local Peering Gateway LPG1R
Static Traffic to the client subnet of VCN2
- Create Route Table
HubLPG1rt
inHubVCN1
. - Associate Route Table
HubLPG1rt
to Local Peering GatewayHubLPG1
. - Create Dynamic Routing Gateway
DRG1
. - Create Route Table
DRG1rt
inHubVCN1
. - Add a route rule to the route table
DRG1rt
to forward traffic targeted for the client subnet ofVCN1
toHubLPG1
.Destination Target Type Target Route Type Description 10.10.1.0/24
Local Peering Gateway HubLPG1
Static Traffic to the client subnet of VCN1
- To attach
DRG1
toHubVCN1
:- 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
HubLPG1rt
to forward traffic targeted for the client subnet ofVCN2
toDRG1
.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:
- Add a security rule to the client Network Security Group in
VCN2
to 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/24
TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN1
- Create Virtual Cloud Network
HubVCN2
with CIDR10.22.0.0/16
. - Create Local Peering Gateway
HubLPG2
in Virtual Cloud NetworkHubVCN2
. - Create Local Peering Gateway
LPG2R
in Virtual Cloud NetworkVCN2
. - Establish the local peering connection between
LPG2R
andHubLPG2
. - Add a route rule to the route table of the client subnet of
VCN2
to forward traffic targeted for the client subnet ofVCN2
toLPG2R
.Destination Target Type Target Route Type Description 10.10.1.0/24
Local Peering Gateway LPG2R
Static Traffic to the client subnet of VCN1
- Create Route Table
HubLPG2rt
inHubVCN2
. - Associate Route Table
HubLPG2rt
to Local Peering GatewayHubLPG2
. - Create Dynamic Routing Gateway
DRG2
. - Create Route Table
DRG2rt
inHubVCN2
. - Add a route rule to the route table
DRG2rt
to forward traffic targeted for the client subnet ofVCN2
toHubLPG2
.Destination Target Type Target Route Type Description 10.20.1.0/24
Local Peering Gateway HubLPG2
Static Traffic to the client subnet of VCN2
- To attach
DRG2
toHubVCN2
:- 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
HubLPG2rt
to forward traffic targeted for the client subnet ofVCN1
toDRG2
.Destination Target Type Target Route Type Description 10.10.1.0/24
Dynamic Routing Gateway DRG2
Static Traffic to the client subnet of VCN1