LoginSignup
0
0

More than 1 year has passed since last update.

前提

VyOS の DNS/NTP の設定は Ubuntu とはまたちょっと違うので、別記事で残しておこうと思う。

環境

vRouter : VyOS 1.4.0

設定

DNS 設定

DNS のアドレスは 192.168.10.250 である。

$ configure
# set system name-server 192.168.10.250
# commit
# save

ここで、ntp.j-fortidemo.comで ping できるか確認しておく。返ってくれば OK

# ping ntp.j-fortidemo.com
PING ntp.j-fortidemo.com (192.168.10.249) 56(84) bytes of data.
64 bytes from ntp.j-fortidemo.com (192.168.10.249): icmp_seq=1 ttl=64 time=0.208 ms

NTP 設定

お次は、NTP

$ configure
# set system ntp server 'ntp.j-fortidemo.com'
# commit
# save

Time zone も忘れずに

$ configure
# set system time-zone Asia/Tokyo
# commit
# save

確認する

# date
Mon 12 Dec 2022 11:44:14 PM JST

ホスト名の変更

仮想ルータを増やしそうな気がするので、ここでホスト名を変更しておく

$ configure
# set system host-name vyos-1
# commit
# save
# exit
$ logout
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0