# Add Static Route

To be able to add a static route to the NAT Gateway, you must create a virtual machine in the Instance menu that uses a VPC accompanied by a NAT Gateway. Here are the steps to add Static Route on the NAT Gateway:

* On the NAT Gateway Configuration page, select the Static Route label then click Create Static Route.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/22dekarouter/22.14%20add%20static.png" alt=""><figcaption><p>Add Static Route</p></figcaption></figure>

* The Create Static Route form appears, fill in all the columns available on the form.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/22dekarouter/22.15%20form.png" alt=""><figcaption><p>Add Static Route</p></figcaption></figure>

<table><thead><tr><th width="187">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Destination CIDR</strong></td><td>Configuration that determines the destination network to be translated by the NAT Gateway.</td></tr><tr><td><strong>Nexthop</strong></td><td>Configure by adding a Gateway IP address which is useful for forwarding data packets to the destination.</td></tr><tr><td><strong>Description</strong></td><td>Configuration information about the static route created.</td></tr></tbody></table>

* If all forms have been filled in, click the Create button and wait until the process is complete.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/22dekarouter/22.16%20form.png" alt=""><figcaption><p>Add Static Route</p></figcaption></figure>

* Static route is available and can be used.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/22dekarouter/22.17%20success.png" alt=""><figcaption><p>Add Static Route</p></figcaption></figure>


---

# 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.cloudeka.id/deka_flexi/nat-gateway/configuration-nat-gateway/add-static-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.
