[ntp:questions] Is there something with greater detail on "interface" besides the manpage?

Harlan Stenn stenn at ntp.org
Wed Nov 20 01:11:15 UTC 2013


Rick Jones writes:
> Harlan Stenn <stenn at ntp.org> wrote:
> > You might want:
> 
> >  interface ignore all
> >  interface listen 127.0.0.1     # if you want localhost ntpq to work
> >  interface listen a.b.c.d       # enumerate the IPs you want to use
> 
> Thanks.  I take it then that wildcard charaters in matching on
> interface names aren't a go :)

Not yet, as best as I can recall.

> My further complication is these systems get their IPs via DHCP (I
> should have listed that in the first place, sorry) and some are bonded
> and some are not bonded, but the component names of the interfaces in
> the bond(s) are the same "namespace" as when they are not bonded.  For
> example I may have systems with a bond0 using eth2 and eth3 and some
> systems just using eth2.  I *may* though be able to split the config
> files between such systems - that remains to be determined and if not
> is, arguably a failing at my end.

How much info that NTP would care about would come from DHCP?

> "Wildcard" - that is listening on INADDR_ANY basically?

I'll give that a qualified "yes", because I haven't looked at the code
in a long time and this may be a place where there is an exception.

H


More information about the questions mailing list