Forum Home
Press F1
 
Thread ID: 108701 2010-04-08 04:20:00 Assign IP based on AD group membership? jwil1 (65) Press F1
Post ID Timestamp Content User
874198 2010-04-08 04:20:00 HI all,

Is there a way to set up DHCP in a WS2003 domain environment so it assigns IPs based on a PCs group membership in AD?

Thanks :)
jwil1 (65)
874199 2010-04-08 10:09:00 NO. You could use reservations but this is normally used for certain devices only. Why would you want to anyway? berryb (99)
874200 2010-04-08 10:28:00 I'm not overly familiar with AD, but doesn't a PC have to have already retrieved an IP address from the DHCP server (or have a static IP set within the network's IP range) in order to authenticate against AD in the first place - i.e. log into the domain?

I guess you could possibly use a netsh script on login to change the PC's IP address, but that could get messy.
somebody (208)
874201 2010-04-08 10:50:00 The problem is changing the IP address via start up script will interfere with domain startup settings and the same with a login script. Get into all sorts of bother here. berryb (99)
874202 2010-04-08 12:46:00 I think the most obvious question is why? Deimos (5715)
874203 2010-04-08 22:41:00 The short answer is no - this is not simply a tickbox type option on Windows DHCP / AD configuration. The long answer is, what do you need to accomplish here? There's probably a better way to do it, but if you really want to do it via DHCP lookups to AD and are prepared to throw the necessary time & resources at it, then, well... there's still probably a better way to do it. But it's doable. inphinity (7274)
874204 2010-04-09 00:12:00 As a general rule, you want less administrative work, not more, if you are assigning IPs to machines that is a lot more work than setting up a DHCP server, I'd say 5 PCs is the threashold for static IPs (that is 5 client PCs on your whole network), after that it is a lot less effort to set up a DHCP server, and if you want to assign a specific IP to a machine the only way to do it is either statically, or through DHCP reservation, both require extra work.

I can't really see a point, and without further information no one here is going to be able to help you...
Deimos (5715)
1