服务端
22 allow 192.168/16
23
24 # Listen for commands only on localhost.
25 bindcmdaddress 127.0.0.1
26 bindcmdaddress ::1
27
28 # Serve time even if not synchronized to any NTP server.
29 local stratum 10
第22行设置为本网段
第29行的注释取消
客户端
1 # Use public servers from the pool.ntp.org project.
2 # Please consider joining the pool (http://www.pool.ntp.org/j oin.html).
3 server 192.168.43.200 iburst
4 # Ignore stratum in source selection.