Skip to content

LAB 36 (Create HUB VCN manually)

arunsinghchauhan38-arch edited this page Jun 8, 2026 · 6 revisions

Create HUB VCN manually

Steps to Create VCN Manually

Step 1 Create VCN

1. Go to the Network and click on the Virtual Cloud Networks than click on Create VCN

Before Clcik on Create VCN select the correct comparment Hub_network_compartment.

image

2. Fill the Details as

  • VCN Name : hub_manual_vcn

  • Create in Comparment : Hub_Network_Compartment

  • IPv4 CIDR Block : 10.0.0.0/24

  • Click on Crete VCN

image

After Create VCN we go inside the Newly Created vcn hub_manual_vcn and click on gateway. Here we create gatway for the vcn.

Step 2. Create Gateway

Here we click on Gateway and next we go to Internet Gateways and click on Create Internet Gateway.

image

Inside Create Internet Gateway

  • Name: hub_manual_vcn_ig

  • Create in compartment: Hub_Network_Compartment

  • Click Create Internet Gateway

image

Step 3. Create Custom Route Tables

Here we create our custom route table for control traffic as per our term of traffic control.

image image image

Click on new created route table and inside the route table click on route rules and click on add route rules

image

Inside route Rules Add the following rules:

• Target Type: Internet Gateway

• Destination CIDR: 0.0.0.0/0

• Target internet gateway : hub_manual_vcn_ig

image image

4. Create Security List

Go to Security and click on Create security list

image image

Now we add security rules

  1. First we add Ingress Rules, to add ingress rules click on add ingress rules
image image image
  1. Now we add egress rules
image

Here we allow all traffic 0.0.0.0/0

image image

5. Create Subnet

image

1. hub public subnet

  • Name :- hub_manual_vcn_public_subnet

  • Create in compartment : Hub_Network_Compartment

  • Subnet type : Regional

  • IPv4 CIDR Block : 10.0.0.0/25

  • IPv6 Prefixes : route table - hub_manual_vcn_pubsubnet_rt

  • Subnet Access : Public subnet

  • Security Lists : hub_manual_vcn_sl

image image image

2. hub private subnet

  • Name :- hub_manual_vcn_private_subnet

  • Create in compartment : Hub_Network_Compartment

  • Subnet type : Regional

  • IPv4 CIDR Block : 10.0.0.128/25

  • IPv6 Prefixes : route table - hub_manual_vcn_pubsubnet_rt

  • Subnet Access : Private subnet

  • Security Lists : hub_manual_vcn_sl

image image image image

Both Subnet successfully created and configured.

we already assign custom route table and also assign custom security list with subnets in previous steps.

6.now we create a new instance with using our "hub_manual_vcn".

image

7. Login into the putty application

As we see, we login into the server successfully

image

8. Now we check connectivity of ip using ping command

ping 129.213.132.138
ping google.com
image image

Clone this wiki locally