Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 12:14:39 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Radko Keves <rado@studnet.sk>
Cc:        questions@FreeBSD.ORG
Subject:   Re: question about ntpd and multicast
Message-ID:  <20020823111439.GA95674@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020823103810.GA95705@studnet.sk>
References:  <20020823103810.GA95705@studnet.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 23, 2002 at 12:38:10PM +0200, Radko Keves wrote:

> i try to set up multicast in ntpd and have found this:
> 
>      -m      Synchronize using NTP multicast messages on the IP multicast
>              group address 224.0.1.1 (requires multicast kernel).
> 				      ^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> i use current is implicit set up multicast in kernel or i need some option ?

multicast isn't the problem: FreeBSD supports it already.  What I
guess you may be running into is an authentication problem.  You can't
run broadcast or multicast ntp without using key based auth.

In /etc/ntp.conf on the server you need to add statements like these:

broadcast 224.0.1.1 ttl 32 key 13
keys /etc/ntp.keys
enable auth

and on the clients you need:

multicastclient
keys /etc/ntp.keys
trustedkey 13
enable auth

and the /etc/ntp.keys file on all machines should contain (inter
alia) something like:

13 M 59AWWYds

where the 3rd field is an arbitrary string which is the shared secret
between the clients and server. See ntp.conf(5), ntp.keys(5) for the
gory details.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020823111439.GA95674>