# Ntp Server time correction

**URL:** <https://community.f5.com/t/ntp-server-time-correction/10103>\
**Category:** Technical Forums\
**Tags:** big-ip, ltm, application-delivery\
**Created:** [May 31, 2016, 4:05am UTC](https://community.f5.com/t/ntp-server-time-correction/10103 "2016-05-31T04:05:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuanqiang\_22112](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yuanqiang\_22112](https://community.f5.com/u/yuanqiang_22112)\
**Post date:** [May 31, 2016, 4:05am UTC](https://community.f5.com/t/ntp-server-time-correction/10103/1 "2016-05-31T04:05:38Z")

</div>

**Hello everyone:** I have two vcmp host “A and B,V11.2.1” ,and set up NTP servers,A host NTP time is right ,the other B host is wrong ;tcpdump found A host receive packet ,B host none packet,but A host NTP time is wrong and B host NTP time is right. I have two question need to be helped (1) why A host send ntp request and receive ntp response ,but it’s time is wrong ? B host none packet ,but it’s time is right. (2)How long send ntp request for BIG-IP ?

 ![image_59612.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/2/21e4fee7ae12b7705861af287054e5edf3f0c967.png)

---

<div class="post-metadata">

**Author:** ![IanB](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@IanB](https://community.f5.com/u/IanB)\
**Post date:** [May 31, 2016, 6:33am UTC](https://community.f5.com/t/ntp-server-time-correction/10103/2 "2016-05-31T06:33:54Z")

</div>

Can you provide the output of ‘ntpq -pn’ on both devices ?

---

<div class="post-metadata">

**Author:** ![yuanqiang\_22112](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yuanqiang\_22112](https://community.f5.com/u/yuanqiang_22112)\
**Post date:** [June 6, 2016, 12:43pm UTC](https://community.f5.com/t/ntp-server-time-correction/10103/3 "2016-06-06T12:43:11Z")

</div>

@ lanB, what’s the time calibration mechanism of F5 ? I will give you the output of “ntpq -pn” the second day .

---

<div class="post-metadata">

**Author:** ![IanB](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@IanB](https://community.f5.com/u/IanB)\
**Post date:** [June 6, 2016, 1:14pm UTC](https://community.f5.com/t/ntp-server-time-correction/10103/4 "2016-06-06T13:14:30Z")

</div>

I don’t understand your question. ntpd uses ntp to keep time like any other unix based device. That’s why I need to see the ntp status. A picture of wireshark does not have enough information to draw any conclusions

---

<div class="post-metadata">

**Author:** ![yuanqiang\_22112](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yuanqiang\_22112](https://community.f5.com/u/yuanqiang_22112)\
**Post date:** [June 6, 2016, 1:40pm UTC](https://community.f5.com/t/ntp-server-time-correction/10103/5 "2016-06-06T13:40:38Z")

</div>

I want to know how long it will take the NTP client sends a synchronization instructions ?

---

<div class="post-metadata">

**Author:** ![IanB](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@IanB](https://community.f5.com/u/IanB)\
**Post date:** [June 6, 2016, 1:42pm UTC](https://community.f5.com/t/ntp-server-time-correction/10103/6 "2016-06-06T13:42:52Z")

</div>

Perhaps it would help if you read about the NTP protocol. You could start with [wikipedia: ntp](https://en.wikipedia.org/wiki/Network_Time_Protocol)

NTP is a protocol designed to bring multiple clocks into synchronisation with each other.

---

<div class="post-metadata">

**Author:** ![yuanqiang\_22112](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yuanqiang\_22112](https://community.f5.com/u/yuanqiang_22112)\
**Post date:** [June 7, 2016, 4:43am UTC](https://community.f5.com/t/ntp-server-time-correction/10103/7 "2016-06-07T04:43:31Z")

</div>

![image_60954.png](https://d20hrnpixdzcsd.cloudfront.net/original/2X/5/56692fb6f36e228978024f59833705717149f26c.png)

---

<div class="post-metadata">

**Author:** ![JG](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JG](https://community.f5.com/u/JG)\
**Post date:** [June 7, 2016, 7:28am UTC](https://community.f5.com/t/ntp-server-time-correction/10103/8 "2016-06-07T07:28:49Z")

</div>

Are you sure you have not mixed up the identities of these two servers? The non-working server is not initialised and does not even know the type of the peer, whilst the working server gets correct time without going to the network!

From your graph, the polling occurs every 1024 seconds.

---

<div class="post-metadata">

**Author:** ![IanB](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@IanB](https://community.f5.com/u/IanB)\
**Post date:** [June 7, 2016, 9:17am UTC](https://community.f5.com/t/ntp-server-time-correction/10103/9 "2016-06-07T09:17:48Z")

</div>

In the output you provided, SLB01-LTM-1 is unable to contact the NTP server 3.9.0.1 (or ntpd has only just been started/restarted). .INIT. means it has sent an ntp packet, and is still waiting for a response. It hasn’t had any replies (reach is 0). Can you ping 3.9.0.1 from LTM-1 ?

SLB01-LTM-2 is in time sync (the \* next to 3.9.0.1 shows that it is in sync), with a stratum 1 time source that claims to be a GPS based clock, and there is no packet loss (reach=0377 octal) to that device.

The output also indicates that your viprion vcmp host (127.3.0.x) is not configured with an NTP source. I suggest you fix that, then your guests can simply sync to that.
