Skip to main content

Create a route

You can create a route in a route table to specify how traffic is routed for the VM (Virtual Machine) in the subnets to which it is associated.

You can create routes with the following targets:

  • An internet gateway, to allow VM with an associated public IP (Internet Protocol) to be directly connected to the Internet.
  • A virtual gateway, to route traffic to a DirectLink or VPN (Virtual Private Network) connection.
  • A nat gateway, to allow VM to be indirectly connected to the Internet.
  • A VM.
  • A network interface of a VM.
  • A VPC peering, to allow VM to send traffic to a peer VPC.
warning

When you create a VPC access point, the appropriate route is automatically created and added to the route tables you specify.

Permissions

info

This action requires the following IAM (Identity and Access Management) permissions:

  • compute.routeTable.update
From the left-hand side menu, click Network → VPC → Route Tables.

Create a route in the Numspot console

info

Before you begin: Create a route table. To find out more, see Create a route table.

  1. From the left-hand side menu, click NetworkVPCRoute Table.

  2. Identify the route table in which you want to create a new route.

  3. In the relevant row, click the link in the Routes column.

  4. A new dialog box is displayed.

  5. Click the Add a Route button.

  6. A window for creating a route appears:

  7. In the "Target" field, choose the resource.

  8. In the "Destination IP range" field, type the CIDR (Classless Inter Domain Routing).

    info

    To specify the CIDR 0.0.0.0/0, click ALL IPS.

  9. Click the Add the Route button.

    info

    You can enter as many new routes as you want. The side panel shows you a summary of the existing routes and those being created.

  10. Click the Validate button.
    The associated routes have been created.

Cette page vous a-t-elle été utile ?