How to change the ESX server4.0 IP address

Source: Internet
Author: User

Online tutorials or instructions are more, but actually tested, as follows

Just a few simple steps:


Command one: esxcfg-vswif-i 10.0.0.1-n 255.255.255.0 vswif0 # Modify the Service console address (above 2 addresses are the IP and subnet masks to be changed)

Command two: vi/etc/hosts # Modify Machine IP Address

Command three: Vi/etc/sysconfig/network # Modify the machine name and gateway

Command four: Service network restart #使用此命令重启网卡

Where command four can also be implemented by rebooting, but not recommended
After the IP is modified, you can log on with the new IP


Remark Description:

1, for command Two, three, after the modification is complete, move the cursor to the space, press ESC, and then enter ": Wq", you can save

2, if it is 4.0 to modify the IP address and other information, the actual only need to run the command one, three or four can.


The VC console cannot modify the IP address information (which must be done via the command line), but can view the network card.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.