zoukankan      html  css  js  c++  java
  • NTP测试1

    ntp server

    A : 10.101.75.8
    B : 10.101.75.38
    

    B:

    [root@r10n16313.sqa.zmf /home/ahao.mah]
    #cat /etc/ntp.conf
    driftfile /var/lib/ntp/drift
    pidfile /var/run/ntpd.pid
    #logfile /var/log/ntp.log
    
    # Access Control Support
    restrict    default ignore
    restrict -6 default ignore
    restrict    127.0.0.1
    
    restrict 192.168.0.0 mask 255.255.0.0
    restrict 172.16.0.0 mask 255.240.0.0
    restrict 10.0.0.0 mask 255.0.0.0
    restrict 11.0.0.0 mask 255.0.0.0
    restrict 30.0.0.0 mask 255.0.0.0
    restrict 100.64.0.0 mask 255.192.0.0
    
    restrict 110.75.186.247
    restrict 120.25.108.11
    restrict 182.92.12.11
    restrict 115.28.122.198
    restrict 110.75.190.198
    restrict 120.25.115.19
    restrict 120.25.115.20
    
    # local clock
    server 127.127.1.0
    fudge 127.127.1.0 stratum 10
    
    peer 10.101.75.8  iburst minpoll 3 maxpoll 3
    
    [root@r10n16313.sqa.zmf /home/ahao.mah]
    #ntpq -np
         remote           refid      st t when poll reach   delay   offset  jitter
    ==============================================================================
    *127.127.1.0     .LOCL.          10 l   38   64   17    0.000    0.000   0.000
     10.101.75.8     LOCAL(0)        11 u    5    8  377    0.060   -0.143   0.002
    
    [root@r10n16313.sqa.zmf /home/ahao.mah]
    #ntpq -np
         remote           refid      st t when poll reach   delay   offset  jitter
    ==============================================================================
    *127.127.1.0     .LOCL.          10 l   13   64   37    0.000    0.000   0.000
    +10.101.75.8     LOCAL(0)        11 u    4    8  377    0.060   -0.143   0.005
    

    A

    
         remote           refid	 st t when poll reach   delay   offset  jitter
    ==============================================================================
    *127.127.1.0     .LOCL.          10 l   57   64   37    0.000    0.000   0.000
    +10.101.75.38    LOCAL(0)        11 u    8    8  377    0.060    0.127   0.019
    

    ntp client

    10.101.75.32
    

    ntp server

    10.101.75.128	
    10.101.75.125	
    10.101.75.190	
    

    client

    10.101.75.114	
    

    image

  • 相关阅读:
    我使用的Chrome插件列表
    从花式swap引出的pointer aliasing问题
    CF Educational Codeforces Round 10 D. Nested Segments 离散化+树状数组
    CF #335 div1 A. Sorting Railway Cars
    Mac 下载安装MySQL
    Mac 安装Tomcat
    CF #CROC 2016
    安全体系(零)—— 加解密算法、消息摘要、消息认证技术、数字签名与公钥证书
    安全体系(一)—— DES算法详解
    JAVA实现用户的权限管理
  • 原文地址:https://www.cnblogs.com/muahao/p/6409043.html
Copyright © 2011-2022 走看看