C
C
CTOPMbI42014-08-12 07:35:09
FreeBSD
CTOPMbI4, 2014-08-12 07:35:09

How to set up ntp on freebsd for dlink switches?

Set up a FreeBSD server to synchronize time for dlink equipment.
You can see from the traffic that there are requests from dlink. There are no answers from FreeBSD itself.
10:30:51.372408 IP 192.168.0.90.123 > 192.168.0.1.123: NTPv1, Client, length 48
no response. there is nothing in the ntp logs.
long settings

enable sntp
config time_zone operator + hour 2 min 0
config sntp primary 192.168.0.1 secondary 0.0.0.0 poll-interval 60
config dst repeating s_week last s_day sun s_mth 3 s_time 3:0 e_week last e_day sun e_mth 10 e_time 4:0 offset 60

config ntp.conf
server ru.pool.ntp.org   iburst prefer
server 1.ru.pool.ntp.org iburst
server 2.ru.pool.ntp.org iburst
server 0.ru.pool.ntp.org iburst
driftfile /etc/ntp/drift

logfile /var/log/ntp.log

restrict default ignore
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
restrict localhost

restrict ru.pool.ntp.org
restrict 1.ru.pool.ntp.org
restrict 2.ru.pool.ntp.org
restrict 0.ru.pool.ntp.org

Accordingly, synchronization does not work.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
oia, 2014-08-12
@oia

And port 123 about covered on a file in goes and local?

C
CTOPMbI4, 2014-08-12
@CTOPMbI4

The port is not closed. Didn't quite understand your question?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question