Cascading Routers, Separate Networks with different DNS

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


Joined: 21 Sep 2017
Posts: 2

PostPosted: Thu Sep 21, 2017 18:28    Post subject: Cascading Routers, Separate Networks with different DNS Reply with quote
I have two separate routers both running recent versions of DD-WRT firmware.

What I'd like to do is use one router (Wifi and Ethernet) for the devices the wife and I use and have the second router (Wifi and Ethernet) be available for the kids to use. On the router for the children I would like to use OpenDNS to filter their content.

Is this possible?
Is this a good idea?
What type of changes should I make to the router's settings?

Currently I have a LAN port on router #1 running to the WAN port on router #2.
Router #1
Connection Type: DHCP
Mode: Gateway
Local Network settings:
192.168.1.1
255.255.255.0
0.0.0.0

Router #2
Connection Type: Static IP
192.168.1.2
255.255.255.0
192.168.1.1
Mode: Gateway
Local Network Settings:
192.168.2.1
255.255.255.0
192.168.1.1
Sponsor
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Fri Sep 22, 2017 23:57    Post subject: Reply with quote
Yea you can do that if you wanted or you could do it all from one router also.

But from what you are showing I'll make a couple suggestions -

Router 2 ... leave its WAN connection type as DHCP.
if you want it to have the 192.168.1.2 IP put that as a static lease in router 1.
Just get router 2 WAN MAC address to put along with static IP.
Router 2 is showing as gateway mode so its LAN gateway is not 192.168.1.1... It would
be its own IP 192.168.2.1 ... ok
Set router 2 static DNS to whatever you want but you must make sure 'Forced DNS' is
not enabled on router 1 .... I think that should work.

If I was determined to use two routers I would just set #2 up as a WAP and either unbridge its
physical wireless or create an unbridged VAP.

Using one router to do it all just search for creating a guest network.

Note: If you are using a router with 'Recursive DNS' and it is enabled on the main router all DNS will go thru it.
You would have to turn that off to allow use of other DNS for other devices.
smcc2
DD-WRT Novice


Joined: 21 Sep 2017
Posts: 2

PostPosted: Mon Sep 25, 2017 13:38    Post subject: Reply with quote
Thank you for your suggestions.
I have it working correctly now, for the most part.

I researched the option for having a guest network prior to the idea for using the second router, but not all of their devices are WiFi capable (older BluRay players, etc. <- There are network drops in their rooms to bypass the no WiFi limitation).

For setting the static lease for Router2 within Router1 I should just be able to follow these directions, correct?
https://www.dd-wrt.com/wiki/index.php/Static_DHCP
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Mon Sep 25, 2017 14:35    Post subject: Reply with quote
smcc2 wrote:
Thank you for your suggestions.
I have it working correctly now, for the most part.

I researched the option for having a guest network prior to the idea for using the second router, but not all of their devices are WiFi capable (older BluRay players, etc. <- There are network drops in their rooms to bypass the no WiFi limitation).

For setting the static lease for Router2 within Router1 I should just be able to follow these directions, correct?
https://www.dd-wrt.com/wiki/index.php/Static_DHCP

Yea set MAC & IP in static leases on main router so the 2nd router will always have same IP. This is important --- by default anything connected to the 2nd router can access devices on main. You will need to add firewall rules to block this if you need to. I'm not going to try typing out the rule from memory... besides I'm using the phone and it's interface is terrible in these 15 year old forums.
Search for firewall to block WAN subnet and that prolly fix you.
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