insomniacslk / dhcp

DHCPv6 and DHCPv4 packet library, client and server written in Go
BSD 3-Clause "New" or "Revised" License
685 stars 168 forks source link

Can DHCP Server detect client windows version? #539

Closed javad9505 closed 2 weeks ago

javad9505 commented 2 weeks ago

I have a DHCP server and several clients, some running Windows 10 and some Windows 7. I wuant the DHCP server to be able to identify the Windows version of the clients using the vendor class and assign the settings I've specified accordingly. Also, I don't want 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?

pmazzini commented 2 weeks ago

Is the client sending any information for the server to be able to identify the Windows version?

javad9505 commented 2 weeks ago

client send VCI(vendor class identifier) to server but for windows 10 and 7 is equal.

pmazzini commented 2 weeks ago

but for windows 10 and 7 is equal

Then there is your answer. If there is nothing in the packet to distinguish between Windows versions, then the DHCP server won't be able to.

pmazzini commented 2 weeks ago

Closing. Feel free to reopen.