From owner-freebsd-questions Fri Aug 23 4:14:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 800B037B400 for ; Fri, 23 Aug 2002 04:14:47 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CE1B43E6A for ; Fri, 23 Aug 2002 04:14:46 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7NBEiQI095782; Fri, 23 Aug 2002 12:14:44 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7NBEdQ6095781; Fri, 23 Aug 2002 12:14:39 +0100 (BST) Date: Fri, 23 Aug 2002 12:14:39 +0100 From: Matthew Seaman To: Radko Keves Cc: questions@FreeBSD.ORG Subject: Re: question about ntpd and multicast Message-ID: <20020823111439.GA95674@happy-idiot-talk.infracaninophi> References: <20020823103810.GA95705@studnet.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020823103810.GA95705@studnet.sk> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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