• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

2 Networks with DD-WRT Routers

Penth

Senior member
I've got two networks that I want to connect by VPN. They both have DD-WRT routers and it seems like both can be clients and servers (I don't know if it's necessary for each one to have both rolls but it seems like it might be.) Anyway, I don't know what I'm supposed to use for domain and also it seems like I'm going to have conflicting IP addresses. Do I need to change my IP range for one of the networks? Can I have them both be 192.168.1.x and just have like 192.168.1.1-100 for one network and 101-255 for the other?

If anyone can walk me through setting this up I would appreciate it.
 
You will only need to configure one as client and one as server. I don't know about the specific setting fot DD-WRT but enable dial-on demand or scheduled connection so the network is up when you need it.

You will need to have a different IP range for each network. The easiest way is to make one something like 192.168.1.0 and the other 192.168.2.0. Make sure the subnet mask for each is 255.255.255.0. The mask is what really differentiates the networks. If you leave it at 255.255.0.0 with those addresses they will still be on the same network.
 
You could have one range be 192.168.1.0-127 and the other be 192.168.1.128-255 using the subnet of 255.255.255.128. This can be confusing for some as it seems like they're the same network, but in fact they are separate and cannot communicate between each other without a router.

If it's necessary for some reason, there's no problem doing that. Obviously, you can't use the 0 or 127 or 128 or 255 addresses as hosts, as they're the network and broadcast addresses of each range respectively, but it would partition the subnet nicely.
 
How would you go about forwarding ports in a setup like this? Lets say you have a PC on the second router that needs ports forwarded, do you go into the main router and forward that PC's IP or do you forward the second router's IP and then forward the PC's ip on the second router?
 
OK, I've got the networks now so that one is 192.168.0.1-255 and the other is 192.168.1.1-255, both subnets are 255.255.255.0. I have tried setting up a server going both ways. Windows XP and Vista vpn clients can connect on either side but the dd-wrt pptp client doesn't seem to connect. I can't get any kind of status from it either. Any pointers?

I tried following this tutorial but I'm stuck where I said above.
 
Back
Top