The Hierarchy of a NTP Time Server Stratum Levels Explained

  |   By

When it comes to time synchronisation and using Network Time Protocol (NTP) to ensure accuracy on a computer network, it is important to understand the hierarchy of NTP and how it affects distance and accuracy.

NTP has a hierarchical structure known as stratum levels. In principle the lower the stratum number the closer the device is (in accuracy terms) to an original time source.

NTP time servers work by receiving a single time source and using this as a basis for all time on the network, however, a synchronised network will be only as accurate as the original time source and this is where stratum levels come in.

And atomic clock, either one sat in a large scale physics laboratory, or those aboard GPS satellites, are stratum 0 devices. In other words these are the devices that actually generate the time.

Stratum 1 devices are NTP time servers that get their source of time directly from these stratum 0 atomic clocks. Either by using a GPS receiver or a radio referenced NTP server, a stratum 1 device is as accurate as you can get without having your own multi-million dollar atomic clock in the server room. A stratum 1 NTP time server will typically be accurate to within a millisecond of the atomic clock time.

Stratum 2 devices are the next step down on stratum level chain. These are time servers that receive their time from a stratum 1 device. Most online time servers, for instance, are stratum 2 devices, getting their time from another NTP time server. Stratum 2 devices are obviously further away from the original time source and therefore are not quite as accurate.

The stratum levels on an NTP network continue on, with devices connecting to devices going all the way down to stratum 10, 11, 12 and so on – obviously the more links in the chain the less accurate the device will be.

Dedicated stratum 1 NTP time servers are by far the most accurate, reliable and secure method of synchronising a computer network and no business network should really be without one.

NTP and GPS-based Timing Solutions

  |   By

Ask anybody what the key to network timing is and you will probably get the response NTP (Network Time Protocol).  NTP is a protocol that distributes and checks the time on all network devices to a reference clock – and it is this reference which is the true key to network time synchronisation.

Whilst a version of NTP is easy to obtain – it is normally installed on most operating systems, or is otherwise free to download – but getting a source of time is where the true key to network time synchronisation lies.

Atomic clocks govern the global timescale UTC (Coordinated Universal Time) and it is this timescale that is best for network timing as synchronising all devices on a network to UTC is equivalent of having you network synchronised with every other UTC synced network on Earth.

So getting a source of UTC time is the true key to accurate network time synchronisation, so what are the options?

Internet Time Sources

The obvious choice for most NTP users, but internet time suffers from two major flaws; firstly, internet time operates through the firewall and is therefore fraught with security risks – if the time can get through your firewall, then other things can too. Secondly, internet time sources can be hit and miss with their accuracy.

Due to the fact most internet time sources are stratum 2 devices (they connect to another device that receives the UTC source time) and the distance from client to host can never be truly ascertained or accounted for – it can make them inaccurate – with some internet time sources minutes, hours and even days away from true UTC time.

Radio Referenced Time Server

Another source of UTC time which doesn’t suffer from either security or accuracy flaws is receiving the time from long wave radio signals that some country’s national physics laboratories broadcast. While these signals are available throughout the USA (courtesy of NIST) the UK (NPL) and several other European countries and can be picked up witha basic radio referenced NTP server they are not available everywhere and the signals can be difficult to receive in some urban locations or anywhere where there is electrical interference.

GPS-timing

For completely accurate, secure and a reliable source of UTC time there is no substitute for GPS time. GPS timing signals are beamed directly from atomic clocks onboard the GPS satellites (Global Positioning System) and received by GPS NTP time servers. These can then distribute the atomic clock time around the network.

GPS timing sources are accurate, secure and available literally anywhere on the planet 24 hours a day.

Time Synchronisation of Technology

  |   By

Many technologies are reliant and precise, accurate and reliable time. Time synchronisation is vital in many technical systems that we encounter everyday, from CCTV cameras and ATMs to air traffic control and telecommunication systems.

Without synchronisation and accuracy many of these technologies would become unreliable and in could cause major problems, even catastrophic ones in the case of air traffic controllers.

Precise time and synchronisation also plays an increasingly important part in modern computer networking, ensuring the network is secure, data is not lost, and the network can be debugged. Failing to ensure a network is synchronised properly can lead to many unexpected problems and security issues.

Ensuring accuracy

To ensure accuracy and precise time synchronisation modern technologies and computer networks the time controlling Network Time Protocol (NTP) is most commonly employed. NTP ensures all devices on a network, whether they are computers, routers, CCTV cameras or almost any other technology, are maintained at the exact same time as every other device on the network.

It works by using a single time source that it then distributes around the network, checking for drift, and correcting devices to ensure parity with the time source. It has many other features such as being able to assess errors and calculating the best time from multiple sources.

Obtaining the time

When using NTP, getting the most accurate source of time allows you to keep your network synchronised – not just together but also synchronised to every other device or network that uses that same time source.

A global timescale known as Coordinated Universal Time (UTC) is what most NTP servers and technologies use. A sit is a global timescale, and is not concerned with time zones and daylight saving, UTC allows networks across the world to communicate precisely with the exact same time source.

NTP time servers

Despite their being many sources of UTC across the internet, these are not recommended for accuracy and security reasons; to receive an accurate source of NTP there are really only two options: using a NTP time server that can receive radio transmissions from atomic clock laboratories or by using the time signals from GPS satellites.

Windows Server and the Importance of NTP

  |   By

Windows Server is the most common operating system used by business networks. Whether it is the latest Windows Server 2008 or a previous incarnation such as 2003, most computer networks used in trade and business have a version.

These network operating systems make use of the time synchronization protocol NTP (Network Time Protocol) to ensure synchronicity between all devices connected to the network. This is vital in the modern world of global communication and trade as a lack of synchronization can cause untold problems; data can get lost, errors can go undetected, debugging becomes near impossible and time sensitive transactions can fail if there is no synchronization.

NTP works by selecting a single time source and it be checking the time on all devices on the network, and adjusting them, it ensures the time is synchronised throughout. NTP is capable of keeping all PCs, routers and other devices on a network to within a few milliseconds of each other.

The only requirement for network administrators is to select a time source – and this is where many IT professionals commonly go wrong.

Internet time servers

Any source of time to synchronize a network to should be UTC (Coordinated Universal Time) which is a global timescale controlled by the world’s most accurate atomic clocks and the number one source for finding a UTC time server is the internet.

And many network administrators opt to use these online time servers thinking they are an accurate and secure source of time; however, this is not strictly the case. Internet time servers send the time signal through the network firewall which means viruses and malicious users can take advantage of this ‘hole.’

Another problem with internet time servers is that their accuracy can’t be guaranteed. Often they are not as accurate as a profession network requires and factors such as distance away from the host can make differences in the time.

Dedicated NTP time server

Dedicated NTP time servers, however, get the time directly from atomic clocks – either from the GPS network or via secure radio transmissions from national physics laboratories. These signals are millisecond accurate and 100% secure.

For anyone running a network using Windows Server 2008 or other Microsoft operating system should seriously consider using a dedicated NTP server rather than the internet to ensure accuracy, reliability and security.