Oops, I was trying with the use-case, wherein I had set (spurious) wrong time on S1, and was trying to sync that (wrong) time on clients.
Doing it the correct way (syncing with the correct time from S1) works :) Just curious though, is it supposed to work this way? I mean, how do the clients know whether the time they are trying to "fetch" from S1 is right or wrong. Anyways, Thanks a ton John for the help !! On Sun, Aug 18, 2013 at 9:52 PM, Ajay Garg <[email protected]> wrote: > Hi John. > > I tried both of > restrict 172.18.0.0 mask 255.255.0.0 nomodify notrap nopeer > and > > restrict 172.18.0.0 mask 255.255.0.0 nomodify notrap > > (restarting "ntpd" everytime of course), added the S1's LAN-address in > "/etc/ntp.conf" of the client(s). > Also, to be absolutely sure, I ran the following commands on all the > machines :: > > setenforce 0 > service iptables stop > service ipt6tables stop > > > But everytime, I got the error "no server suitable for synchronization > found" in "/var/log/messages" on the clients. > > > Any more ideas? :) > > > On Sun, Aug 18, 2013 at 9:10 PM, John Winters <[email protected]> wrote: > >> On 18/08/13 16:22, Ajay Garg wrote: >> >>> So, which one is the "perfect" one :P ? >>> >> >> Off the top of my head, you need a line something like this: >> >> restrict 172.18.0.0 mask 255.255.0.0 nomodify notrap nopeer >> >> See >> http://support.ntp.org/bin/**view/Support/**AccessRestrictions<http://support.ntp.org/bin/view/Support/AccessRestrictions>for >> more information. >> >> >> John >> ______________________________**_________________ >> pool mailing list >> [email protected] >> http://lists.ntp.org/listinfo/**pool <http://lists.ntp.org/listinfo/pool> >> > > > > -- > Regards, > Ajay > -- Regards, Ajay
_______________________________________________ pool mailing list [email protected] http://lists.ntp.org/listinfo/pool
