Re: Servers just doen't work (after following the troubleshooting page)



In article <Pine.LNX.4.62.0509281201520.10217@xxxxxxxxxxxxxxxxxxxxx> S P
Arif Sahari Wibowo <arifsaha@xxxxxxxxx> writes:
>On Wed, 28 Sep 2005, Per Hedeland wrote:
>> I.e. if the address in question *is* bound to a socket, the
>> bug will not occur - and the OP claimed that ntpd *did* have
>> all the IP addresses bound (but I suspect he may be mistaken).
>
>You are correct. I misunderstood you. I thought you meant that
>each address is not listed more than once. In fact, the
>secondary IPs was not listed at all. Giving -L to the ntpd
>indeed make it listen to all IPs. So indeed it may work with my
>original setup?

Yes. Actually I'm running that very version of ntpd in a commercial
product, using -L to get it to serve time on a "virtual" IP address for
a purpose very similar to what you wanted. But while it makes sense in
that particular context, I'm not sure it does in a general NTP
server/service setup (the product in question has nothing to do with
NTP, it's just an "internal" function there).

>Is there any cost associated on listening to secondary / virtual
>IPs?

Not significant in "normal" cases I'd say, and whether they're secondary
/ virtual or not is irrelevant. I think part of the "controversy" around
this arose due to people running ntpd on web servers that had a
gazillion "virtual" IP addresses for "virtual hosting", and having no
interest in having ntpd listen on all of those. Watching for packets on
a gazillion sockets does have performance and general resource
consumption significance, in fact on some platforms ntpd might get into
serious trouble by trying.

--Per Hedeland
per@xxxxxxxxxxxx
.



Relevant Pages

  • Re: Servers just doent work (after following the troubleshooting page)
    ... the secondary IPs was not listed at all. ... Giving -L to the ntpd indeed make it listen to all IPs. ... Is there any cost associated on listening to secondary / virtual IPs? ...
    (comp.protocols.time.ntp)
  • NMEA / Garmin Etrex ntpd time sync not working
    ... source for ntpd in NMEA mode... ... I have down loaded the latest ntpd code and compiled it. ... Listening on interface wildcard, ...
    (comp.protocols.time.ntp)
  • Re: network interfaces for ntpd
    ... I am currently using ntpd to adjust the system time for my ... not listening to the ppp0 interface, it will only listen to eth0. ... interface as the DHCP lease expires and you obtain a new lease. ...
    (comp.protocols.time.ntp)
  • Re: "Trapping" in ntpd
    ... You can receive traps from any ntpd that allows it. ... $ perl ntptrap 192.168.1.27 ... It's probably listening on a wildcard address. ...
    (comp.protocols.time.ntp)
  • ntpd without binding?
    ... Easy enough to edit ntp.conf, but I'm trying to get ntpd ... to stop listening on port 123. ... stop binding to interfaces, or select which interface I want ...
    (comp.protocols.time.ntp)