Operating System - Linux
1755609 Members
3751 Online
108836 Solutions
New Discussion юеВ

cant able to set ntp in broadcasting mode

 
Rupal
Occasional Contributor

cant able to set ntp in broadcasting mode

I am working on ntp on windows.I want to set it as a broadcasting server.
ntp.conf file

# NTP Network Time Protocol
# Configuration File created by Windows Binary Distribution Installer Rev.: 1.18 mbg
# please check http://www.ntp.org for additional documentation and background information

# Use drift file
driftfile "C:\NTP\etc\ntp.drift"

# your local system clock, could be used as a backup
# (this is only useful if you need to distribute time no matter how good or bad it is)
server 127.127.1.0
# but it should operate at a high stratum level to let the clients know and force them to
# use any other timesource they may have.
fudge 127.127.1.0 stratum 12

# End of generated ntp.conf --- Please edit this to suite your needs

authenticate yes
keys /etc/ntp/keys
broadcast 192.168.38.17 key 1 ttl 6
# 192.168.38.17 internel ip address
trustedkey 1

and key file contains 1 M secret.

now when i m running ntp it is giving
multicast address 192.168.38.17 not class D
and i cant able to run it in broadcasting mode.

please help me in solving this problem
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: cant able to set ntp in broadcasting mode

Shalom,

If you are running this on Windows, why would you post a question to Linux?

Your configuration file seems correct for multi-cast but you are in the wrong place to receive help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Siert Zijl
Advisor

Re: cant able to set ntp in broadcasting mode

If I configure broadcasting mode for xntpd (Linux), i've to tell the NTP daemon (service) that it needs to startup with the -b option:

-b Listens for broadcast NTP and synchronizes to them if available.

In /etc/sysconfig/ntpd I specify the startup parameters in the OPTIONS="" variable.

It could work similar on Windows. Maybe you can try to run the ntpd executable followed with /? to get all startup options?
Linux system administrator