[Bug 74164] Re: Request ntp-servers by default

Daniel J Blueman daniel.blueman at gmail.com
Tue Mar 24 11:46:06 GMT 2009


I can confirm this works as expected with the updated dhcpd3-common and
-client packages from Jonathan's PPA - the DHCP lease now has the 'ntp-
servers' option [1], consequently NTP has picked it up [2].

What else do we need to move this to the next step?

--- [1]

$ cat /var/lib/dhcp3/dhclient.eth0.leases 
lease {
  interface "eth0";
  fixed-address 192.168.20.87;
  filename "linux-boot/pxelinux.0";
  option subnet-mask 255.255.255.0;
  option time-offset 0;
  option routers 192.168.20.254;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.20.2,192.168.20.5;
  option dhcp-server-identifier 192.168.20.2;
  option dhcp-renewal-time 302400;
  option ntp-servers 192.168.20.2;
  option dhcp-rebinding-time 529200;
  option netbios-name-servers 192.168.20.2;
  option domain-name "quadrics.com";
  renew 2 2009/03/24 10:05:00;
  rebind 2 2009/03/24 10:05:00;
  expire 2 2009/03/24 10:05:00;
}
lease {
  interface "eth0";
  fixed-address 192.168.20.87;
  filename "linux-boot/pxelinux.0";
  option subnet-mask 255.255.255.0;
  option time-offset 0;
  option routers 192.168.20.254;
  option dhcp-lease-time 604800;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.20.2,192.168.20.5;
  option dhcp-server-identifier 192.168.20.2;
  option dhcp-renewal-time 302400;
  option ntp-servers 192.168.20.2;
  option dhcp-rebinding-time 529200;
  option netbios-name-servers 192.168.20.2;
  option domain-name "quadrics.com";
  renew 5 2009/03/27 20:56:54;
  rebind 1 2009/03/30 13:05:41;
  expire 2 2009/03/31 10:05:41;
}

--- [2]

$ grep ^server /etc/ntp.conf.dhcp 
server 192.168.20.2 iburst

-- 
Request ntp-servers by default
https://bugs.launchpad.net/bugs/74164
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list