Static Routes No longer works in newer firmware (n66u)

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


Joined: 24 Aug 2012
Posts: 23

PostPosted: Sun Dec 03, 2023 3:48    Post subject: Static Routes No longer works in newer firmware (n66u) Reply with quote
Hi there

I would have a custom route
route add -host *.googlevideo.com gw ipaddressofgateway
or
route add *.googlevideo.com gw ipaddressofgateway

that use to work many years ago

but i can not get to work

any help would be appertained.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12923
Location: Netherlands

PostPosted: Sun Dec 03, 2023 9:09    Post subject: Reply with quote
"route add" is a bit outdated nowadays it is ip route and no "ip route" does not have a lookup of hostnames any more.

For some explanation see: https://serverfault.com/questions/754618/what-is-the-ip-route-equivalent-of-route-add-host-in-linux

Are you sure wildcards were supported?
Without wildcards it should still work.

Nowadays with "ip route" I first do an nslookup to get all the IP addresses of the host (IPv4 and IPv6) and then route those

_________________
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