1822497 Members
2538 Online
109642 Solutions
New Discussion юеВ

ntp.conf setting

 
Philip Chan_1
Respected Contributor

ntp.conf setting

If I used SAM to configure a server for synchronizing the network time to its own local clock, the "server" entry will contain 127.127.1.10. But in the comment part of the same ntp.conf file it stated the IP address should be 127.127.1.1, so, just wanted to clarify which IP address is the right one to use?

Thanks in advance.

~Philip
2 REPLIES 2
Sandor Horvath_2
Valued Contributor

Re: ntp.conf setting

Hi !

127.127.t.u is the address where t is a clock type ( 1 mean local Clock Driver ) , u is a unit number.

See man xntpd.

regards, Saa
If no problem, don't fixed it.
Berlene Herren
Honored Contributor

Re: ntp.conf setting

UNDISCIPLINED LOCAL CLOCK:

This is a hack to allow your machine to use its own system clock as a reference clock, i.e., to free-run using no outside clock discipline source. Your machine can then be an NTP server for the rest of your organization. This is useful if NTP is to be used in an isolated environment with no radio
clock available. Another application for this driver is if a particular server clock is to be used as the clock of last resort when all
other normal synchronization sources have gone away.

Configuration is very similar to using a radio receiver. Just put these two lines at the end of your "/etc/ntp.conf" file:

server 127.127.1.1 # Local Clock Impersonator
fudge 127.127.1.1 stratum 10 # show poor stratum

No device file is needed for the Local Clock Impersonator. It is a good idea to use the "fudge" line to set the stratum to 10 (or higher!) so that clients with access to better timeservers will synchronize to the the real
stratum-1 and stratum-2 machines.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm