[ntp:questions] trying to get broadcast to work
folkert
folkert at vanheusden.com
Mon May 29 19:43:08 UTC 2017
Hi,
I'm trying to get broadcasts to work.
Situation:
stratum 1 server 192.168.64.80
------------------------------
driftfile /var/lib/ntp/ntp.drift
server ntp.nmi.nl prefer
peer timekast2 iburst prefer
peer timekast3 iburst prefer
peer timekast4 iburst prefer
server 127.127.22.0 minpoll 4 maxpoll 4 flag2 1
fudge 127.127.22.0 refid PPS
restrict -4 default kod notrap nomodify nopeer
restrict -6 default kod notrap nomodify nopeer
restrict 127.0.0.1
restrict ::1
disable auth
broadcastclient
broadcast 192.168.64.255
broadcast 224.0.1.1
client 192.168.64.150
---------------------
driftfile /var/lib/ntp/ntp.drift
restrict -4 default kod notrap nomodify nopeer
restrict -6 default kod notrap nomodify nopeer
restrict 127.0.0.1
restrict ::1
disable auth
broadcastclient
Resulting in:
------------
received at client:
21:40:17.604135 IP 192.168.64.80.123 > 192.168.64.255.123: NTPv4, Broadcast, length 48
client ntpq -c pe -n:
root at bachinabox:/home/folkert# ntpq -c pe -n
No association ID's returned
So I wonder: what am I doing wrong? what could be the cause?
Folkert van Heusden
--
More information about the questions
mailing list