[ntp:questions] help needed for ntpd ipv6 setup
Marc-Andre Alpers
m-a.alpers at web.de
Mon Nov 29 20:37:49 UTC 2010
Hello!
Have nobody a solution or idea wat is wrong with my server?
This works:
r34210:/home/marc-andre# ntpq -p -4 127.0.0.1
remote refid st t when poll reach delay offset jitter
==============================================================================
*ntp0.ovh.net .GPS. 1 u 60 64 7 0.508 0.929 0.134
chime1.surfnet. .GPS. 1 u 58 64 7 10.539 3.037 0.026
chime2.surfnet. .GPS. 1 u 58 64 7 17.382 4.859 0.107
ntp0.nl.uu.net .PPS. 1 u 54 64 7 13.025 -0.139 0.181
ntp1.nl.uu.net .PPS. 1 u 55 64 7 12.048 -0.045 0.120
adsl.remco.org .GPS. 1 u 54 64 7 22.736 4.901 0.224
2001:41d0:2:1a8 .INIT. 16 - - 64 0 0.000 0.000 0.000
r34210:/home/marc-andre#
This not:
r34210:/home/marc-andre# ntpq -p -6 ::1
::1: timed out, nothing received
***Request timed out
But on my home linux box it works:
marc-andre at lanserver:~$ ntpq -p -6 ::1
remote refid st t when poll reach delay offset jitter
==============================================================================
*GENERIC(0) .DCFa. 0 l 60 64 377 0.000 -0.334 1.130
-fritz.box 52.76.120.147 2 u 49 64 377 0.829 4.623 1.234
-r34210.ovh.net 213.251.128.249 2 u 41 64 377 24.438 0.256 0.838
-elara.fnutt.net 192.36.143.151 2 u 37 64 377 22.845 -0.562 2.080
-dexter.wzw.tum. 134.34.3.18 2 u 13 64 377 28.448 0.397 0.844
+ptbtime1.ptb.de .PTB. 1 u 29 64 377 13.888 1.475 0.599
-2003:0:4:ff::ff .GPS. 1 u 57 64 377 54.314 -6.705 1.261
-2003:0:8:ff::ff .GPS. 1 u 39 64 377 51.726 -6.537 0.663
marc-andre at lanserver:~$
Netstat on my dedicated server shows:
r34210:/home/marc-andre# netstat -6lu
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp6 0 0 ip6-localhost:domain [::]:*
udp6 0 0 [::]:ntp [::]:*
r34210:/home/marc-andre#
But my home linux shows this. On all ipv6 adresses is listening.
marc-andre at lanserver:~$ netstat -6lu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp6 0 0 fe80::209:5bff:fe60:ntp [::]:*
udp6 0 0 2a01:198:31d:1:209::ntp [::]:*
udp6 0 0 localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
udp6 0 0 [::]:domain [::]:*
udp6 0 0 [::]:64738 [::]:*
marc-andre at lanserver:~$
In tcpdump i can see that packet arrived my dedicated server. But he does
not answer.
r34210:/home/marc-andre# tcpdump ip6 and udp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
21:15:47.803245 IP6 2a01:198:31d:1:7488:d3c2:6218:abb9.ntp > 2001:41d0:2:1a88::1.ntp: NTPv4, Client, length 48
21:15:49.802749 IP6 2a01:198:31d:1:7488:d3c2:6218:abb9.ntp > 2001:41d0:2:1a88::1.ntp: NTPv4, Client, length 48
21:15:51.803041 IP6 2a01:198:31d:1:7488:d3c2:6218:abb9.ntp > 2001:41d0:2:1a88::1.ntp: NTPv4, Client, length 48
21:15:53.803585 IP6 2a01:198:31d:1:7488:d3c2:6218:abb9.ntp > 2001:41d0:2:1a88::1.ntp: NTPv4, Client, length 48
NTP Version on dedicatet server comes from Debian:
version="ntpd 4.2.4p4 at 1.1520-o Sun Nov 22 16:14:34 UTC 2009 (1)"
processor="x86_64", system="Linux/2.6.32.2-xxxx-grs-ipv6-64"
My home Linux run ubuntu 10.10:
version="ntpd 4.2.4p8 at 1.1612-o Fri Apr 9 00:28:40 UTC 2010 (1)",
processor="i686", system="Linux/2.6.32-26-generic-pae"
Thanks in advance.
Best regards
Marc-Andre Alpers
More information about the questions
mailing list