|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slava Alpatov 2:5020/194.500 02 Aug 2007 10:17:36 To : All Subject : ntpd не отдает время :-( --------------------------------------------------------------------------------
Стоял старый ASPLinux с ntpd 4.1.2@1.892. а него была завернута вся
cинхронизация времени по ntp. Все работало. Поднял freebsd с ntpd 4.2.0-a. на
том же IP. Конфиг один в один и... все упало. Стандартное сообщение "no server
suitable for synchronization found"
При этом сам сервер с "наружей" синхронизируется без проблем.
mail# ntpq -c "peers"
remote refid st t when poll reach delay offset jitter
======================================================================== ======
usno.pa-x.dec.c .USNO. 1 u 178 256 17 200.538 -57.478 7.147
clock.via.net .GPS. 1 u 174 256 17 207.381 -62.389 6.218
clock.isc.org 216.200.141.8 2 u 176 256 17 213.635 -64.669 3.730
*ntp0.zenon.net .GPS. 1 u 173 256 17 5.707 -62.626 7.837
ntp2.belbone.be 195.13.23.6 2 u 173 256 17 71.905 -74.206 5.121
edony.tuxfamily 193.51.24.1 3 u 171 256 17 77.663 -64.447 4.927
c-473470d5.06-2 192.36.144.22 2 u 171 256 17 121.323 -66.727 7.553
ntp0.cis.strath 193.62.22.90 2 u 171 256 17 70.569 -60.767 7.772
==========================================
а внутри все ему орут, а он в ответ молчит (gw это он):
============================================
11:16:27.223522 IP cisco2950.vbleasing.intra.ntp > gw.vbleasing.intra.ntp:
NTPv3, Client, length 48
11:16:28.231931 IP mainsrv.vbleasing.intra.ntp > gw.vbleasing.intra.ntp: NTPv3,
Client, length 48
11:16:30.631387 IP avaya02.vbleasing.intra.iad1 > 192.168.20.255.time: UDP,
length 0
11:16:40.631769 IP avaya02.vbleasing.intra.iad1 > 192.168.20.255.time: UDP,
length 0
11:16:44.247828 IP mainsrv.vbleasing.intra.ntp > gw.vbleasing.intra.ntp: NTPv3,
Client, length 48
11:16:48.554162 IP cisco3560.vbleasing.intra.ntp > gw.vbleasing.intra.ntp:
NTPv3, Client, length 48
=============================
Конфиг:
===========================
# Prohibit general access to this service.
#restrict default ignore
restrict default nomodify notrap noquery
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
# -- CLIENT NETWORK -------
# Permit systems on this network to synchronize with this
# time service. Do not permit those systems to modify the
# configuration of this service. Also, do not use those
# systems as peers for synchronization.
restrict 192.168.20.0 mask 255.255.255.0 notrust nomodify notrap
# --- OUR TIMESERVERS -----
# or remove the default restrict line
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
# restrict mytrustedtimeserverip mask 255.255.255.255 nomodify notrap noquery
# server mytrustedtimeserverip
server timekeeper.isi.com
server usno.pa-x.dec.com
server clock.via.net
server clock.isc.org
server ntp0.zenon.net
server ntp2.belbone.be
server ntp.tuxfamily.net
server time.flygplats.net
server ntp.cis.strath.ac.uk
# --- NTP MULTICASTCLIENT ---
#multicastclient # listen on default 224.0.1.1
# restrict 224.0.1.1 mask 255.255.255.255 notrust nomodify notrap
# restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
=================================
С глубочайшим уважением, Слава
--------mailto:oldchild@mail.ru----------------
--- Я сказал (С) Г.Е.Жеглов
* Origin: Жизнь прекрасна и удивительна! (2:5020/194.500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/454046b1873b.html, оценка из 5, голосов 10
|