Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a network consisting mostly of Windows Vista and 7 clients and an Ubuntu server. The server provides both the DHCP and NTP services through dhcp3-server and openntpd.

In my dhcpd.conf, the subnet is declared as follows:

subnet 10.10.10.0 netmask 255.255.255.0 {
        range 10.10.10.10 10.10.10.200;
        option broadcast-address 10.10.10.255;
        option routers 10.10.10.1;
        option ntp-servers 10.10.10.1;
}

The clients don't seem to be using the NTP server though. When I capture the network traffic with Wireshark during the DHCP process, I also see no mention of the NTP option in the DHCP offer message.

I am not quite sure if the clients would have to specifically request that option to receive it or if I have to make another configuration to offer the option.

share|improve this question
    
I'm not sure if Windows will ask NTP servers down from dhcp. They only ask DNS, IP, gateway, netmask as far as I know. | After a fast google search I only found apps which would set them to the given ntp server. –  Shiki May 31 '10 at 11:34
    
That's what I feared. Would be nice if there was a native way to configure this. –  Oliver Salzburg May 31 '10 at 12:00
add comment

1 Answer

up vote 10 down vote accepted

The registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\4

indicates that Windows doesn't actually make use of the required option that would set the NTP server (DHCP option 42). The Microsoft Support article DHCP Options Supported by Clients indicates that adding additional keys here will not have any effect.

Thus, it seems to me that it is simply not natively supported to set NTP servers via DHCP on Windows Vista/7.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.