Network Time Protocol (NTP) - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Network Time Protocol (NTP)

Description:

???? protocol ????????????????????????????????????????? packet-switched ... ?????????? Quantum Mechanics ??????????????????????? Atomic resonator ... – PowerPoint PPT presentation

Number of Views:735
Avg rating:3.0/5.0
Slides: 35
Provided by: sam8159
Category:

less

Transcript and Presenter's Notes

Title: Network Time Protocol (NTP)


1
Network Time Protocol (NTP)
  • ??? ???????? ????????
  • ??????????????????????????????????
  • ????????????????? ????????????????????
  • u4606308_at_cm.edu

2
Overview
  • Introduction
  • Stratum
  • ntpd on Linux
  • Dimension 4 on Windows
  • ntp on router

3
Introduction
  • ???????? David L. Mills ???? University of
    Delaware ????????? 1985
  • ???? protocol ????????????????????????????????????
    ????? packet-switched
  • ??????????????? UDP ?? port 123
  • ??????????????????????????????????????????????

4
Why ntp ?
  • Transaction Processing.
  • Network fault isolation, reporting and restores.
  • Network monitoring, measurement and control.
  • Distributed multimedia stream synchronization.
  • Research experiment setup.
  • Security mechanisms.

5
ntp packet
6
Global Positioning System
  • ???????? ????????????? ??????????
    ??????????????????????????????????????????????????
    ?????
  • ????????????? ????????????????????????
    ????????????????????????????????????
  • ???????????????????????????? ?????????????????????
    ??????????????????? atomic clock
    ???????????????????????????????
  • ????????????? ??????? ???????? GPS
    ????????????????????????????????????????? 340
    ??????????

7
Atomic Clock
  • ???????? National Institute of Standards and
    Technology (NIST)
  • ?????????????????? ??????????????????? 1 ????????
    1 ??????
  • ?????????? Quantum Mechanics ?????????????????????
    ?? Atomic resonator
  • ??????????? SI ??? 1 ?????? ??????????????????????
    ?????????????????? 133 9,192,631,770 ?????
  • http//en.wikipedia.org/wiki/Atomic_clock

8
Atomic Clock
9
Stratum
  • ????????????????????????????
  • ?????????????????????? GPS ?????????? stratum 1
    ???????????????????????
  • ?????????????????????? stratum 1 ???????????????
    stratum 2, stratum 3, stratum 4,5,6 ???????? ?
  • ??????????????????????????????????????????????????
    ? stratum 1,2,3 ??? 4 ????????????????????????????
    ??? ANSI

10
Stratum
11
Stratum
12
Stratum
  • Stratum 1 ???? slip 1 ????? ??? 72 ???
    ????????????????????? 1 ?????? ??? 1,557 ??
  • Stratum 2 ???? slip 1 ????? ??? 7 ???
    ????????????????????? 1 ?????? ??? 153 ?? 117 ???
  • Stratum 3 ???? slip 1 ????? ??? 6 ????
    ????????????????????? 1 ?????? ??? 33 ??? 8
    ???????
  • Stratum 4 ????????????????????????????
    ?????????????????????????????????

13
Stratum
Stratum 0
Stratum 1
14
ntpdate
  • ???????????? Linux ????????????????????? protocol
    ntp
  • ??????
  • ntpdate 192.168.1.1
  • ??????????????????????????????????????????? ????
    ????? crontab
  • ?????????????????????????????????
  • ntpd ??????

15
Network Time Protocol Daemon (ntpd)
  • ???? daemon ??????????????????????????????????????
    ?
  • ??????????????????????????????????????????????????
    ????????????????????
  • ???????????????????????????????????????? ntp
  • ??????????????????????????????????????????????????
    ???????????????????????????????????????????????

16
?????????? ntpd
  • ????????????????????? ntpd ???
  • /etc/ntp.conf
  • ntpd ???? daemon ?????????????????????? restart
    ????????????????
  • /etc/rc.d/init.d/ntpd restart
  • ?????? ntpd ???????????????????????????????????
  • /sbin/chkconfig ntpd on

17
ntp.conf
  • ???????? server ??????????????

????????????? ip ??? server ?????????????????????
????
18
ntp.conf
  • ???????????????????????????????????

????? ip ??? network ????????????????????????????
?
19
?????????????????? ntpd
  • /usr/bin/ntpstat

20
?????????????????? ntpd
  • /usr/sbin/ntpq -p
  • /usr/sbin/ntpdc -p

21
?????????????????? ntpd
  • /usr/sbin/ntptrace

22
??????? ntp client ?? windows
  • Dimension 4 http//www.thinkman.com
  • ???? freeware ??????????Install
    ???????????????????

23
??????? ntp client ?? windows
  • ????? ntp server ????????????????

??????????
24
??????? ntp client ?? windows
  • ??????????????????? ?

ip ???? ??????? server
???????(optional)
protocol ????? SNTP
????????(optional)
25
??????? ntp client ?? windows
  • ????????????

????? server
?????????? server
??????????????
?????????????????
26
??????? ntp client ?? windows
  • ???????? history ???????????????

27
??????? ntp client ?? windows
  • ???????? history ???????????????

28
??????? ntp client ?? windows
  • ???????? history ???????????????

29
??????? ntp client ?? windows
  • ???????? history ???????????????

30
ntp on Cisco router
31
ntp on Cisco router
32
ntp on Cisco router
33
  • http//www.cisco.com
  • http//www.thaicert.nectec.or.th
  • http//www.cis.udel.edu/mills/ntp/html/index.html
  • http//www.pool.ntp.org
  • http//www.ntp-servers.com
  • http//ntp.isc.org/bin/view/Servers/WebHome

34
  • Q A
Write a Comment
User Comments (0)
About PowerShow.com