-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
g] On Behalf Of Steve Kostecke
Sent: Thursday, September 20, 2007 2:21 PM
To: [email protected]
Subject: Re: [ntp:questions] NTP Server Answers at startup,then stops
answering

On 2007-09-19, Curt LeCaptain <[EMAIL PROTECTED]> wrote:

This probably has nothing to do with the issue you discus in this
article, but the following configuration tweaks wouldn't hurt:

> server ntp1.cs.wisc.edu
> server ntp3.cs.wisc.edu
> server nss.nts.umn.edu
> server ntp1.chiccp.net

Append iburst to all of your server lines. Doing so will speed up ntpd's
initial sync from ~5 minutes to ~20 seconds.

iburst causes ntpd to send the first 8 packets to the remote time server
at 2 second intervals, instead of the default minimum of 64 seconds,
whenever that server becomes reachable. After the initial 8 packets ntpd
reverts to the normal poll times.

> restrict ntp1.cs.wisc.edu mask 255.255.255.255 nomodify notrap noquery

> restrict ntp3.cs.wisc.edu mask 255.255.255.255 nomodify notrap noquery

> restrict nss.nts.umn.edu mask 255.255.255.255 nomodify notrap noquery 
> restrict ntp1.chiccp.net mask 255.255.255.255 nomodify notrap noquery 
> restrict 192.168.1.0 mask 255.255.255.192 restrict 192.168.1.64 mask 
> 255.255.255.192 restrict 127.0.0.1

You could greatly simply your restrictions as follows:

restrict default nomodify notrap noquery restrict 127.0.0.1

If you need to allow authorized clients on one of your sub-nets to query
ntpd add the following as appropriate:

restrict aaa.bbb.ccc.ddd mask 255.255.255.eee notrap nomodify

More information about ntpd access restrictions is available at
http://support.ntp.org/Support/AccessRestrictions

> My problem is this: at startup, other servers are able to poll my NTP 
> server. After about 5-10 minutes, they're no longer able to poll and 
> fail their attempts from there on out, as if the service just stops 
> answering. Any suggestions would be great, I'm really lost at this 
> point.

Please let us see the output of ntpq -p from the server at the following
intervals after ntpd start up: 1 minute, 5 minutes, 10 minutes, 20
minutes.

--
Steve Kostecke <[EMAIL PROTECTED]>
NTP Public Services Project - http://support.ntp.org/

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions



Output:

1 minute:
     remote           refid      st t when poll reach   delay   offset
jitter
========================================================================
======
 LOCAL(0)        LOCAL(0)        10 l   40   64    1    0.000    0.000
0.001
*caesar.cs.wisc. 128.105.201.11   2 u   25   64    1    7.263   -1.341
4.709
+dr-zaius.cs.wis 128.105.201.11   2 u   24   64    1    7.344   -0.318
1.759
+nss.nts.umn.edu 160.94.54.248    2 u   23   64    1   20.907   -3.273
2.655
 chiccp.net      128.252.19.1     2 u   36   64    1   13.432   -1.106
0.001

5 minutes:
     remote           refid      st t when poll reach   delay   offset
jitter
========================================================================
======
 LOCAL(0)        LOCAL(0)        10 l   12   64   77    0.000    0.000
0.001
*caesar.cs.wisc. 128.105.201.11   2 u    9   64   77    7.239   -2.151
4.388
+dr-zaius.cs.wis 128.105.201.11   2 u   13   64   77    7.424   -1.540
1.232
+nss.nts.umn.edu 160.94.54.248    2 u    9   64   77   20.661   -4.124
2.195
-chiccp.net      128.252.19.1     2 u    4   64   77   11.226   -3.556
1.234

10 minutes:
     remote           refid      st t when poll reach   delay   offset
jitter
========================================================================
======
 LOCAL(0)        LOCAL(0)        10 l   44   64  377    0.000    0.000
0.001
*caesar.cs.wisc. 128.105.201.11   2 u   43   64  377    7.239   -2.151
1.226
+dr-zaius.cs.wis 128.105.201.11   2 u   44   64  377    7.300   -2.205
0.489
+nss.nts.umn.edu 160.94.54.248    2 u   44   64  377   20.661   -4.124
4.423
-chiccp.net      128.252.19.1     2 u   40   64  377   11.226   -3.556
4.227

20 minutes:
     remote           refid      st t when poll reach   delay   offset
jitter
========================================================================
======
 LOCAL(0)        LOCAL(0)        10 l   37   64  377    0.000    0.000
0.001
*caesar.cs.wisc. 128.105.201.11   2 u   43   64  377    7.255   -0.307
1.858
+dr-zaius.cs.wis 128.105.201.11   2 u   34   64  377    7.361   -0.441
5.258
-nss.nts.umn.edu 160.94.54.248    2 u   44   64  377   20.969   -2.108
4.745
+chiccp.net      128.252.19.1     2 u   38   64  377   11.195   -1.089
0.640
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to