Separate router and modem: 2 DHCP servers and wierdness
Our network is currently as follows. Is there a better way to do this?
192.168.1.10 to 20 is the IPs of the Client computers on the network. They are getting thier IPs automatically and the resolv.conf is being automatically set to `nameserver 192.168.1.2`
192.168.1.2 is the IPs Router with a DHCP server server running and routing everything to a modem on 192.168.1.1. However, the resolv.conf on the router is set to 192.168.1.1
192.168.1.1 is the IP of the Modem that is also running a DHCP server and dishing out IPs in the range of 192.168.1.50/100.
The present setup means that every DNS query has to go to the router, that then goes to the modem and then off to the ISP. My brother thinks this could be a problem, could it be?
I didn't really want 2 DHCP servers running confusing the issue so I tried disabling the modem DHCP server. Unfortunately the client computers couldn't see the modem DHCP server behind the router as expected, the clients never got an IP.
If I disable the modem DHCP server the router doesn't know how dish out the right routing for the clients. So 2 DHCP servers it is then....
Also, my brothers Ubuntu laptop is setting it's IP to 192.168.1.1 instead of 192.168.1.2. I'm hoping that's just a permissions problem as the Windows clients seem to be working.