Network Time Protocol - NTP Speaker: Cheng-lin Tsai.

Slides:



Advertisements
Similar presentations
1DT066 D ISTRIBUTED I NFORMATION S YSTEM Time, Coordination and Agreement 1.
Advertisements

Internetwork An internetwork is a collection of individual networks, connected by intermediate networking devices, that functions as a single large network.
TCP/IP MODEL Maninder Kaur
Time in Distributed Systems
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Time and Global States Ali Fanian Isfahan University of Technology
Page # Advanced Telecommunications/Information Distribution Research Program (ATIRP) Authentication Scheme for Distributed, Ubiquitous, Real-Time Protocols.
CCNA 1 v3.1 Module 11 Review.
History DHCP was first defined as a standards track protocol in RFC 1531 in October 1993, as an extension to the Bootstrap Protocol (BOOTP). The motivation.
Distributed Systems Fall 2010 Time and synchronization.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 17 Introduction to the Application.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Time and Global States Chapter 11. Why time? Time is an Important and interesting issue in distributes systems. One we can measure accurately. Can use.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 9: Time, Coordination and Replication Dr. Michael R. Lyu Computer.
Distributed Systems CS Synchronization – Part II Lecture 8, Sep 28, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
1 Slides for Chapter 10: Time (and Global State) From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley.
Transport Layer Flow. Socket Connections UDP Segment Structure.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Lecture 9: Time & Clocks CDK4: Sections 11.1 – 11.4 CDK5: Sections 14.1 – 14.4 TVS: Sections 6.1 – 6.2 Topics: Synchronization Logical time (Lamport) Vector.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Network Layer Network Fundamentals – Chapter 5.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2011.
1 Physical Clocks need for time in distributed systems physical clocks and their problems synchronizing physical clocks u coordinated universal time (UTC)
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
A Security Analysis of the Network Time Protocol (NTP) Presentation by Tianen Liu.
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 1 Introduction.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
NTP Network Time Protocol Nóirín Plunkett Network Time Protocol Nóirín Plunkett.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
Huda AL_Omairl - Network 71 Protocols and Network Software.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
TIME AND GLOBAL STATES Đàm Vĩnh Tường ( ) Nguyễn Lê Anh Đào ( ) Trần Viễn Phúc ( )
Embedded System on NTP 2009 Fourth International Conference on Computer Sciences and Convergence Information Technology Chien-Chi Chao Shih-Ping Huang.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
CS 3830 Day 13 Introduction 1-1. Announcements r Quiz 3: Wednesday, Oct 10 r Prog3 due Wednesday, Oct 10 Transport Layer 3-2.
Prepared by: Azara Prakash L.. Contents:-  Data Transmission  Introduction  Socket Description  Data Flow Diagram  Module Design Specification.
1 Time (and Global State). 3 Time – basics zWe want to know when something happened - Physical and logical clocks. zAlgorithms may depend upon clock.
© Oxford University Press 2011 Computer Networks Bhushan Trivedi, Director, MCA Programme, at the GLS Institute of Computer Technology, Ahmadabad.
Lecture 9: Time and clocks (Chap 11) Haibin Zhu, PhD. Assistant Professor Department of Computer Science Nipissing University © 2002.
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Network and the internet Part eight Introduction to computer, 2nd semester, 2009/2010 Mr.Nael Aburas Faculty of Information.
Time and global states Chapter 11. Outline Introduction Clocks, events and process states Synchronizing physical clocks Logical time and logical clocks.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
ITIS 3110 IT INFRASTRUCTURE II Tony Kombol. NTP "Does Anybody Really Know What Time It Is?"*  Time keeping is one of most fundamental aspects of computer.
Enterprise Network Systems TCP Mark Clements. 3 March 2008ENS 2 Last Week – Client/ Server Cost effective way of providing more computing power High specs.
Java’s networking capabilities are declared by the classes and interfaces of package java.net, through which Java offers stream-based communications that.
Distributed Systems Lecture 5 Time and synchronization 1.
Efficient Reliability for NRC Time Services. NCSLI
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 34 – Synchronization (Part 2) Klara Nahrstedt Spring 2009.
ITIS 3110 IT INFRASTRUCTURE II Tony Kombol. NTP "Does Anybody Really Know What Time It Is?"*  Time keeping is one of most fundamental aspects of computer.
Page 1 Clock Synchronization: Physical Clocks Minqi Zhou Distributed Systems Except as otherwise noted, the content of this presentation.
Distributed Web Systems Time and Global State Lecturer Department University.
NTP in UBuntu. The Network Time Protocol (NTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable- latency.
Topic 7: Time and Global State Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
Unit 2 dhcp, apipa and ntp.
Infrastructure II NTP.
Time and Global States Ali Fanian Isfahan University of Technology
Net 435: Wireless sensor network (WSN)
Clock Synchronization: Physical Clocks
Presentation by Wyatt Zacharias
Distributed Systems CS
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Networking for Home and Small Businesses – Chapter 6
Computer Networks Protocols
Jenhui Chen Office number:
Presentation transcript:

Network Time Protocol - NTP Speaker: Cheng-lin Tsai

NTP - Introduction NTP is a protocol for synchronizing the clocks on computers over packet-switched data networks NTP is a protocol for synchronizing the clocks on computers over packet-switched data networks NTP delivers accurate and reliable time in spite of faults in the network NTP delivers accurate and reliable time in spite of faults in the network Provides a connectionless service (UDP in the Transport Layer) Provides a connectionless service (UDP in the Transport Layer) NTP is used on Internet NTP is used on Internet

NTP - Clock Strata NTP uses a hierarchical organization of clocks NTP uses a hierarchical organization of clocks Stratum 0.- Composed by: Atomic Clocks, GPS Clocks. Stratum 0.- Composed by: Atomic Clocks, GPS Clocks. Stratum 1 - Primary Stratum 1 - Primary Time Servers.- Computers attached to stratus 0 devices Time Servers.- Computers attached to stratus 0 devices They act as servers for requests from Stratus 2 They act as servers for requests from Stratus 2 Stratum 2 Stratum 2 Computers sending NTP requests to Time Servers in Stratum 1 Computers sending NTP requests to Time Servers in Stratum 1 Computers in this level will reference to several time servers to synchronize their clocks Computers in this level will reference to several time servers to synchronize their clocks S2 Computers will peer with another S2 computers to provide more reliable and robust time for all devices in the peer group S2 Computers will peer with another S2 computers to provide more reliable and robust time for all devices in the peer group They act as servers for requests from Stratus 3 They act as servers for requests from Stratus 3

NTP - Clock Strata Stratum 3, 4, … Stratum 3, 4, … Computers employ the same NTP function as in Stratum 2 Computers employ the same NTP function as in Stratum 2 Potentially up to 16 levels Potentially up to 16 levels * Image taken from

NTP - Synchronization Subnet Computer local clock are synchronized to a number of Time Servers and peer computer Computer local clock are synchronized to a number of Time Servers and peer computer The set of these computers and Time Servers is known as the Synchronization Subnet The set of these computers and Time Servers is known as the Synchronization Subnet The Stratum Number for each computer is determined by the hop count to the root (Strata 0) The Stratum Number for each computer is determined by the hop count to the root (Strata 0)

NTP - Synchronization Subnet Example: Example:

NTP - Determining Time Timestamps exchanged between the server and clients (subnet peers) Timestamps exchanged between the server and clients (subnet peers)

NTP - Determining Time Examples: Examples:

Demo  FreeBSD  ntp-4.2.4p7.tar.gz

NTP - References [ 1 ] D. Mills, “Internet Time Synchronization: The Network Time Protocol”, IEEE Trans. on Communications, vol. 39, no. 10, pp – 1493, Oct [ 2 ] NTP: The Network Time Protocol - [ 3 ] Wikipedia -

NTP - References Questions ?