D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-343 => Topic started by: dougmeredith on September 07, 2010, 11:53:38 AM

Title: Adding a static route
Post by: dougmeredith on September 07, 2010, 11:53:38 AM
I want to access my DNS-343 from another network.  In order to do so I need to add a static route.  I can find no option for this in the web interface and I couldn't find anything by searching here or using google.  How can I do this?
Title: Re: Adding a static route
Post by: !!!!clarkkent on September 07, 2010, 07:08:00 PM
That option/feature is not on this device since it's not a router. Create a static route on the router where your dns-343 is connected to.
Title: Re: Adding a static route
Post by: dougmeredith on September 21, 2010, 04:58:21 PM
Routing is an issue that applies to any host on an IP network, not just to routers.

I have already correctly set the default route on the DNS-343 to point to my Internet router.  I now need to add a static route to another local network.
Title: Re: Adding a static route
Post by: knightfreeze on September 22, 2010, 05:12:15 PM
@dougmeredith, I believe you were referring to "Dynamic DNS"? Having a "static route" without having a static IP. You can sign up free with dlinkddns or dyndns.
Title: Re: Adding a static route
Post by: mgrant on February 07, 2011, 08:32:00 AM
I also need to add a static route to my DNS-323.  No, this has nothing to do with Dyndns.  Let me explain.

I have the D-Link DNS-323 on my local network at home, it has an address like 192.168.2.11. 

I have a Cisco VPN controller (a Pix).  When I VPN into my network, the Pix gives me an address like 192.168.50.1. 

However, the Pix is not the default route to exit my network.  The default route is my Netgear router which is at 192.168.2.1.

The D-Link has no notion how to get to the 192.168.50.x network, it tries erroneously to send packets to the Netgear router (the gateway).

What I need to do is the equivalent of this linux route command, on the DNS-323 tp install a static route:

Code: [Select]
route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.2.11 metric 10

How can I do this in the DNS-323?

Michael Grant
Title: Re: Adding a static route
Post by: urbang33k on February 19, 2011, 03:30:46 PM
install the fonz funplug, ssh in, and type the command at the linux prompt???  

I don't know much about linux or networking to the lengths that you aparently do but if thats a linux command then it might working simply by typing it in to the ocmmand prompt of your ssh session.   I dont think dlink officially supports terminal sessions with your dns323 however.

you might try googling these key words together

dns323 wiki funplug



Title: Re: Adding a static route
Post by: urbang33k on February 19, 2011, 03:44:05 PM
ah didn't realize i was in the 343 forum.   Well the fun plug might work anyways.. 
Title: Re: Adding a static route
Post by: EsDe on October 10, 2013, 01:26:17 PM
Another solution might be the telnet interface.
(I got a DSL-321B, but hopefully it works for most D-Links)
You can enable telnet via web-interface (if not on by default).
For me: Advanced > Remote Management
there: check Telnet from LAN

Then (Linux: open a shell; Windows: open cmd.exe)
telnet 192.168.1.1  (or your configured ip address)
(login with your admin password)

Get routing settings with ("tc>" is the telnet prompt - don't type this):
tc> ip route status

Add a new route with:
tc> ip route addprivate
Usage: addprivate <dest addr>[/<bits>] <gateway> [<metric>]

As per your example it should be:
tc> ip route addprivate 192.168.50.0/24 192.168.2.11 10

!! important: the additional route is gone after reboot of the device !!

# Hope that helps someone. :-)