> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/platforms-and-hardware/add-persistent-static-route.md).

# Add persistent static route

This page shows how to add a persistent route to a [Tctrl](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/concepts/tctrl/README.md) of a TMG.

\*WARNING\*: This procedure can be use to route the H.248 traffic only. SIP, SIGTRAN and RTP requires another procedure.

## Add static route

Create a file with the interface name

```
vi /etc/sysconfig/network-scripts/route-<interface name>
```

Add static routes (the file must contain at least 2 entries, default route for the interface and your static routes) default dev \<network/netmask> via dev

Source: [Static route configuration](http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html)

### Example

Adding to reach network 192.168.100.0 with mask 255.255.255.0 using a router at 10.0.0.5 (vlan id 15) vi /etc/sysconfig/network-scripts/route-vlan15

Routes: default 10.0.0.1 dev vlan15 192.168.100.0/24 via 10.0.0.5 dev vlan15


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/platforms-and-hardware/add-persistent-static-route.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
