[opensuse] ntpd timeserver 198.18.1.2
Hello List - i wonder if someone could be so kind to explain in simple terms, why, from time to time my ntpd time daemon connects to server 198.18.1.2 instead of connecting to the local time-server pool ?? thanks best regards ......... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ellanios82 said the following on 02/15/2013 02:56 AM:
Hello List
- i wonder if someone could be so kind to explain in simple terms, why, from time to time my ntpd time daemon connects to server 198.18.1.2 instead of connecting to the local time-server pool ??
Dunno. Have you read the man page? 198.18.1.2 Could you share with us your /etc/ntp.conf and /etc/ntp/step-tickers and what's on the command line of the daemon (use 'ps' to find that) You might want to re-read the man page after looking at them. As to that address, IIR That's from a reserved IP address block used for network testing. See http://tools.ietf.org/html/rfc5735 <quote> 198.18.0.0/15 - This block has been allocated for use in benchmark tests of network interconnect devices. [RFC2544] explains that this range was assigned to minimize the chance of conflict in case a testing device were to be accidentally connected to part of the Internet. Packets with source addresses from this range are not meant to be forwarded across the Internet. </quote> http://tools.ietf.org/html/rfc2544#appendix-C <quote> C.2.2 Protocol Addresses Two sets of addresses must be defined: first the addresses assigned to the router ports, and second the address that are to be used in the frames themselves and in the routing updates. The network addresses 192.18.0.0 through 198.19.255.255 are have been assigned to the BMWG by the IANA for this purpose. This assignment was made to minimize the chance of conflict in case a testing device were to be accidentally connected to part of the Internet. The specific use of the addresses is detailed below. </quote> -- "Security can be viewed like a construction scenario - build part of a road, and even if and even if you don't complete it, you still have something to drive on; build part of a bridge and you have nothing! Security is like the last." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/15/2013 03:43 PM, Anton Aylward wrote:
Could you share with us your /etc/ntp.conf and /etc/ntp/step-tickers and what's on the command line of the daemon (use 'ps' to find that)
/etc/ntp.conf after trimming top ## lines : .......... ## Undisciplined Local Clock. This is a fake driver intended for backup ## and when no outside source of synchronized time is available. ## server 127.127.1.0 # local clock (LCL) fudge 127.127.1.0 stratum 10 # LCL is unsynchronized ## ## Add external Servers using ## # rcntp addserver <yourserver> ## rcntp addserver chronos.duth.gr rcntp addserver 1.gr.pool.ntp.org rcntp addserver 1.europe.pool.ntp.org # chronos.duth.gr ## ## Miscellaneous stuff ## driftfile /var/lib/ntp/drift/ntp.drift # path for drift file logfile /var/log/ntp # alternate log file # logconfig =syncstatus + sysevents # logconfig =all # statsdir /tmp/ # directory for statistics files # filegen peerstats file peerstats type day enable # filegen loopstats file loopstats type day enable # filegen clockstats file clockstats type day enable # # Authentication stuff # keys /etc/ntp.keys # path for keys file trustedkey 1 # define trusted keys requestkey 1 server 2.opensuse.pool.ntp.org iburst # key (7) for accessing server variables # controlkey 15 # key (6) for accessing server variables ............... /etc/ntp/step-tickers : this file does not appear. .............. command line of daemon : # ps aux | grep ntpd root 6219 0.0 0.0 5432 1652 ? Ss 10:16 0:00 ntpd ............. - thank you so much best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/15/2013 04:03 PM, ellanios82 wrote:
On 02/15/2013 03:43 PM, Anton Aylward wrote:
Could you share with us your /etc/ntp.conf and /etc/ntp/step-tickers and what's on the command line of the daemon (use 'ps' to find that)
/etc/ntp.conf after trimming top ## lines :
.......... ## Undisciplined Local Clock. This is a fake driver intended for backup ## and when no outside source of synchronized time is available. ## server 127.127.1.0 # local clock (LCL) fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
## ## Add external Servers using ## # rcntp addserver <yourserver> ## rcntp addserver chronos.duth.gr rcntp addserver 1.gr.pool.ntp.org rcntp addserver 1.europe.pool.ntp.org
You use rcntp addserver on the commandline it should not be in the ntp.conf What you want in the ntp.conf is probably something like this server chronos.duth.gr iburst -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/15/2013 06:22 PM, Togan Muftuoglu wrote:
## Undisciplined Local Clock. This is a fake driver intended for backup
## and when no outside source of synchronized time is available. ## server 127.127.1.0 # local clock (LCL) fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
## ## Add external Servers using ## # rcntp addserver <yourserver> ## rcntp addserver chronos.duth.gr rcntp addserver 1.gr.pool.ntp.org rcntp addserver 1.europe.pool.ntp.org You use rcntp addserver on the commandline it should not be in the ntp.conf
What you want in the ntp.conf is probably something like this
server chronos.duth.gr iburst
Togan , thank you so much best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, 15 Feb 2013 09:56:09 +0200 ellanios82 <ellanios82@gmail.com> wrote:
- i wonder if someone could be so kind to explain in simple terms, why, from time to time my ntpd time daemon connects to server 198.18.1.2 instead of connecting to the local time-server pool ??
Also note that your machine might receive ntp settings with a DHCP packet. So if you use DHCP then another NTP might be added to your pool. As a side note, this is not reliable on 12.2. Based on a few observations, It seems that during boot the NTP from DHCP is not taken into account - but if network.service is later restarted then it is. -- Klaus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/17/2013 02:21 PM, Klaus Vink Slott wrote:
Also note that your machine might receive ntp settings with a DHCP packet. So if you use DHCP then another NTP might be added to your pool.
As a side note, this is not reliable on 12.2. Based on a few observations, It seems that during boot the NTP from DHCP is not taken into account - but if network.service is later restarted then it is. ...............
- enlightened :) thank you best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Anton Aylward
-
ellanios82
-
Klaus Vink Slott
-
Togan Muftuoglu