Time synchronization setting

xiaoxiao2021-03-06  69

Time synchronization setting (assuming the NTP server is 10.103.1.46):

1, NTP server side settings (Solaris)

2, NTP client settings (Solaris)

3, NTP client settings (Windows)

4, NTP default port

1, NTP server side settings (Solaris):

Modify the configuration file:

#CD / ETC / INET

#cp ntp.server ntp.conf

#vi ntp.conf

Peer 10.103.1.46

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

Start service:

# / etc / init.d / xntpd stop

# / etc / init.d / xntpd start

#NTPQ -P

2, NTP client settings (Solaris):

Modify the configuration file:

#CD / ETC / INET

#cp ntp.client ntp.conf

#vi ntp.conf

Peer 10.103.1.46

Server 10.103.1.46

Fudge 127.127.1.0 Stratum 10

MulticastClient 224.0.1.1

Start service:

# / etc / init.d / xntpd stop

# / etc / init.d / xntpd start

#NTPQ -P

3, NTP Client Settings (Windows):

Net Time //10.103.1.46 / set / y

4, NTP default port

123

Li Shouliang

2003-11-12

转载请注明原文地址:https://www.9cbs.com/read-106523.html

New Post(0)