答复: 答复: [chrony-users] ipV4 and ipV6 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
This is only a test case. The local time is used on the server. However, two IPv4 servers can be synchronized to the client. Currently, one IPv4 server and one IPv6 server are used, and then the client is used. Run the chronyc authdata command. The authentication result seems to be fine, but the synchronization result is still in the x state. I just want to know why this state occurs because a single protocol synchronization state is ok.
-----邮件原件-----
发件人: Bill Unruh [mailto:unruh@xxxxxxxxxxxxxx]
发送时间: 2022年11月29日 0:47
收件人: chrony-users@xxxxxxxxxxxxxxxxxxxx
主题: Re: 答复: [chrony-users] ipV4 and ipV6
Having servers with local is not a good idea at all. Local means that the servers simply accept their own time as accurate time, and thus do not in any sense whatsover hand out UTC time to anything that queries them They will gladly hand out Jan 28 1976 as the time, if that happens to be what their local clock is set to.
The local directive on a server may be useful if you do not give a damn what the time is that they deliver but you want all your clocks to give the same inaccurate time. Ie, consistancy is far more important than accuracy.
However if you use two clocks both with local time, or one with local and one with UTC, your clients will be totally confused, and you will neither get consistancy or accuracy.
(each client will decide on its own which of the servers to follow).
William G. Unruh __| Canadian Institute for|____ Tel: +1(604)822-3273 Physics&Astronomy _|___ Advanced Research _|____ Fax: +1(604)822-5324 UBC, Vancouver,BC _|_ Program in Cosmology |____ unruh@xxxxxxxxxxxxxx Canada V6T 1Z1 ____|____ and Gravity ______|_ www.theory.physics.ubc.ca/
On Mon, 28 Nov 2022, chengyechun wrote:
>
>
> -----邮件原件-----
> 发件人: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx]
> 发送时间: 2022年11月28日 16:47
> 收件人: chrony-users@xxxxxxxxxxxxxxxxxxxx
> 主题: Re: [chrony-users] ipV4 and ipV6
>
> On Sat, Nov 26, 2022 at 06:29:55AM +0000, chengyechun wrote:
>> Hi all
>> When the chrony works in both IPv4 and IPv6 modes, for example, one client is configured with two servers, one server is iPv4 and the other is ipv6, and the NTS function is configured. I found that they were able to communicate, but the time source state was displayed as x, which was a bit odd since they didn't have a big time difference:
>> [cid:image001.png@01D901A3.8C0B2D20]
>
> The output shows that the sources are off by ~1.1 seconds from each other, but the estimate of accuracy is only in hundreds of microseconds. Their intervals don't overlap, so they are marked as falsetickers.
> The time difference between the two machines is 1.1s. One machine is fast and the other machine is slow. There is no overlap between the two machines. As a result, the synchronization is faulty. If cross-connections exist, the system displays whether the synchronization is successful or whether the difference needs to be kept within the precision range.
> It looks like two servers configured with the local reference mode.
> That cannot work.
> Yes, the two hosts are configured with local stratum.
> --
> Miroslav Lichvar
>
>
> --
> To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "unsubscribe" in the subject.
> For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "help" in the subject.
> Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
>
>
> N?叉??y??!?蚝谦卜??????r?+n碰???\ó
"???Р骒r?z)????n7?Z+?izf??????????觎??????'售???????+????ウ)????n7?:韫?f???X???f???贶?'售???????+