Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2003 12:24:07 +0000
From:      Josh Paetzel <friar_josh@tcbug.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        questions@freebsd.org
Subject:   Re: ntpd problem
Message-ID:  <20031214122407.GA10397@ns1.tcbug.org>
In-Reply-To: <121730966.1071426991@cmantatzi.in.t-online.fr>
References:  <121730966.1071426991@cmantatzi.in.t-online.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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