Configuring NTP Servers
  • 05 Sep 2024
  • 1 Minute to read
  • Dark
    Light

Configuring NTP Servers

  • Dark
    Light

Article summary

By default, iNode’s clock is synchronized to the default NTP pool servers.

The default NTP pool servers vary depending on the distro of the iNode operating system. If you’re not sure of the distro you have, see Finding iNode Version and Distro.

For debian distro, below are the default NTP pool servers:

pool 0.debian.pool.ntp.org
pool 1.debian.pool.ntp.org
pool 2.debian.pool.ntp.org
pool 3.debian.pool.ntp.org

For nodeos distro, below are the default NTP pool servers:

time1.google.com
time2.google.com
time3.google.com
time4.google.com

This article shows how to configure custom NTP time server(s) that the iNode will use to sync it’s clock, using either the iNode CLI or the web UI.

Configure an NTP Server with the CLI

To configure an NTP server, use the set time-server command with the following steps:

The examples below use NTP servers 192.170.0.x on the LAN. You can use NTP servers either on your LAN or on the internet.
  1. Use SSH to connect to the iNode. (Learn how in Accessing an Edge iNode Console Using the Command-Line Interface.)
  2. Use the set time-server command to enter the time-server command prompt:
    Shell
    > set time-server
    (set time-server) >
  3. Use the server command with the following arguments to configure the NTP server:
    Shell
    server --addr <addr>
    For example:
    Shell
    (set time-server) > server --addr 192.170.0.15
    To configure more than one NTP server:
    Shell
    (set time-server) > server --addr 192.170.0.15 --addr 192.170.0.152 --addr 192.170.0.16
    To configure an NTP server using its fully qualified domain name:
    Shell
    (set time-server) > server --addr time2.google.com
  4. Use the save command to save the configuration:
    Shell
    (set time-server) > save
  5. To see the configured NTP servers, use the showcommand:
    Shell
    (set time-server) > show
    For example:


  6. Use the exit command to exit the set time-server command:
    Shell
    (set time-server) > exit
    >


Configure an NTP Server with the Web UI

Use the following steps to configure the time servers for the iNode uplink interface using the web UI.

  1. Expand the Configuring For Static IP section.
  2. Under NTP Settings, enter the desired NTP Server IP addresses or FQDNs.
  3. You can configure up to four time servers.
  4. Select Submit.


Was this article helpful?