Use different lease-times with Windows DHCP server

I try to configure a Windows 2003 DHCP server for a single LAN 192168.1.0/24 such that I can group reservations and say reservations from group A get different options and a different lease time(!) from greservations of group B and different again from non-reservation aliases (i.e. "unknown" MAC addresses), whihc should only be served from a specific range -

This would be very easy with a Linux dhcp server:

subnet netmask {
default-lease-time 300;
max-lease-time 600;
options ....

group {
default-lease-time 86400;
max-lease-time 172800;
options ....
host host1 {  hardware ethernet ....; fixed-address }
host host2 {  hardware ethernet ....; fixed-address  }

group {
default-lease-time 1000000;
max-lease-time 2000000;
options ...
host host3 {  hardware ethernet ....; fixed-address }
host host4 {  hardware ethernet ....; fixed-address  }

Open in new window

But I have trouble figuring out how to do this with Windows.
I could add the group specific options into the individual reservations, but that is not feasible: One would have to repeat several configurazion steps for each new reservation, one could hardly tell if one did something wrong, one would have to touch all reservations in order to change one of those options later.
But even then, I don't see how I can configure different lease-times.

Who can shed some light on this?
LVL 20
Who is Participating?
kevinhsiehConnect With a Mentor Commented:
I suggest that if you had a short lease time of 30-60 minutes, your regular would not be adversely impacted by frequent DHCP renewals. Renewing a DHCP address is a pretty trivial task, and it won't slow down your network. The only issue I see is if your DHCP server if offline for a period longer than the half-life of your lease, then you may see clients lose their lease and be unable to get a new one. Re-reading your last post, you could maybe have a lease of 8 hours and still not have your visitors tie up addresses for days. An 8 hour lease would be fine for most production environments.
I would add a second LAN segment and use different scopes. You can also use 802.1x port authentication to assign different VLANs to devices based upon whether or not they authenticate. Might be easier to use a Linux DHCP server.

The options can be managed using classes, but not the lease time.
You also can use reservation for your internals clients and a pool for unknow clients.

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

thehagmanAuthor Commented:
Thanks so far, but it seems I'll have to leave this question still open a bit.
@kevinhsieh Using different (V)LANs for this purpose is not an option unfortunately
@dan_blagut Well, having to run to all clients (as far as they are Windows clients) and perform a local configuration task somehow defeats the purpose of DHCP. And really the lease time is one of my major issues (only a few leases for temporary visitors that should not block other visitors for days and at the same time my "permanent residents" should not have to renew their leases every few minutes)
SteveConnect With a Mentor Commented:
a very short DHCP lease will cause more traffic than is ideal, so I'd recommend care before implementing that one.

The only way to have different settings on windows DNS is to use different scopes. The issue is how the server knows which scope to provide to a client in your case. how would you like the sever to classify clients into the correct group?
It's not possible to do this by MAC address in windows.

Most companies have a separate network segment/subnet for different purposes. In addition to having better separation/security between networks this would allow you to have a DHCP scope for each 'subnet' with independent settings and lease times.
A DHCP lease operation is 4 packets. Not a big deal on an Ethernet network.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.