Configure
Learn how to configure your network in the primary and standby regions.
Configure Network in Primary Region
Follow these steps to configure the network in the primary region
(
Region 1
):
Learn how to configure the network communication between availability zones and regions
shown in the architecture diagram. Follow these steps to configure the network traffic in the
primary region (
Region 1
):
- Add a security rule to the client NSG in
VCN1
to allow incoming traffic from the client subnets ofVCN2
andVCN3
.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
No 10.30.1.0/24
TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN3
- Create VCN
HubVCN1
with CIDR10.11.0.0/16
. - Create LPG
HubLPG1
andHubLPG2
in VCNHubVCN1
. - Create LPG
LPG1R
andLPG1L
in VCNVCN1
. - Create LPG
LPG1R
andLPG1L
in VCNVCN2
. - Establish the local peering connection between
LPG1R
andHubLPG1
. - Establish the local peering connection between
LPG2R
andHubLPG2
. - Establish the local peering connection between
LPG1L
andLPG2L
. - Add route rules to the route table of the client subnet of
VCN1
to forward traffic targeted for the client subnet ofVCN2
toLPG1L
and traffic targeted for the client subnet ofVCN3
toLPG1R
.Destination Target Type Target Route Type Description 10.20.1.0/24
LPG LPG1L
Static Traffic to the client subnet of VCN2
10.30.1.0/24
LPG LPG1R
Static Traffic to the client subnet of VCN3
- Add route rules to the route table of the client subnet of
VCN2
to forward traffic targeted for the client subnet ofVCN1
toLPG2L
and traffic targeted for the client subnet ofVCN3
toLPG2R
.Destination Target Type Target Route Type Description 10.10.1.0/24
LPG LPG2L
Static Traffic to the client subnet of VCN1
10.30.1.0/24
LPG LPG2R
Static Traffic to the client subnet of VCN3
- Create route table
HubLPG1rt
inHubVCN1
. - Associate route table
HubLPG1rt
to LPGHubLPG1
. - Associate route table
HubLPG2rt
to LPGHubLPG2
. - Create DRG
DRG1
. - Create route table
DRG1rt
inHubVCN1
. - Add two route rules to the route table
DRG1rt
: one to forward traffic targeted for the client subnet ofVCN1
toHubLPG1
, and a second to forward traffic targeted for the client subnet ofVCN2
toHubLPG2
.Destination Target Type Target Route Type Description 10.10.1.0/24
LPG HubLPG1
Static Traffic to the client subnet of VCN1
10.10.1.0/24
LPG HubLPG2
Static Traffic to the client subnet of VCN2
- Attach
DRG1
toHubVCN1
.- Select the 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
HubLPG1rt
to forward traffic targeted for the client subnet ofVCN3
toDRG1
.Destination Target Type Target Route Type Description 10.30.1.0/24
DRG DRG1
Static Traffic to the client subnet of VCN3
- Add a route rule to
HubLPG2rt
to forward traffic targeted for the client subnet ofVCN3
toDRG1
.Destination Target Type Target Route Type Description 10.30.1.0/24
DRG DRG1
Static Traffic to the client subnet of VCN3
Configure Network in Standby Region
Follow these steps to configure the network in the standby region
(
Region 2
):
- Set up the network in the standby region (
Region 2
). - Add a security rule to the client NSG in
VCN3
to allow incoming traffic from the client subnets ofVCN1
andVCN2
.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
No 10.20.1.0/24
TCP 1521 1521 TCP traffic for ports: 1521 Allow ingress from the client subnet of VCN2
- Create VCN
HubVCN3
with CIDR10.33.0.0/16
. - Create LPG
HubLPG3
in VCNHubVCN3
. - Create LPG
LPG3R
in VCNVCN3
. - Establish the local peering connection between
LPG3R
andHubLPG3
. - Add route rules to the route table of the client subnet of
VCN3
to forward traffic targeted for the client subnets ofVCN1
andVCN2
toLPG3R
.Destination Target Type Target Route Type Description 10.10.1.0/24
LPG LPG3R
Static Traffic to the client subnet of VCN1
10.20.1.0/24
LPG LPG3R
Static Traffic to the client subnet of VCN2
- Create route table
HubLPG3rt
inHubVCN3
. - Associate route table
HubLPG3rt
to LPGHubLPG3
. - Create DRG
DRG3
. - Create route table
DRG3rt
inHubVCN3
. - Add a route rule to
DRG3rt
to forward traffic targeted for the client subnet ofVCN3
toHubLPG3
.Destination Target Type Target Route Type Description 10.30.1.0/24
LPG HubLPG3
Static Traffic to the client subnet of VCN3
- Attach
DRG3
toHubVCN3
.- Select the autogenerated DRG route table for VCN attachments.
- Select the existing route table
DRG3rt
. - Select VCN CIDR blocks.
- Create a remote peering connection in
DRG3
, namedRPC3
. - Establish a remote peering connection between
RPC1
(Region 1
) andRPC3
(Region 2
). - Add two route rules to
HubLPG3rt
to forward traffic targeted for the client subnets ofVCN1
andVCN2
toDRG3
.Destination Target Type Target Route Type Description 10.10.1.0/24
DRG DRG3
Static Traffic to the client subnet of VCN1
10.20.1.0/24
DRG DRG3
Static Traffic to the client subnet of VCN2