19

It looks like there are two options for providing network time settings to a DHCP client; option 004 and option 042. The description for 004 is "Time Server", while 042 specifies NTP. Is there a reason to use one or the other, or is it just vendor preference? If the client uses option 042, is the time offset in option 002 still used?

TimM
  • 293
  • 1
  • 3
  • 6

3 Answers3

22

From a Google search, first result:

Option 004 specifies servers that provide TIME/ITP (as per RFC 868). This is not a recommended protocol/service in a Windows environment.

Option 042 specifies servers that provide NTP/SNTP (RFC 1769). This is the preferred time service in a Windows environment (assuming the absence of Active Directory which maintains the time on your behalf).

Niko
  • 109
  • 3
  • Unfortunately that site is unreadable unless your referer is from Google. – Zoredache May 12 '09 at 20:57
  • Rats! Did not realized, thank you. Link updated. –  May 12 '09 at 21:05
  • 1
    Thanks. I wound up answering the last question myself. The (non windows) device that I'm concerned with will look for option 042 then 004, and will use 002 for GMT offset. – TimM May 13 '09 at 14:58
  • Updated the link, so it will go directly to the source, without the need of going to Google. –  May 15 '09 at 11:20
  • 1
    11 years later and this question is the first result. Well done. – kaiser May 12 '20 at 22:36
7
  • Option 042 refers to NTP (RFC 1769)
  • Option 004 refers to TIME/ITP (RFC 868)

Source

Zoredache
  • 130,897
  • 41
  • 276
  • 420
5

The RFC 868 "time" service as specified by Option 4 is pretty much obsolete and only has 1s resolution.

Modern networks should always use NTP (Option 42).

Alnitak
  • 21,191
  • 3
  • 52
  • 82