Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    23.09 Local NTP server "unrechable" (worked with 23.05.1)

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @conover
      last edited by johnpoz

      @conover said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

      Leap indicator: clock unsynchronized

      Well that is saying the clock is not synchronized, so yeah don't think pfsense would consider that a valid time source to sync too.

      edit: oh that was your client.. Doh.. let me look a bit closer.. your getting zero for reach?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      C 2 Replies Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Sorry left the reply open too long. 🤦

        1 Reply Last reply Reply Quote 0
        • C
          conover @johnpoz
          last edited by conover

          @johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

          @conover said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

          Leap indicator: clock unsynchronized

          Well that is saying the clock is not synchronized, so yeah don't think pfsense would consider that a valid time source to sync too.

          Thanks, but the "clock unsynchronized" message is part of the packet from pfSense (.254) to the NTP server (.218)?

          192.168.168.254.123 > 192.168.168.218.123: [udp sum ok] NTPv4, Client, length 48
          Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23
              [...]
          

          The answer is

          192.168.168.218.123 > 192.168.168.254.123: [udp sum ok] NTPv4, Server, length 48
          Leap indicator:  (0), Stratum 1 (primary reference), poll 0 (1s), precision -18
              [...]
          

          Or am I totally wrong?

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @conover
            last edited by

            @conover yeah I caught that was the client - see my edit ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • C
              conover @johnpoz
              last edited by

              @johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

              edit: oh that was your client.. Doh.. let me look a bit closer.. your getting zero for reach?

              yes,
              "Status / NTP" says Reach 0 for that NTP server (.218),
              RefID is ".INIT."

              Bildschirmfoto 2023-11-17 um 14.16.51.png

              C 1 Reply Last reply Reply Quote 0
              • C
                conover @conover
                last edited by

                Interesting, explicitly using ntpdate works with that NTP server:

                Bildschirmfoto 2023-11-17 um 20.40.22.png

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @conover
                  last edited by

                  @conover do you have it set as peer vs server? I can duplicate your issue if set mine to peer vs server

                  peer.jpg

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    conover @johnpoz
                    last edited by

                    @johnpoz Thanks! It was set to server in 23.05 config and it is unchanged. But out of curiosity I also tried "peer" with no change.

                    Bildschirmfoto 2023-11-17 um 21.06.13.png

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @conover
                      last edited by

                      @conover so you flipped it to peer, and then you flipped it back?

                      What does your xml show? And your conf file

                      [23.09-RELEASE][admin@sg4860.local.lan]/etc: cat /var/etc/ntpd.conf 
                      # 
                      # pfSense ntp configuration file 
                      # 
                      
                      tinker panic 0 
                      
                      # Orphan mode stratum and Maximum candidate NTP peers
                      tos orphan 12 maxclock 5
                      
                      
                      # Upstream Servers
                      server -4 192.168.3.32 iburst minpoll 6 maxpoll 10 prefer
                      
                      
                      enable stats
                      statistics clockstats loopstats peerstats
                      statsdir /var/log/ntp
                      logconfig =syncall +clockall +peerall +sysall
                      driftfile /var/db/ntpd.drift
                      restrict default kod limited nomodify nopeer notrap
                      restrict -6 default kod limited nomodify nopeer notrap
                      interface ignore all
                      interface ignore wildcard
                      interface listen igb3
                      interface listen igb0
                      interface listen igb4
                      interface listen igb2
                      interface listen igb2.6
                      interface listen igb2.4
                      interface listen igb5
                      interface listen lo0
                      [23.09-RELEASE][admin@sg4860.local.lan]/etc: 
                      

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        conover @johnpoz
                        last edited by

                        @johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

                        @conover so you flipped it to peer, and then you flipped it back?

                        Yes, exactly (and restarted the service after each switch to be sure)

                        What does your xml show? And your conf file

                        Which XML do you mean?

                        The conf file looks pretty much the same (but no minpoll) :

                        # 
                        # pfSense ntp configuration file 
                        # 
                        
                        tinker panic 0 
                        
                        # Orphan mode stratum and Maximum candidate NTP peers
                        tos orphan 12 maxclock 5
                        
                        
                        # Upstream Servers
                        pool de.pool.ntp.org iburst maxpoll 9
                        server 192.168.168.218 iburst maxpoll 9 prefer
                        
                        
                        statsdir /var/log/ntp
                        logconfig =syncall +clockall
                        driftfile /var/db/ntpd.drift
                        restrict default kod limited nomodify nopeer notrap
                        restrict -6 default kod limited nomodify nopeer notrap
                        restrict source kod limited nomodify notrap
                        interface ignore all
                        interface ignore wildcard
                        interface listen ix0.100
                        interface listen igc0
                        interface listen ix0.10
                        interface listen ix0
                        interface listen igc2
                        
                        
                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @conover
                          last edited by johnpoz

                          @conover that is odd for sure, clearly from you sniff looks like you got an answer..

                          I can't seem to duplicate it though, when on peer it never works, but set server and bam start seeing reach count up.

                          For grins! could you remove the pool and just point to your server..

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            conover @johnpoz
                            last edited by

                            @johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

                            @conover that is odd for sure, clearly from you sniff looks like you got an answer..

                            yes, absolutely, also ntpdate works and synchronizes the clock with the server

                            For grins! could you remove the pool and just point to your server..

                            same result

                            Bildschirmfoto 2023-11-18 um 21.28.41.png

                            Is there an easy way to go back to 23.05? I would try if it's still working with that. If yes, it must be something with the 23.09 release....

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              If you installed ZFS there will be a BE snap from before the upgrade you can roll back to.

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @conover
                                last edited by johnpoz

                                @conover said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):

                                it must be something with the 23.09 release....

                                While I don't deny you have something wrong - I don't see how its something wrong with 23.09 in general. I point to a local ntp server, I am running 23.09 and not having any issues.

                                edit:
                                What is odd, is your status shows type s, pretty sure that means peer (symmetric).. while u would be normal if just pointing to a server - see mine from above shows u.. If I set mine to peer, it doesn't work and it changes to s, and if I look in the xml (do a backup download of your whole config) then open in your fav text editor and look for ntpd

                                ntppeer.jpg

                                As soon as change mine back to server, it starts working right away. See how the reach started counting and my type is u not s

                                reach.jpg

                                edit:
                                https://docs.netgate.com/pfsense/en/latest/monitoring/status/ntp.html

                                peer.jpg

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

                                C 1 Reply Last reply Reply Quote 2
                                • C
                                  conover @johnpoz
                                  last edited by

                                  @johnpoz Thanks for your ongoing support!

                                  Not saying it's something wrong generally in 23.09 but at least something specific :-) Either in combination with my NTP server or something went wrong during the upgrade.

                                  Went back to 23.05.01 and everything is OK again

                                  Bildschirmfoto 2023-11-19 um 11.01.37.png Bildschirmfoto 2023-11-19 um 11.01.52.png

                                  After being back to 23.09 same as before...

                                  The flag "u" and "s" appears randomly or changes after some time, currently it is set to "u":

                                  Bildschirmfoto 2023-11-19 um 11.16.09.png

                                  1 Reply Last reply Reply Quote 0
                                  • C conover referenced this topic on
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.