# Create a Route

Routes in global VPC determine how packets are directed within and outside the VPC, specifying which packets are sent to which destination. You can customize a static route and route the traffic to network interface.

## Procedures

1. Select a global VPC that you want to associated with a static route.
2. Set your destination address.\
   The destination range is a single IPv4 or IPv6 range, and cannot exactly match or fit within an existing subnet route.
3. Set your route's priority.\
   The value ranges from 0 to 65535. The smaller the value, the higher the priority.
4. Select a next hop instance or network interface.\
   If you select your instance as the next hop, the packets will be sent to the primary vNIC of this instance.
5. Label your route.

## More Actions

You can delete your static route in **Route** > **Actions**.

Subnet route can only be auto deleted when related subnet is deleted.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/elastic-compute/get-started/manage-networking/create-a-custom-route.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
