Ntp

NTP 和電話(需要有用的 ntp 測試)

  • July 24, 2010

我有一個 sip 電話,它從 ntp 伺服器或星號伺服器獲取時間。

但是數據包似乎從未得到回复

我把wireshark放在一邊,用協議ntp查看了我得到的任何東西:

No.     Time        Source                Destination           Protocol Info
986 31.590946   172.17.153.201        173.65.167.66         NTP      NTP client

Frame 986 (90 bytes on wire, 90 bytes captured)
Ethernet II, Src: IntelCor_10:0e:8c (00:24:d7:10:0e:8c), Dst: Dell_f7:28:04 (00:18:8b:f7:28:04)
Internet Protocol, Src: 172.17.153.201 (172.17.153.201), Dst: 173.65.167.66 (173.65.167.66) 
User Datagram Protocol, Src Port: 61200 (61200), Dst Port: ntp (123)
Network Time Protocol

No.     Time        Source                Destination           Protocol Info
  1022 32.586918   172.17.153.201        173.65.167.66         NTP      NTP client

Frame 1022 (90 bytes on wire, 90 bytes captured)
Ethernet II, Src: IntelCor_10:0e:8c (00:24:d7:10:0e:8c), Dst: Dell_f7:28:04 (00:18:8b:f7:28:04)
Internet Protocol, Src: 172.17.153.201 (172.17.153.201), Dst: 173.65.167.66 (173.65.167.66)
User Datagram Protocol, Src Port: 61200 (61200), Dst Port: ntp (123)
Network Time Protocol

No.     Time        Source                Destination           Protocol Info
  1034 33.586195   172.17.153.201        173.65.167.66         NTP      NTP client

Frame 1034 (90 bytes on wire, 90 bytes captured)
Ethernet II, Src: IntelCor_10:0e:8c (00:24:d7:10:0e:8c), Dst: Dell_f7:28:04 (00:18:8b:f7:28:04)
Internet Protocol, Src: 172.17.153.201 (172.17.153.201), Dst: 173.65.167.66 (173.65.167.66)
User Datagram Protocol, Src Port: 61200 (61200), Dst Port: ntp (123)
Network Time Protocol

我想知道如何測試伺服器(我目前正在執行 Windows 7,因此 net time /set 不起作用),因此我可以將電話問題隔離為電話本身。

最簡單的方法:在控制面板的 Windows 時間設置中,您可以將 NTP 伺服器配置為時間源。如果這有效,它也應該適用於手機。

引用自:https://serverfault.com/questions/161996