Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NTP client on Ubuntu


Pre-requisite
DNS server ( static or dynamic ) 

Image Modified


Router > System Settings

FQDN 

( but the IP address can not change all the time, typical case behind a load balancer )


Google NTP server: time[1.to 4] google.com    example time1.google.com


Use IP@ not FQDN

Image Modified



85.199.214.102  ( UK, London )
85.199.214.98   ( UK, London )
130.149.17.21   ( DE, Berlin )
79.135.97.79    ( UK , Portsmooth )

( google NTP:  time1.google.com to time4.google.com )

NTP IP address information

https://www.infobyip.com/ip-85.199.214.102.html

 NTP server IP addresshttps://timetoolsltd.com/information/public-ntp-server/uk/
NTP server poolhttps://www.pool.ntp.org/zone/uk
show ntp

show ntp

Code Block
titleshow ntp
*jkriker@node1.jnpr-cond# show ntp
Tue 2021-09-28 09:13:40 UTC
✔ Retrieving NTP information...

================= ================== ======== ================ ========= ====== ====== ====== ======= ========= ======== ======== ============
 Node              Time Source        Status   Ref. ID          Stratum   Type   When   Poll   Reach     Delay   Offset   Jitter   Tally Code
================= ================== ======== ================ ========= ====== ====== ====== ======= ========= ======== ======== ============
 node1.jnpr-cond   +time.shf.uk.as4   active   85.199.214.98          2   u       952   1024     377     7.133    0.237    0.409   candidate
 node1.jnpr-cond   -ns4.turbodns.co   active   94.130.184.193         3   u       727   1024     377     7.821    2.663    0.398   outlyer
 node1.jnpr-cond   +dadns.cdnetwork   active   216.239.35.12          2   u       502   1024     377   219.698    0.502    1.485   candidate
 node1.jnpr-cond   *ntp2.glypnod.co   active   193.62.22.74           2   u       502   1024     377     2.218   -0.802    0.245   syspeer


Image Modified

Configuration




Code Block
titlentp server
admin@node1.jlk-test-branch2# show config running authority router jlk-test-branch2 system

config

    authority

        router  jlk-test-branch2
            name    jlk-test-branch2

            dns-config     automatic
                mode  automatic
            exit            

            system

                ntp

                    server  85.199.214.102
                        ip-address  85.199.214.102
                    exit

                    server  85.199.214.98
                        ip-address  85.199.214.98
                    exit

                    server  79.135.97.79
                        ip-address  79.135.97.79
                    exit
                exit
            exit
        exit
    exit
exit