On 2012-11-16, Jun Hu <[email protected]> wrote: > > now, I need to configure ntp server and client in a private network > environment, supposed that: > > Server A ------ client B,servers and clients are all linux physical machine. > > > server A > > -------------------------------------- > > ntp.conf > > > server 127.127.1.0 > fudge 127.127.1.0 stratum 11 > > > ip is 192.168.1.10 > -------------------------------------- > > > client B > > -------------------------------------- > > ntp.conf > > > server 192.168.1.10 > > -------------------------------------- > > > now , "ntpq -p" status is normal: > > > remote refid st t when poll reach > delay offset jitter >============================================================================== > *192.168.227.148 LOCAL(0) 12 u 27 64 377 0.359 38.929 > 16.615 > > > but after I shutdown the ntp server A , I found that asterisk "*" is > existed always. > > > remote refid st t when poll reach > delay offset jitter >============================================================================== > *192.168.227.148 LOCAL(0) 12 u 197 64 370 0.205 36.638 > 2.993 > > > > > My expected is that the "*" should be disappeared after Server A shutdown , > Is it right?
AFter a while it will. Right now it has only missed three pollings of the server ( and since ntpd throws away 7 out of 8 polls anyway that is too little) so wait another 10 hours and see if the * remains. Your machine has no way of knowing if the other machine is only temporarily disconnected due to some network problem, of has beenswitched off. There is not return ntp signal saying "computer turned off". You know it is, but your compter does not. > > > why does asterisk still show after the ntp server is shutdown? Because it hope that its server is still there. _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
