Re: [chrony-users] can not sync with vmware ntp server

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Am 06.06.2017 um 13:24 schrieb Miroslav Lichvar:
On Tue, Jun 06, 2017 at 01:18:25PM +0200, Thomas Aichinger wrote:
Am 06.06.2017 um 12:13 schrieb Miroslav Lichvar:
The chrony config looks ok. Is there a firewall which drops packets
that don't have source port equal to 123? Does the ntpd server use the
orphan mode?

Seeing output of "tcpdump -v port 123" on the client might help.

There is no firewall.

The same client gets sync with "ntpq -p" but not with "chronyc sources"
The esx server does not use orphan mode

According to tcpdump chrony sends requests to esx but does not get any
answer from esx.
But ntp does. Here is a dump.
That is odd. Can you please try to add "acquisitionport 123" to
chrony.conf and see if it helps? That will make it use source port 123
like ntpd does. If that helps, it must be something with the
networking configuration.

"acquisitionport 123" - did it !!!

14:21:24.223236 IP6 (flowlabel 0x7c2ea, hlim 64, next-header UDP (17) payload length: 56) sinalco.ntp > esx1.ntp: [bad udp cksum 0x88f3 -> 0x9fd2!] NTPv4, length 48 Client, Leap indicator: (0), Stratum 3 (secondary reference), poll 2 (4s), precision -20 Root Delay: 0.008666, Root dispersion: 0.026153, Reference-ID: 169.230.22.45
          Reference Timestamp:  3705740480.215908975 (2017/06/06 14:21:20)
          Originator Timestamp: 3705740480.216002245 (2017/06/06 14:21:20)
          Receive Timestamp:    3705740480.216178975 (2017/06/06 14:21:20)
          Transmit Timestamp:   3705740484.223203916 (2017/06/06 14:21:24)
            Originator - Receive Timestamp:  +0.000176729
            Originator - Transmit Timestamp: +4.007201670
14:21:24.223609 IP6 (class 0xb8, hlim 63, next-header UDP (17) payload length: 56) esx1.ntp > sinalco.ntp: [udp sum ok] NTPv4, length 48 Server, Leap indicator: (0), Stratum 2 (secondary reference), poll 3 (8s), precision -20 Root Delay: 0.008163, Root dispersion: 0.026168, Reference-ID: 130.187.221.250
          Reference Timestamp:  3705739540.020842120 (2017/06/06 14:05:40)
          Originator Timestamp: 3705740484.223203916 (2017/06/06 14:21:24)
          Receive Timestamp:    3705740484.223443045 (2017/06/06 14:21:24)
          Transmit Timestamp:   3705740484.223461011 (2017/06/06 14:21:24)
            Originator - Receive Timestamp:  +0.000239129
            Originator - Transmit Timestamp: +0.000257094

Thanks for your great help.


--
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/