罪と罰++二律背反


[[PC関連]]

*NTP [#y44889fb]
 # ntpで時間を合わせる
 /usr/sbin/ntpdate -b ntp1.jst.mfeed.ad.jp 
 # システム時間とCMOS時間を合わせる
 clock -w 

*NTPサーバ [#wea122c3]
/etc/ntp.conf
 # 同期するサーバ
 server ntp1.jst.mfeed.ad.jp
 server ntp2.jst.mfeed.ad.jp
 server ntp3.jst.mfeed.ad.jp
 # 内蔵クロック 
 server 127.127.1.0 # local clock
 # 内蔵クロックの優先順位を下げる
 fudge 127.127.1.0 stratum 10 
 # driftファイル
 driftfile /var/ntp/drift

/etc/init.d/ntp start 

パケットフィルタリングをntp(123)通すよう設定する

*確認 [#pb6c64c5]
 ntpq -pn
 
      remote           refid      st t when poll reach   delay   offset  jitter
 ==============================================================================
 +141.82.30.251   130.149.17.21    2 u   18   64  277  297.230  2325.44 565.208
 *210.173.160.27  210.173.160.56   2 u    6   64  377    8.675  2152.80 494.073
 +210.173.160.57  210.173.176.4    2 u    6   64  377    8.585  2155.50 488.706
 +210.173.160.87  210.173.176.4    2 u    7   64  377    9.940  2361.55 486.976
  127.127.1.0     LOCAL(0)        13 l    9   64  377    0.000    0.000   0.002
-先頭の*が同期しているサーバ

*参照 [#t68b2de7]
-[[@IT:Windowsネットワーク時刻同期の基礎とノウハウ:http://www.atmarkit.co.jp/fwin2k/operation/winntp03/winntp03_01.html]]

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS