仮想化
目次
VMwareからPROXMOXへ移行した仮想マシン(OS)に対する設定変更内容。
# nmcli device # nmcli device connect [デバイス名]
# ip a
# nmcli device # nmcli device connect [デバイス名]
# ip a
# nmcli device # nmcli device connect [デバイス名]
# ip a
# nmcli device # nmcli device connect [デバイス名]
# ip a
# nmcli connection NAME UUID TYPE DEVICE ens18 3c0d59e6-9d5f-4dfe-9e8f-9b05241e90f7 ethernet ens18 lo cf522368-509e-4e12-be15-21e5f312b562 loopback lo ens33 4392e816-3a47-3ba0-873c-6fece3cbc419 ethernet --
ens33→旧設定 ens18→新設定
# nmcli connection delete ens33
# nmcli connection modify ens18 ipv4.method manual ipv4.addresses xxx.xxx.xxx.xxx/xx # nmcli connection modify ens18 ipv4.gateway xxx.xxx.xxx.xxx # nmcli connection modify ens18 connection.autoconnect yes # nmcli connection modify ens18 +ipv4.dns xxx.xxx.xxx.xxx
# nmcli connection modify [DEVICE] +ipv4.routes "[IP]/[MASK] [GATEWAY]"
ip a
vi /etc/netplan/[設定ファイル] デバイス名を書き換え、再起動により反映
ip a
vi /etc/netplan/[設定ファイル] デバイス名を書き換え、再起動により反映
# nmcli device # nmcli device connect [デバイス名]
# ip a