【问题标题】:NTP time synchronization in offline machines离线机器中的 NTP 时间同步
【发布时间】:2012-08-04 19:17:18
【问题描述】:

我在一个集群中有几个离线节点。我希望他们的时间同步,所以我将其中一个节点配置为 NTP 服务器。

这是我的 NTP 服务器的配置文件:

# node's ip:192.168.17.11

driftfile /etc/ntp.drift
server 192.168.17.11
fudge 192.168.17.11 stratum 1
restrict 192.168.17.0 mask 255.255.255.0 nomodify notrap
restrict -4 default kod notrap nomodify nopeer noquery

问题是其他机器无法与本机同步时间。 此配置文件是否适合用作 NTP 服务器?

谢谢, 阿里

【问题讨论】:

  • 嘿,我知道这是很久以前的事了,但你找到解决方案了吗?我有同样的问题,找不到任何解决方案。
  • 嘿,不,不幸的是我没有找到合适的解决方案。

标签: time synchronization offline ntp


【解决方案1】:

使用 127.0.0.1 作为服务器 IP,您不允许 LAN 中的其他计算机与 NTP 服务器通信。

尝试在配置文件中通过服务器的局域网IP更改127.0.0.1。

【讨论】:

    猜你喜欢
    • 2021-07-17
    • 2013-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多