2013/05/31

【Linux】IPv6 NTP Server

要如何建置IPv6的NTP server
而且不需要對外去做更新時間的動作呢?

● Server
# yum install ntp
# vim /etc/ntp.conf
 restrict -6 default kod nomodify notrap nopeer noquery
 restrict -6 ::1
 restrict -6 fe80::0 mask 64 nomodify
 restrict -6 3ffe:1:2::0 mask 64
 server 127.127.1.0
 fudge 127.127.1.0 stratum 8
# /etc/init.d/ntpd start
# chkconfig ntpd on
# netstat –tlunp |grep ntp

● Client
# date 12121212
# date
# ntpdate 3ffe:1:2::1
# date

沒有留言:

張貼留言