我是資深的電腦資訊從業員,曾於 Motorola 及 Philips 等跨國大型公司管理層工作十多年,具各類ERP資源管理系統及其它應用系統經驗,如QAD之MFG/PRO、SAP、Ufida(用友)、Kingdee(金蝶)、Microsoft's Dynamic、Wonderware's In-Track (SFC)、Webplan (SCM)、Hyperion (business intelligence)、Informatics (Data Warehouse)...等等。另外,我精於廠房車間之電腦資訊運作,擁有 CISSP 及 ITIL 認證,能提供日常資訊運作之檢測及審查,以提高操作效率。 本人誠意為各類大中小型廠房提供資訊審計、支援及意見,歡迎聯絡,電郵為




我想很多人會對"香港股票價位的歷史數據"有興趣,我已下載成Microsoft Access database version 2000 的文檔,資料由2008/1/1至2009/12/2,zip壓縮後也有11M,若索取請留你的PM我 。




DD-WRT Routing Issue

Source :

I've been wrestling with trying to separate out one subnet between two buildings into two separate subnets.  I am testing this out using two DD-WRT routers.  The scenario is:
Building One and Two are currently under, lets say, a subnet.  The current setup is that everything from Building Two goes through Ethernet to Building One.  There are two routers; the default gateway at, which routes data through MPLS if needed and if it doesn't know the route, sends it to, which is connected to the Internet.  The idea is to add two DD-WRT routers at Building Two, as they are getting their own internet.  What I want to do is have be at the end of the Ethernet drop between the buildings, with the WAN port having an IP address of  This will be the default gateway for the subnet.  The other router,, will be hooked up to the Internet.  Then, I would have a static route on that says any traffic in the network should go to, as well as static routes for the other networks connected through MPLS.  All of the routes are fine except for the one that connects it to  When I try to create the route, it just sends it to, and routes traffic either back to, or to, which doesn't know what to do with the traffic.  How can I force this route to work?  If there is an easier way to do this, please let me know, but I think this is as simple as it gets.

15 Replies

phlight Jan 16, 2015 at 9:15 PM
Sorry this doesn't answer your question but are you planning on using dd-wrt for production or testing?  There hasn't been a new release since 2008 as far as I can tell.
JRochow Jan 16, 2015 at 9:28 PM
UPDATE: I can add the route, but it doesn't delete the other one, so the router gets confused and stops letting me connect to it.
Jack (SpectorSoft) Jan 16, 2015 at 9:42 PM
SpectorSoft is a Spiceworks partner.
I'm running DD-WRT at my house and while I haven't updated it in quite some time, the build date on the version I am running is 03/25/2013.
JRochow Jan 16, 2015 at 10:38 PM
I was planning on using it production, but if someone can offer a better solution I would gladly take it.  I was told to work with what I had first, but if necessary, I could buy something.
DaveVisi Jan 16, 2015 at 10:41 PM
Ditch your consumer router now. Move to the Meraki Z1 teleworker gateway. You get smart manageability, quarterly updates with new features and fixes and zero problems configuring what you are trying to do. 
You should be able to get this for under 175 a router and support only costs 25 a year. This thing is so inexpensive for the feature set that it beats the pants off of ANYTHING you can pick up at a local store. 
JRochow Jan 16, 2015 at 10:49 PM
Wouldn't I need multiple WAN ports for this?  The documentation I see provides only 1 WAN port.
JRochow Jan 16, 2015 at 10:58 PM
Or are you saying that if I went this route, I would need to purchase both devices?
JRochow Jan 17, 2015 at 2:50 AM
Does anyone else have any suggestions?  I need to get this working and I am not getting anywhere.
Jack (SpectorSoft) Jan 17, 2015 at 3:32 AM
SpectorSoft is a Spiceworks partner.
Is this what you're looking for?
Dataless Jan 17, 2015 at 3:46 AM
JRochow wrote:
Wouldn't I need multiple WAN ports for this?  The documentation I see provides only 1 WAN port.
Ubiquity makes some great routers that fit almost any budget.  Starting at 3 ports, they also have 5 and 8 port models.  The larger models have POE as well which is great for running devices like access points.
They also make access points, switches and cameras.  They are a good vendor to get to know.  One of the bonuses I like about them is unlike Cisco products and the like they don't require any type of subscriptions.
Newegg lists the 3 ports for $99 delivered through their market place from Flytec computers.  I'm purchased 4 of them and a hand full of AP's through Flytec so far received them promptly every time.
They also list them on the Newegg Business site.
When you set them up you can choose what each port is used for, you can have multiple WAN and LAN ports.
JRochow Jan 17, 2015 at 4:29 AM
I tried to link the subnets between routers earlier (I saw the same article), but the issue is that the router is not allowing me to create a static route that says all traffic should go to  It tries to just send it to, which then sends it to, creating a loop.
JRochow Jan 17, 2015 at 4:46 AM
I have worked with Ubiquiti before, but again, I need to be able to have multiple WANs right?  I have 2 different networks here (Building1, Building 2, and the ISP network).
Dataless Jan 17, 2015 at 2:03 PM
I'm not exactly a networking god, but if I understand correctly, assuming your routers have 2 WAN ports your setup would be something like the following;

So in building one you'd route all traffic destined for to and in building two all traffic destined for would rout to
Assuming your main WAN is eth0, the bridge is eth1 and your LAN is eth2.
Your routing would be something like;
Building 1;
default interface eth0 interface eth1
Building 2;
default interface eth0 interface eth1
Again, I'm no network expert, just trying to make sure I'm understanding what you are doing correctly.
Dataless Jan 17, 2015 at 2:10 PM
The above should be possible with DD-WRT or another other hardware, I just suggest Ubiquity because DD-WRT usually runs on consumer grade hardware which may not hold up over time to heavy use.  It should work fine for testing though, I haven't used it for some time but setting up routes should be pretty easy through the GUI if I remember correctly.
I'm sure if I'm way off on the configuration someone more qualified can chime in.  I just wanted a visual aid to try and understand better.  Assuming I summed up the goal properly in the image.