[ntp:questions] Re: New to NTP

Piotr Trojanek ptrojane at mion.elka.pw.edu.pl
Mon Sep 15 07:56:58 UTC 2003


In article <bD69b.5613$vX3.682595 at wards.force9.net>, Ian Gibbons wrote:
>
>"Piotr Trojanek" <ptrojane at mion.elka.pw.edu.pl> wrote in message
>news:slrnblobla.b4o.ptrojane at mion.elka.pw.edu.pl...
>> use 'ntpdc -c monl' -- I guess here is why.
>>
>> -- 
>> Piotr Trojanek
>
>Tried that didnt work. Infact its actually using 'ntpd', but for some reason
>it still binds to all interfaces, then again to them individually so as to
>take up three lines on netstat -a.
>Why is it doing this? It looks crazy and its mildly annoying also, as I try
>keep my netstat list as clean as possible.

here is my output:
remote address          port local address      count m ver drop   last   first
===============================================================================
localhost              44439 127.0.0.1             15 7 2      0      0  590609
10.0.0.5                1916 10.0.0.1           19678 3 3      0      2  590592
vega.cbk.poznan.pl       123 213.77.124.671      8731 4 4      0     16  590605
0ggs0f1.cm.chello.no   64721 213.77.124.671        20 3 4      0     17    1959
10.0.0.98                123 10.0.0.1             776 3 4      0     28  590548
phil.chemn.tuniv.szcze   123 213.77.124.671       888 3 4      0     31  590594
wge1-cp.pie.warszawa.s 14794 213.77.124.671       832 3 4      0     37  590579
pa140.wroblowice.sdi.t   123 213.77.124.671      1252 3 4      0     40  590318
[...] (external IP address changed:)

as you can see from third column, ntpd monitors which from host address/
interface client connects to. 10/24 network is LAN behind NAT box, which it self
servs as NTP server for both Internet and LAN.

the other reasons may be broadcast/multicast NTP modes -- when operating
as multicast server NTP tries to bind to each interface separately. I'm not
multicast guru, but guess, that if you run mrouted on the same hos,t NTP
does the right thing.

-- 
Piotr Trojanek



More information about the questions mailing list