[ntp:questions] Are broadcasts by non-responsive servers used by clients?

Rod rglenist at netscape.net
Fri Oct 1 19:03:39 UTC 2004

I have a question regarding ntp broadcast operation as described on the
Association Management page.  The description:

"Once the offset is computed, the server continues as before and the client
sends no further messages. If for some reason the broadcast server does not
respond to client messages, the client will time out the volley and continue 
in listen-only mode with a default propagation delay."

Does this mean if the broadcast server does not respond that the broadcast
client will yet use the broadcasts to update its clock?  That'd be the 
behavior I'd expect, but do not find.

I've set up an ntp broadcast through a one-way link, and the broadcast 
client initiates a volley which times out after 8 failed messages, but it
never uses the broadcast time.  The broadcast client ntpd writes 
"ntpd[6263]: recvfrom() fd=6: No route to host" to /var/log/messages,
which is expected.

Some checks on the system:  ethereal shows the packets arriving at the 
client at stratum 3, and iptables -Lv shows that the packets make it 
through the client firewall.  Subsequently, I've disabled the firewall 
on the client, and the ntp broadcast client still does not use the ntp

Any help is appreciated!

ntp config files:
# Broadcast server
restrict default ignore


broadcast minpoll 4

# Time from the stratum 2 servers:
restrict mask nomodify notrap noquery

restrict mask nomodify notrap noquery

fudge stratum 10

driftfile /etc/ntp/drift
broadcastdelay  0.008

authenticate no

keys            /etc/ntp/keys

# The broadcast client.
server     # local clock
fudge stratum 10

broadcastdelay  0.008

authenticate no
/sbin/ifconfig on the client:
eth0    inet addr:  Bcast:  Mask:

More information about the questions mailing list