[SOLVED]Static Route not taking affect

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
PeterK2003
DD-WRT Novice


Joined: 15 Aug 2018
Posts: 8

PostPosted: Sat Apr 23, 2022 1:22    Post subject: [SOLVED]Static Route not taking affect Reply with quote
I have set a static route but it never show up in the routing table.

How would one troubleshoot this?

Thank you in advance.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 23, 2022 6:16    Post subject: Reply with quote
We can give better support if you tell us the router model and build number (some models have broken builds or maybe you are using an outdated build etc.)

Furthermore did you use the GUI to setup a static route? If so post a screenshot, if you are using the CLI (telnet/Putty) then how did you set up?

If you have not already read them then read the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Sat Apr 23, 2022 8:45    Post subject: Reply with quote
It will not show up before the destination is up and running, i.e. the destination network may not be reachable because a VPN tunnel is not started.
PeterK2003
DD-WRT Novice


Joined: 15 Aug 2018
Posts: 8

PostPosted: Sat Apr 23, 2022 11:10    Post subject: Reply with quote
ASUS RT-AC66U
Firmware: DD-WRT v3.0-r44715 giga (11/03/20)

Added Via GUI but willing to do it via command but despite searching I couldn't find he command to so.

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         100.64.0.1      0.0.0.0         UG    0      0        0 vlan2
100.64.0.0      *               255.192.0.0     U     0      0        0 vlan2
100.96.1.0      100.96.1.17     255.255.255.0   UG    0      0        0 tun1
100.96.1.16     *               255.255.255.240 U     0      0        0 tun1
100.97.0.0      100.96.1.17     255.255.0.0     UG    0      0        0 tun1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
192.168.10.0    *               255.255.255.0   U     0      0        0 br0
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 23, 2022 11:31    Post subject: Reply with quote
First of all you are running an old and outdated build which already has security issues.

It is highly recommended that you upgrade.
Coming from such an old build a reset *after* update is also highly recommended.
After reset put settings in *manually*, never restore from a backup (to a different build)

Now on to your question, as we are talking about a subnet you better use 192.168.100.0

Furthermore the Gateway has to be available on the chosen interface if unsure use ANY as gateway (it looks like 192.168.10.1 is your routers internal IP address so that would be br0)

As we do not know your network and what it is you want to accomplish I cannot comment on the rule itself.

Edit: On newer builds (and perhaps it also works on older builds) you can set the gateway to 0.0.0.0 and then let DDWRT choose the appropriate address with the interface (but it could be that this only works on my build)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
PeterK2003
DD-WRT Novice


Joined: 15 Aug 2018
Posts: 8

PostPosted: Sat Apr 23, 2022 11:42    Post subject: Reply with quote
where do i get a newer build that is the latest that I see for my router.

https://dd-wrt.com/support/router-database/?model=RT-AC66U%20(AC1750)_-
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 23, 2022 11:45    Post subject: Reply with quote
From my first answer:

Quote:
If you have not already read them then read the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087


Current build is 48646

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
PeterK2003
DD-WRT Novice


Joined: 15 Aug 2018
Posts: 8

PostPosted: Sat Apr 23, 2022 11:59    Post subject: Reply with quote
Thank you that was very helpful. I have got it working.

I needed that route so that still talk to my dishy.

would be interested in a more recent build however.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 23, 2022 12:08    Post subject: Reply with quote
Glad you solved it Smile
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
PeterK2003
DD-WRT Novice


Joined: 15 Aug 2018
Posts: 8

PostPosted: Sat Apr 23, 2022 12:12    Post subject: Reply with quote
Yeah I had all the right setting before but not at the same time....

Also on the latest firmware now. I didn't realize that I wasn't suppose to use the router DB. Not sure what the point of that is then...
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Sat Apr 23, 2022 12:15    Post subject: Reply with quote
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/04-12-2022-r48646/asus-rt-ac66u/
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 23, 2022 12:22    Post subject: Reply with quote
PeterK2003 wrote:
Yeah I had all the right setting before but not at the same time....

Also on the latest firmware now. I didn't realize that I wasn't suppose to use the router DB. Not sure what the point of that is then...


Unfortunately there is no point in the router database.
A long long time ago that was a stable build but it is not any more.

There is a disclaimer on the router database page but it is not very obvious, you are not the first "victim" Sad.

Unfortunately the router database is out of our control so not much we can do about it at the moment Sad

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum