4

How can a DHCP server distinguish between Windows 10 and Windows 7 clients?

I want to identify the Windows version of the clients using the vendor class, and assign the specified settings.

I am unable to configure anything on the clients.

I want the DHCP server to be able to detect the Windows version by itself.

Is there a way to do this?

Greg Askew
  • 39,132

2 Answers2

10

No, it can't.

The vendor class supplied by Windows clients ("MSFT 5.0") is extremely crude. Windows 7/10/11 can't be separated.

Zac67
  • 13,684
8

The vendor class option doesn't do the trick, as Zac67 wrote already, but the DHCP Fingerprints (number and order of Requested DHCP options in option 55) should differ from version to version. Classing DHCP clients by fingerprint is not supported by all DHCP servers, though. If fingerprinting is a possibility for you, you'll find a database at https://api.fingerbank.org/devices.

On request of the OP, I'd like to add that both ISC dhcpd (see example at https://github.com/daviswr/dhcpd.fingerprint/blob/master/fingerprint.conf) and ISC Kea support classifying clients based on fingerprinting. (There's at least one commercial DHCP server which supports it, too).

Qippix
  • 81