ntpd problem

Josh Paetzel friar_josh at tcbug.org
Sun Dec 14 10:24:45 PST 2003


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



More information about the freebsd-questions mailing list