Published on

Adding A Static Route On A Technicolor TG582n

Authors
  • avatar
    Name
    Jac Timms
    Twitter

Needed to add a static route to a Technicolor TG582n modem/router tonight that is being used for a fibre upgrade. There isn’t any way to add it in the web interface I could find; however, after a little look in the docs, I found it can easily be added via telnet. First, telnet to your router:

telnet 192.168.1.254

Username : Administrator
Password : *******

-----------------------------------------------------------------
{Administrator}=>:ip rtadd dst=172.16.0.0/24 gateway=192.168.1.252 intf=lan1
{Administrator}=>saveall

There are several more options available if you need them. It will ask you for each one if you do something like…

{Administrator}=>:ip rtadd
dst = 172.16.0.0
[dstmsk] = 255.255.255.0
[label] =
[gateway] = 192.168.1.252
[intf] =
[srcintf] =
[static] =
[status] =
[metric] =
:ip rtadd dst=172.16.0.0/24 gateway=192.168.0.252

Then just do a saveall and you should be good. If you make a mistake or want to delete your route, you can do that with something like…

ip rtdelete dst=172.16.0.0/24 gateway=192.168.1.252

Hope that helps someone. 🙂