[ntp:questions] Need help for IPv6 setup

Dave Hart hart at ntp.org
Tue May 29 22:44:34 UTC 2012


On Tue, May 29, 2012 at 17:54 UTC, Nicolas Braud-Santoni wrote:
> ntpd[18653]: ntpd 4.2.6p2 at 1.2194-o Sun Oct 17 13:35:13 UTC 2010 (1)
> ntpd[18654]: proto: precision = 0.220 usec
> ntpd[18654]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
> ntpd[18654]: Listen and drop on 1 v6wildcard :: UDP 123
> ntpd[18654]: Listen normally on 2 lo 127.0.0.1 UDP 123
> ntpd[18654]: Listen normally on 3 eth0 <ipv4-addr> UDP 123
> ntpd[18654]: Listen normally on 4 eth0 2001:41d0:8:12c7::dead:bebe UDP 123
> ntpd[18654]: Listen normally on 5 eth0 <link-local> UDP 123
> ntpd[18654]: Listen normally on 6 lo ::1 UDP 123
> ntpd[18654]: Deleting interface #6 lo, ::1#123, interface stats:
> received=0, sent=0, dropped=0, active_time=1 secs
> ntpd[18654]: Deleting interface #5 eth0, <link-local>#123, interface
> stats: received=0, sent=0, dropped=0, active_time=1 secs
> ntpd[18654]: Deleting interface #4 eth0,
> 2001:41d0:8:12c7::dead:bebe#123, interface stats: received=0, sent=0,
> dropped=0, active_time=1 secs

Something is certainly going off the rails with the v6 addresses being
enumerated initially, then not being enumerated on the first runtime
rescan of addresses.  You can most likely work around the problem by
adding -U 0 to the ntpd invocation, but I hope you'll pursue it
nonetheless.  I'd like to understand what's going wrong.

> I don't have -D option :(
> I installed vanilla ntp, from Debian stable packages.
>
> I'll try compiling NTP from source, and wish myself luck.

Steve Kostecke maintains Debian packages of current ntp-dev that
should integrate more easily than building from source by hand.  Check
out:

http://packages.ntp.org/debian/

Also, please consider filing a http://bugs.ntp.org/ report once you've
collected and sanitized the -D4 output.  Warning:  it will contain
ntp.conf contents as well as the secret IPv4 address.  You can kill
ntpd with ^C after a few seconds, as we know the problem occurs one
second after the local network addresses are first enumerated.  I
don't need the entire file, only the section showing the initial
enumeration through the deletion of the v6 addresses.


More information about the questions mailing list