Setup guide
Example
Time Zone
Notes
Example
General Information
Summary
NTP protocol allows synchronizing time among computers in network. It is good if there is an
internet connection available and local NTP server is synchronized to correct time source. List of
publec NTP servers is available at http://www.eecis.udel.edu/~mills/ntp/servers.html
Specifications
Packages required: ntp
License required: level1
system ntp
Standards and Technologies: NTP (RFC 958)
Hardware usage: Not significant
Related Documents
• Package Management
• IP Addresses and ARP
Description
Network Time Protocol (NTP) is used to synchronize time with some NTP servers in a network.
Wandy RouterOS provides both - NTP client and NTP server.
NTP client synchronizes local clock with some other time source (NTP server). There are 4 modes
in which NTP client can operate at:
• unicast (Client/Server) mode - NTP client connects to specified NTP server. IP address of
NTP server must be set in ntp-server and/or second-ntp-server parameters. At first client
synchronizes to NTP server. Afterwards client periodically (64..1024s) sends time requests to
NTP server. Unicast mode is the only one which uses ntp-server and second-ntp-server
parameters.
• broadcast mode - NTP client listens for broadcast messages sent by NTP server. After
receiving first broadcast message, client synchronizes local clock using unicast mode, and
afterwards does not send any packets to that NTP server. It uses received broadcast messages
to adjust local clock.
• multicast mode - acts the same as broadcast mode, only instead of broadcast messages (IP
address 255.255.255.255) multicast messages are received (IP address 224.0.1.1).
• manycast mode - actually is unicast mode only with unknown IP address of NTP server. To
discover NTP server, client sends multicast message (IP 239.192.1.1). If NTP server is
configured to listen for these multicast messages (manycast mode is enabled), it replies. After
client receives reply, it enters unicast mode and synchronizes to that NTP server. But in