[ntp:questions] outout of ntpq -p

Dave Hart hart at ntp.org
Tue May 22 16:21:39 UTC 2012


On Mon, May 21, 2012 at 7:31 PM, Atul Gupta <atul14.kumar at gmail.com> wrote:
> I am syncing with ntp server whose ip is :-  2001:5b0:3eff:fffa::310
> But, when i run ntpq program to check the ntp status, i get following out out :-
>
> # ntpq -p
>     remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
> *2001:5b0:3eff:f LOCAL(0)        11 m   17   64  376    0.000    8.151  25.053
>
> It seems that ipv6 address doesn't accommodate completely in this,
> that's why i see incomplete ipv6 address ( 2001:5b0:3eff:f ), is there
> a way to fix this issue.

The untruncated value is what is fetched from ntpd and can be seen in
the output of:

ntpq -n -c lassoc -c "rv &1 srcadr"

If you omit the -n, the IP address will be reversed to a hostname if possible.

http://bugs.ntp.org/show_bug.cgi?id=1763

has a similar discussion.

Cheers,
Dave Hart

In general, the peers billboard is meant for human convenience.  If
you're querying ntp


More information about the questions mailing list