It must be simpler than this…

I sat down scratching my head… that ntp client was syncing perfectly in unicast, and didn't create any association once configured in multicast. "Dah, the same old problem", I told to myself, "it's not getting the packets, setting a multicast route will fix it".

So I prepared the usual debugging set: one window running tcpdump 'dst port ntp', one window on the client running watch ntpq -c pe -c as, another one with tail -f /var/log/syslog | grep ntp and a free shell window. To my surprise, as soon as I fired up tcpdump, multicast ntp packets showed up. "What the…?!" I said. … Continue reading

So, what’s this ntp server doing?

Debugging a multicast ntp server today. I want to see if it's throwing the right IGMP packets, and if it will finally throw those damned NTP multicast packets.

tcpdump comes to the rescue, and it turns out that ntpd is not doing what it's supposed to do, so I am in for further debugging and research 😦

By the way, the tcpdump line I used is:

tcpdump '( (ip multicast) and (dst port ntp) ) or igmp '

PS: forgot to say: that's a Debian Lenny system.