ntp时间同步

server端:
restrict 192.168.43.36 nomodify notrap nopeer noquery
restrict 192.168.43.2 mask 255.255.255.0 nomodify notrap

server 127.127.1.0
Fudge 127.127.1.0 stratum 10
内置的时钟服务器

ntp -q 

客户端:
restrict 192.168.43.38 nomodify notrap nopeer noquery
restrict 192.168.43.2 mask 255.255.255.0 nomodify notrap

server 192.168.43.36

Fudge 192.168.43.36 stratum 10

ntp -q

 

posted @ 2019-07-17 20:36  tigergaonotes  阅读(202)  评论(0编辑  收藏  举报