Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have read that I can connect a second router by turning off DHCP and NAT, but I want the second router to assign DNS (I'm using it as an access point for my kids, and will use OpenDNS family service to help prevent inappropriate web pages).

Can I chain the two routers together keeping DHCP on both? How?

Its a Pace 4111N (primary) and Linksys E3200 (secondary).

Thanks!

Aerik

share|improve this question
    
You should be able to just set the second router to use OpenDNS for the DNS, while having DHCP and NAT only in the first router. –  mgkrebbs Sep 4 '13 at 23:37
add comment

4 Answers

up vote 4 down vote accepted

You really only want one DHCP server per network (or multiple ones working in a redundant configuration). If you have more than one on a given network, whichever DHCP server answers first is going to be the one that gets to configure that DHCP client. So if you have two separate configurations you want to "push" via DHCP, you can't do it predictably if both DHCP servers are on the same network - not to mention if the IP ranges overlap, you'll have IP conflicts.

However, in your case, it sounds like you really want two separate networks, one for your use and one for your kids. You can do this with what you have.

  • One of your routers will be connected to your ISP. This router needs to be assigned the internal LAN IP 192.168.1.1, and hand out DHCP addresses on something like 192.168.1.2 through 192.168.1.50. Call this router Router A.

  • Connect a cable from one of the LAN ports on router A to the WAN port on router B. Set Router B's WAN IP address to 192.168.1.51, and its internal LAN IP to 192.168.2.1. Tell it to hand out DHCP addresses on something like 192.168.2.2 through 192.168.2.50. Set the DNS settings on this router's DHCP to what you want for your kids.

Router A should work normally. If you have things you need accessible via the Internet, make sure it's connected to Router A and setup your port forwarding on Router A like you would on any normal router.

Router B will "get internet" through Router A.

Router B will be double NATed. This means it's very difficult for machines from the Internet to connect to anything behind router B. You probably want this since it's for your kids.

By segmenting your network like this, you'll have a separate network for you and your kids and can do what you want.

share|improve this answer
    
I had imagined something like this, but couldn't quite wrap my head around the details. I will try it and if it works I will mark it as the answer. Thank you for the detailed explanation! –  Aerik Sep 4 '13 at 22:26
add comment

Sure, the only thing you'll want to make sure to do is set them to different subnets. Most consumer routers are set to use 192.168.1.*

Just make sure to set the second one to be 192.168.2.* or something similar.

Assuming Internet > RouterA > RouterB, the one disadvantage you'll have is that systems attached to RouterA will not be able to access systems behind RouterB unless you set up routes.

share|improve this answer
add comment

Short answer: no, you cannot bridge two DHCP servers together. Computers that join the network would get an address from whichever router that responded first, and the two routers would not check in on each other.

Longer answer: you could make one router a DHCP client of the other. This would make a network inside your network, and you could control what the inside subnet would see. Downside is the inner network would have NAT running twice, but you'd have a "private" network.

When you turn off DHCP and NAT, you're effectively turning that router into a switch, not bridging them together.

share|improve this answer
add comment

You do not need two DHCP networks (or even networks) here.

Leave the address handling and DHCP servers however you want, either forward just the DNS on the second router to OpenDNS, or change the DNS servers only in your TCP / IP properties.

enter image description here

share|improve this answer
    
You said, "either forward just the DNS on the second router to OpenDNS" - but I didn't think that would work... won't the devices connected to the second router only get the DNS info from that router if they have DHCP through that router? Also, thank you but "change the DNS servers only in your TCP / IP properties" is insufficient because I want the Wii and the kids' other devices to get DNS lookups from OpenDNS as well (unless they're using their own DNS, and I can't help that). –  Aerik Sep 4 '13 at 22:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.