LoginSignup
0
0

More than 5 years have passed since last update.

How to change IP address with esxcli

Last updated at Posted at 2018-02-07
% esxcli network ip interface ipv4 get
Name  IPv4 Address    IPv4 Netmask   IPv4 Broadcast  Address Type  Gateway         DHCP DNS
----  --------------  -------------  --------------  ------------  --------------  --------
vmk0  192.168.0.3  255.255.255.0  192.168.0.255  STATIC        192.168.0.254     false
% esxcli network ip interface ipv4 set -i vmk0 -I 192.168.0.7 -N 255.255.255.0 -t static 
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