Changing Route Table Assignment Defaults for DRG Attachments
Learn to change the default route table assignments for DRG attachments.
By default, VCN attachments are assigned the Autogenerated Drg Route Table for VCN attachments. Also by default, remote peering connection attachments, virtual circuit attachments, and IPSec tunnel attachments are assigned the Autogenerated Drg Route Table for RPC, VC, and IPSec attachments. You can't customize the DRG route table for loopback attachments or cross-tenancy attachments
When you change the default DRG route table for an attachment type, this changes the default for new resources of that type. All future attachments of that attachment type use the new default route table. Existing attachments continue to use the same route table assigned when they were created. You can change the route table assignment for an existing attachment using the steps described in Updating a DRG Attachment.
Use the network drg update command and required parameters to change the default route table assignment for DRG attachments:
oci network drg update --drg-id ocid --default-drg-route-tables complex-type ... [OPTIONS]This is a complex type whose value must be valid JSON. See the command reference for the network drg update command for more details on using this command.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateDrg operation to change the default route table assignment for DRG attachments. See the DefaultDrgRouteTables reference for some specifics.