Clocks can be configured via the server statement (see "server statement"). A further statement for configuring a clock is the fudge statement. The fudge statement must immediately follow the server statement that addresses the clock.
fudge 127.127.t.u[ stratum stratum]
t | identifies the type of clock. |
u | is type-specific. The local system clock is specified with the pseudo IP address 127.127.1.0 and is the only clock possible in BS2000. |
stratum
Integer that specifies the number of stations via which the local ntpd daemon can obtain a high-precision timestamp from an external clock. stratum can be significant in the configuration of the local system clock. stratum servers of stratum 1 have direct access to external time signals. Servers which receive their timestamps from stratum-1 servers are stratum-2 servers, and so on.
The value of stratum is the major criterion used by ntpd to select one server from several as the client. The local system clock is also a "server" for ntpd. The default value for its stratum is 5. By specifying a lower or higher value for its stratum in the fudge statement, you can thus assign the local system clock a higher or lower preference than the other servers.
Example (server mode with own clock)
# ntp.conf # # server 127.127.1.0 #own clock fudge 127.127.1.0 stratum 1