TMG:Add persistent static route
From TBwiki
(Difference between revisions)
(add warning) |
(rebrand) |
||
Line 1: | Line 1: | ||
− | This page shows how to add a persistent route to a [[ | + | This page shows how to add a persistent route to a [[Tctrl]] of a TMG. |
<span style="color:#B22222"> | <span style="color:#B22222"> |
Latest revision as of 09:19, 9 September 2016
This page shows how to add a persistent route to a Tctrl 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 <default gateway> dev <interface name> <network/netmask> via <gateway for route> dev <interface name>
Source: Static route configuration
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