r/Network • • 5d ago

Text Dhcp wlan

I have a network setup where a Windows Server is connected to the router via Ethernet, while client PCs connect through Wi-Fi.
I want to implement Active Directory (AD DS) and need advice on the best approach to configure DHCP, DNS, and domain joining in this WLAN environment.
Should DHCP be managed by the router or Windows Server? What is the recommended setup?

5 Upvotes

9 comments sorted by

2

u/yoloJMIA 5d ago

It depends on the number of client devices and how security focused you are. You can set the router so the wireless and Ethernet devices can communicate and use the router for DHCP/DNS. That's going to be the easiest setup. But if this is a home lab and you're trying to learn then you may want to set it all up on windows

1

u/No-Philosopher-5937 5d ago

No office serup but need to setup it the easiest way

2

u/Single-Virus4935 5d ago edited 5d ago

For a very small org/network the router handling DHCP and DNS forwarding is the easiest and most stable setup. Without redundancy client will experience connectivity issues in case if server problems or maintainance. You need to add a forwarding entry for your domain to the windows DNS server.

Also very important: don't have other roles on the DC. So you need at least two Windows Server instances. Usually a licence allows at least two VMs plus hypervisor on one host. So you can e.g. use hyperv, proxmox, esxi, .. As a hypervisor and run one windows server VM.for DC and one VM for the rest.

This may sound more difficult at first but trust me, this saves a lot of headache later on an you enjoy snapshots and easy backups which will save you a.. after the next failed windows update.

Edit: Windows DHCP and DNS makes sense if you need central control and acls e.g. you have many branch offices and a dedicated Domain, Network, Storage admin teams and need to control who can change what. For example a branch network operator should be able to add host reservations in some subnets but nothing else

1

u/uruhara98 5d ago

Hi, could you maybe explain why a small company should not have DHCP on DC? It is the only role I find acceptable for a small business to have on DC. Of course, if the OP wanted to deploy FS / IIS / RDS, etc, I would recommend the same as you.

1

u/Single-Virus4935 5d ago edited 5d ago

https://www.akamai.com/blog/security-research/abusing-dhcp-administrators-group-for-privilege-escalation-in-windows-domains

Rule of thumb: everything on a DC is just Domain admin even if it needs extra steps.

Edit: Besides the security aspect, you really don't want to mess up your DC/AD just you need to troubleshoot any other service/role. 

1

u/MrChicken_69 5d ago

If I had to keep a windows server anyway, just put everything on it. Win DHCP/DNS aren't that horrible. (been using them since windows 2000)

1

u/MetaCardboard 4d ago

DHCP on the server. Idk why everyone is saying router.

2

u/MechaPhantom302 3d ago

Bold statement without knowing which server OS version they're running.

There's absolutely nothing wrong with setting up a core switch/router as the DHCP server. Heck, use the firewall if it can handle it.

1

u/Benny-Speed 4d ago

The simplest working setup right now, letting the router hand out DHCP leases while telling the router to hand out DHCP leases while pointing DHCP option 6 to your Windows server and forwarding external lookups from Windows DNS to your router or public resolvers, is usually the fastest way to get Wi-Fi clients resolving domain names and joining the domain.