DHCP in router with AD, DNS and DHCP in one Server

active-directorydhcp-serverdomain-name-systemip addressnetworking

My Lan is working fine 5 switches connected to core switch and have a router, DHCP configured in the router, network 10.10.10.1, 10.10.11.254 — Mask 255.255.254.0 — d.g 10.10.10.1 (Router IP).DNS 8.8.8.8 ETC,

we want scenario to be like this:
Clients use DHCP in new DHCP server but when server is down sure they can be online with router DHCP


NOW we have one server configured as AD,DNS and DHCP server, sever have ip 10.10.10.5. DNS 10.10.10.5. no default G.t

when i configure DHCP server give it router ip as a router D.G (10.10.10.1 ) and also server ip in DNS (primary Server ip 10.10.10.5 and DNs of google)

now not all my PCs have IP from DHCP server,

SO clint use Server DHCP have somthing like that:

ip : 10.10.10.x

s.n:255.255.254.0

d.g:10.10.10.5

10.10.10.1

Dns:10.10.10.5

8.8.8.8

and of course i can join them to AD

Clients use Router DHCP have :

ip : 10.10.10.x

s.n:255.255.254.0

d.g:

10.10.10.1

Dns:x.x.x.x

8.8.8.8

so of course can't join AD.

i need them to get their ips from server without remove dhcp server in router as an alternative DHCP what i can do in server or router.


  • what is the right Ips assigned in DHCP server and DNS.
  • what i will add in router (DNS of my server) or refer to DHCP sever or donothing on it?

  • what clients D.g should be in this case the ip of router or the ip of the server.

———————————————————————————————————————————-

I just need 2 simple things

1- clients get ips from DHCP SERVER and can joined AD in the same server

2- Clients can access internet through router

NOte:(Router and server in the same core switch and confiured DHCP in both of them with the same range)
what is the best implementation for that?

Best Answer

Don't try to do DHCP failover depending on whether a server is up or down. It won't work very well, if you can get it to work at all.

What might work in your scenario, and would be resonably clean, is that you run DHCP in the router, and configure the router's DNS server to forward requests for your domain back to your domain controllers. Few router softwares will do this however. pfSense will do it through the DNS Forwarder functionality, but most others can't. We can't really give you specific advice since you don't say what router is in use.

However, a much better idea is just spending a few hundred dollars on a second server to act as your second domain controller. You might then run DHCP in a failover configuration on these two servers. You would assign two DNS servers through DHCP pointing at your two domain controllers.