我有一个嵌入式设备,它以下列格式占用时间:
0.europe.pool.ntp.org
1.europe.pool.ntp.org
2.europe.pool.ntp.org
3.europe.pool.ntp.org
当解决方案在现场时,我问客户有关NTP服务器的情况,他们只给我NTP服务器,因为我在嵌入式设备上有4个字段和时区,那么改变这个IP以适应上面的NTP服务器格式的做法是什么呢?
发布于 2020-02-24 19:40:18
您的当前列表是一个服务器池--每个都是指单个NTP服务器。例如,如果您对每个页面进行平操作,例如:
> ping 3.europe.pool.ntp.org
Pinging 3.europe.pool.ntp.org [185.51.192.34] with 32 bytes of data:
Reply from 185.51.192.34: bytes=32 time=11ms TTL=57
...
>ping 0.europe.pool.ntp.org
Pinging 0.europe.pool.ntp.org [91.121.7.182] with 32 bytes of data:
Reply from 91.121.7.182: bytes=32 time=15ms TTL=55
...
或者执行DNS查找,您将看到每个解析到不同的IP地址.您的本地服务器可能没有什么不同,只是您有一个池。您可以简单地将单个IP地址放置在当前定义池的位置。
https://stackoverflow.com/questions/60376506
复制相似问题