如何修改ESX Server的IP地址

(0 comments)

如果你要修改ESX Server的IP地址,你需要重新配置vswif0这个网络接口的配置。通过ssh工具登录主机,首先删掉这个接口的配置:

esxcfg-vswif -d vswif0

不用担心,删除接口的命令不会立刻生效,你还可以重新配置这个接口:

esxcfg-vswif -a vswif0 -p Service\ Console -i 10.1.1.1 \
 -n 255.255.255.0 -b 10.1.1.255

实际上,当你未指定-a参数时,可以直接修改接口的配置:

esxcfg-vswif vswif0 -p Service\ Console -i 10.1.1.1 -n 255.255.255.0 -b 10.1.1.255
Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required