40 ‐ Networking ‐ Dynamic routing gateway(DRG) ‐ How to validate the routes - SanjeevOCI/Ocidocs GitHub Wiki
- Navigate to Burger Menu --> Networking --> Customer Connectivity --> Dynamic routing gateway --> Select "HUB-SPOKE-DRG"
- In the DRG, VCN attachment is created and attached. As a result, DRG automatically creates the route table to the VCN, as shown below
a) Inside the autogenerated route table, there is a Route Distribution table, based on which the traffic flows, as shown below
b) In the Route Distribution table, "Match all" means that it will match any CIDR which is part of the attachment. This means that when we attach a VCN attachment, all the CIDR which is part of the VCN will get a route.
- When we view the Route tables, we see that it contains all the subnets, even though we have already attached the VCN
- If we add a new subnet in the Spoke VCN, it will also get reflected in the Route tables. Creating a Private Subnet in Spoke VCN to validate the same.
- Click on "Refresh Table" in the route rules to refresh the list of subnets. Now the newly created Private Subnet in Spoke VCN is automatically part of the route table.