Regarding NTP Server and Client

From: aditya iyer (cynosure_7410@yahoo.com)
Date: Thu Nov 13 2003 - 20:45:34 EST


Dear Sir,

Thanks for all the prompt reply. It helped me really.

I have some more clarficiations.

*********NTP.conf in the Sever machine********

# Some of the devices benefit from "fudge" factors.
See the xntpd
# documentation.

# Either a peer or server. Replace "XType" with a
value from the
# table above.
server 127.127.1.0 prefer
fudge 127.127.1.0 stratum 0

broadcast 224.0.1.1 ttl 4

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0

*********NTP.conf in client machine**********

#server tick.usno.navy.mil
server 10.225.225.246
driftfile /var/run/ntp.drift
restrict 127.0.0.1
restrict default noquery nomodify notrap nopeer

I am trying to Sync my client machine time to the
server machine (10.225.225.246)time.
Now what happens is that

# date
Thu Nov 13 20:34:51 EST 2003 (In the server machine)

# date
Fri Nov 14 09:35:27 SGT 2003 (In the client machine)

The time doesnt seem to Sync.

O/P of ntpq -p

# ntpq -p (In the server machine)
     remote refid st t when poll reach
 delay offset disp
==============================================================================
*LOCAL(0) .LCL. 0 l 20 64 377
  0.00 0.000 10.03
 224.0.1.1 0.0.0.0 16 - - 64 0
  0.00 0.000 16000.0

# ntpq -p (In the Client machine)
     remote refid st t when poll reach
 delay offset disp
==============================================================================
*10.225.225.246 .LCL. 1 u 18 64 377
  0.58 0.584 0.82

When Syncing will the time zone too get synced.

Thanks and Regards
Girish

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:28 EDT