Network | Cara Konfigurasi NTP Server Debian 8
Admin
---
Hallo, apa kabar semuanya mamas mau update lagi ini... kali ini akan berbagi ilmu tentang cara konfigurasi NTP Server Debian 8. Mari kita kenalan dahulu dengan NTP Server, NTP Server kepanjangan dari "Network Time Protocol" adalah merupakan sebuah mekanisme atau protocol yang digunakan untuk melakukan sinkronisasi terhadap penunjuk waktu dalam sebuah sistem komputer dan jaringan, NTP menggunakan port 123 / UDP. Proses ini dilakukan di dalam jalur komunikasi data yang biasanya menggunakan protokol komunikasi TCP/IP.
Berikut adalah cara konfigurasi NTP Server Debian 8
root@test:~# apt-get install ntp
root@test:~# nano /etc/ntp.conf
# line 21: comment out
# server 0.debian.pool.ntp.org iburst
# server 1.debian.pool.ntp.org iburst
# server 2.debian.pool.ntp.org iburst
# server 3.debian.pool.ntp.org iburst
# change servers for synchronization
server ntp1.jst.mfeed.ad.jpserver ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
# line 48: add the network range you allow to receive requests
restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
root@test:~# service ntp restart
root@test:~# ntpq -p
remote refid st t when poll reach delay offset jitter
=========================================================
ntp1.jst.mfeed. 172.29.1.50 2 u 2 64 1 20.084 -21.584 0.000
ntp2.jst.mfeed. 172.29.3.50 2 u 1 64 1 20.614 -22.352 0.000
ntp3.jst.mfeed. 172.29.3.100 2 u - 64 1 22.385 -22.162 0.000
Nah sudah selesai, baca juga Cara Konfigurasi IP Address Debian 8