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

作者:tigergao
功不唐捐 玉汝于成
原文地址:https://www.cnblogs.com/tigergaonotes/p/11203518.html