Professional Documents
Culture Documents
[Konfigurasi NTP]
jihad:~# nano /etc/ntp.conf
# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
#server 0.debian.pool.ntp.org iburst dynamic
#server 1.debian.pool.ntp.org iburst dynamic
#server 2.debian.pool.ntp.org iburst dynamic
#server 3.debian.pool.ntp.org iburst dynamic
server 127.127.1.0
fudge 127.127.1.0 stratum 10
#......
#......
#restrict 192.168.123.0 mask 255.255.255.0 notrust
restrict 192.168.101.0 mask 255.255.255.0 nomodify notrap
jihad:~# /etc/init.d/ntp restart
Jihad_Irhaby
Page 1
[Test]
jihad:~# ntpq p
remote
refid st t when poll reach
delay
offset
jitter
==============================================================================
*LOCAL(0)
.LOCL.
10 l 60 64 177
0.000
0.000
0.002
-----> Jika pada bagian jitter tidak menunjukkan 0.000, maka konfigurasi kita telah benar.
jihad:~# ntpdate -u 127.0.0.1
18 Jul 21:35:41 ntpdate[3834]: adjust time server 127.0.0.1 offset -0.000054 sec
-----> Jika muncul 18 Jul 21:37:01 ntpdate[3866]: no server suitable for synchronization
found, maka tunggu 5-10 menit.
Jihad_Irhaby
Page 2
Jihad_Irhaby
Page 3