From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 10:24:45 2003 Return-Path: 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 569E916A4CE; Sun, 14 Dec 2003 10:24:45 -0800 (PST) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6D843D37; Sun, 14 Dec 2003 10:24:44 -0800 (PST) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id E08F0BA6B; Sun, 14 Dec 2003 12:24:08 +0000 (GMT) Date: Sun, 14 Dec 2003 12:24:07 +0000 From: Josh Paetzel To: Mathieu Arnold Message-ID: <20031214122407.GA10397@ns1.tcbug.org> References: <121730966.1071426991@cmantatzi.in.t-online.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <121730966.1071426991@cmantatzi.in.t-online.fr> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: ntpd problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 18:24:45 -0000 On Sun, Dec 14, 2003 at 06:36:31PM +0100, Mathieu Arnold wrote: > Hi, > > I have a few routers who don't have any 127.0.0.1, because their loopback has > a a routable address so that I can use an IGP with them. > Now, I guess that's the reason why ntpd is not working, and I was wondering > how I could do have it work with another IP, I guess I'll have to add some > config directive to tell it that it's internal ref clock is not 127.0.0.1, > what I hope is that it's not hard coded in it, if that is, I'll have to > create an lo1 with 127.0.0.1, but I'd rather not. > > -- > Mathieu Arnold from /usr/src/contrib/ntp/ntpd/ntp_intres.c /* * Big hack attack */ #define LOCALHOST 0x7f000001 /* 127.0.0.1, in hex, of course */ I think that's your answer right there. :-/ Josh Paetzel