Am 06.06.2017 um 12:13 schrieb Miroslav Lichvar:
On Tue, Jun 06, 2017 at 12:04:06PM +0200, Thomas Aichinger wrote:
I run an esx hypervisor with ntp v4 activated.
I want to use this esx as time server for all my virtual linux ubuntu
clients on the esx.

When I use ntp it gets syncronized
When I use chrony nothing happens.
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.

13:04:57.303018 IP6 (class 0xb8, hlim 63, next-header UDP (17) payload length: 56) esx1 > sinalco.ntp: [udp sum ok] NTPv4, length 48 Server, Leap indicator: (0), Stratum 2 (secondary reference), poll 4 (16s), precision -20 Root Delay: 0.008361, Root dispersion: 0.037734, Reference-ID: 130.187.221.250
          Reference Timestamp:  3705734266.837861105 (2017/06/06 12:37:46)
          Originator Timestamp: 3705735897.302631049 (2017/06/06 13:04:57)
          Receive Timestamp:    3705735897.302888635 (2017/06/06 13:04:57)
          Transmit Timestamp:   3705735897.302905347 (2017/06/06 13:04:57)
            Originator - Receive Timestamp:  +0.000257585
            Originator - Transmit Timestamp: +0.000274297
13:05:15.302662 IP6 (class 0xb8, flowlabel 0xff46a, hlim 64, next-header UDP (17) payload length: 56) sinalco.ntp > esx1.ntp: [bad udp cksum 0x88f3 -> 0x3036!] NTPv4, length 48 Client, Leap indicator: (0), Stratum 3 (secondary reference), poll 4 (16s), precision -24 Root Delay: 0.008712, Root dispersion: 0.038314, Reference-ID: 169.230.22.45
          Reference Timestamp:  3705735843.139620195 (2017/06/06 13:04:03)
          Originator Timestamp: 3705735897.302905347 (2017/06/06 13:04:57)
          Receive Timestamp:    3705735897.303018290 (2017/06/06 13:04:57)
          Transmit Timestamp:   3705735915.302622829 (2017/06/06 13:05:15)
            Originator - Receive Timestamp:  +0.000112943
            Originator - Transmit Timestamp: +17.999717482
13:05:15.303138 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 4 (16s), precision -20 Root Delay: 0.008361, Root dispersion: 0.038009, Reference-ID: 130.187.221.250
          Reference Timestamp:  3705734266.837861105 (2017/06/06 12:37:46)
          Originator Timestamp: 3705735915.302622829 (2017/06/06 13:05:15)
          Receive Timestamp:    3705735915.303001809 (2017/06/06 13:05:15)
          Transmit Timestamp:   3705735915.303021584 (2017/06/06 13:05:15)
            Originator - Receive Timestamp:  +0.000378979
            Originator - Transmit Timestamp: +0.000398755


--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-users-requ...@chrony.tuxfamily.org with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to