[ntp:questions] configurations issue for broadcastclient in Linux machine

Ravikiran REDDY -X (ravikred - HCL at Cisco) ravikred at cisco.com
Mon May 14 07:38:31 UTC 2007


 Hello,

Please clarify,
Linux machine when configured as broadcast client is not able to create
associations for the pkts received from the server [cisco router]
Am I missing anything here or should I need to have any additional
configuration in the ntp.conf file ? 
  
Server 	  	=>  cisco router with ntp image [ ip address 9.9.4.13 ]
Linux machine 	=>  broadcast client [ ip address 9.9.4.16 ]
			    [root at nsstg-ntp-lnx ntpv4]# uname -a
			    Linux nsstg-ntp-lnx 2.4.20-8 #1 Thu Mar 13
17:54:28 EST 2003 i686 i686 i386 GNU/Linux
	     		    [root at nsstg-ntp-lnx ntpv4]# 
NTP version  	=>  ntpq> version
		          ntpq 4.2.2p4 at 1.1585-o Fri May 11 01:34:46 UTC
2007 (1)
			    ntpq>

--------ntp.conf file -----
broadcastclient
driftfile /etc/ntp/drift
----------------------------

---------------------- Command used on Linux machine:
-----------------------
[root at nsstg-ntp-lnx ntpv4]#  ntpd -A -c /usr/local/tools/ntpv4/ntp.conf
-l /var/log/ntp.log
[root at nsstg-ntp-lnx ntpv4]# ntpq
ntpq> lopeers
No association ID's returned
ntpq> 
--------------------------------

----------- snippet from tcpdump on the Linux machine --------
00:58:55.882919 9.9.4.13.ntp > 255.255.255.255.ntp:  v4 bcast strat 8
poll 6 prec -24 [tos 0xc0]  [ttl 1]
------------------------------------------

------------------ Contents from log file -------------
14 May 00:55:44 ntpd[17480]: logging to file /var/log/ntp.log
14 May 00:55:44 ntpd[17480]: signal_no_reset: signal 13 had flags
4000000
14 May 00:55:44 ntpd[17480]: precision = 1.000 usec
14 May 00:55:44 ntpd[17480]: ntp_io: estimated max descriptors: 1024,
initial socket boundary: 16
14 May 00:55:44 ntpd[17480]: Listening on interface wildcard,
0.0.0.0#123 Disabled
14 May 00:55:44 ntpd[17480]: Listening on interface lo, 127.0.0.1#123
Enabled
14 May 00:55:44 ntpd[17480]: Listening on interface eth0, 9.9.4.16#123
Enabled
14 May 00:55:44 ntpd[17480]: kernel time sync status 0040
14 May 00:55:44 ntpd[17480]: io_setbclient: Opened broadcast client on
interface 2, socket: 19
14 May 00:55:44 ntpd[17480]: frequency initialized -4.124 PPM from
/etc/ntp/drift
------------------------------------------------------------------------
-----

Please let me know if any further info is needed.

Thanks & Regards
Ravikiran



More information about the questions mailing list