0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ESXi7: ホストのIPアドレスを固定する

Last updated at Posted at 2020-06-02

ホストPCのIPアドレスを変更、固定します。

Webサービスから、
ホスト -> アクション -> サービス -> SSHの有効化

参考

現在のIP情報取得
$ esxcli network ip interface ipv4 get
# Name  IPv4 Address  IPv4 Netmask   IPv4 Broadcast  Address Type  Gateway  DHCP DNS
# ----  ------------  -------------  --------------  ------------  -------  --------
# vmk0  192.168.0.XX  255.255.255.0  192.168.0.255   STATIC        0.0.0.0     false

IPアドレス設定
$ esxcli network ip interface ipv4 set -i vmk0 -I 192.168.0.XX -N 255.255.255.0 -t static
# ターミナルを再起動して設定したIPアドレスでログイン確認

Webサービスに新しいIPアドレスでログインし、
ホスト -> アクション -> サービス -> SSHの無効化

終了。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?