Rotten mud: Change esxi5.0 management network card and Management IP Address

Source: Internet
Author: User

This article is first published in the dark world.

The company's servers are basically in the IDC room, in order to make better use of server performance. So there are several servers installed with esxi5.0 for virtualization.

Note that these servers are currently dual NICs.

Because the esxi is not installed on your own, it is installed on the IDC and I will be informed of the esxi management IP address and password. Then, I remotely connect to and manage virtual machines. Therefore, set all the esxi management IP addresses of these servers to public IP addresses.

This is a waste for the company, because the public IP address would have to be paid. Therefore, we plan to replace this IP address with a private IP address, and save this public IP address for other use. In addition, we plan to replace the current esxi default Management Network Card vmnic0 with the network card vmnic1.

Because it is an experiment, we should declare it here. The 192 CIDR block represents the public IP address of the production environment. 10 CIDR blocks are the private IP addresses I need to configure and are also the private IP addresses in the production environment.

The network configuration after esxi5.0 is installed is as follows:

650) This. width = 650; "Title =" clip_image001 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image001 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739287RZ0L.png "width =" 725 "Height =" 398 "/>

650) This. width = 650; "Title =" clip_image002 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739287UubG.png "width =" 703 "Height =" 361 "/>

It must be explained againEsxi5.0The two NICs are connected directly under the same LAN and switch.

To achieve the above objectives, we need to perform the following steps:

1. Add a standard vswitch1

2. Add a new esxi management IP Address

3. Configure the private IP address of the local machine.

4. Use the new management IP address to connect to esxi

5. Change the esxi management Nic

1. Add a standard switchVswitch1

Next, we start to replace the management Nic of esxi. before changing the management Nic, we need to add a standard switch vswitch1. As follows:

Click "set"-"network"-"add network", as shown below:

650) This. width = 650; "Title =" clip_image003 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739288WR8k.png "width =" 742 "Height =" 332 "/>

In the pop-up window, select "Virtual Machine" for "connection type", as shown below:

650) This. width = 650; "Title =" clip_image004 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739288ppuW.png "width =" 706 "Height =" 265 "/>

"Network access": select the second network card that is not used. As follows:

650) This. width = 650; "Title =" clip_image005 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image005 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739289Ij0b.png "width =" 641 "Height =" 395 "/>

Select "connection settings" by default, as shown below:

650) This. width = 650; "Title =" clip_image006 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image006 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739289jaJr.png "width =" 547 "Height =" 327 "/>

Then, the final result is as follows:

650) This. width = 650; "Title =" clip_image007 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image007 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739289yUFv.png "width =" 586 "Height =" 394 "/>

2. AddEsxiNew managementIP

After adding the standard vswitch1, we can add a new management IP address. As follows:

Click "set"-"network"-"add network", as shown below:

650) This. width = 650; "Title =" clip_image003 [1] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 [1] "src =" http://img1.51cto.com/attachment/201410/31/526870_14147392905j1N.png "width =" 742 "Height =" 332 "/>

Select "vmkernel" for "connection type", as shown below:

650) This. width = 650; "Title =" clip_image008 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739290hEMS.png "width =" 714 "Height =" 267 "/>

For "vmkernel network access", select the newly created standard switch vswitch1, as shown below:

650) This. width = 650; "Title =" clip_image009 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image009 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739291q4uQ.png "width =" 649 "Height =" 434 "/>

Select the default value for "vmkernel connection settings", as shown below:

650) This. width = 650; "Title =" clip_image010 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image010 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739291JfWf.png "width =" 644 "Height =" 357 "/>

Note This in "vmkernel-IP connection settings". I have configured 10.10.1.5, which is the IP address.

650) This. width = 650; "Title =" clip_image011 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image011 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739292AZCt.png "width =" 682 "Height =" 387 "/>

After the IP address is configured, it is as follows:

650) This. width = 650; "Title =" clip_image012 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image012 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739292wEOP.png "width =" 583 "Height =" 381 "/>

Click "Next", as shown below:

650) This. width = 650; "Title =" clip_image013 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image013 "src =" http://img1.51cto.com/attachment/201410/31/526870_141473929293xz.png "width =" 563 "Height =" 278 "/>

After the preceding configuration is complete:

650) This. width = 650; "Title =" clip_image014 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image014 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739293xD1U.png "width =" 482 "Height =" 380 "/>

3. Configure the local private networkIP

Why do I need to configure the local private network?

As mentioned above, esxi is a virtual machine virtualized from VMWare on the local machine, and the two NICs of this esxi virtual machine, the network connection mode is bridging mode. It is equivalent that the esxi virtual machine is in the same LAN as the local machine.

The local IP address is configured as follows:

650) This. width = 650; "Title =" clip_image015 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image015 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739293E6TX.png "width =" 408 "Height =" 456 "/>

The local IP address is 10.10.1.4.

650) This. width = 650; "Title =" clip_image016 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image016 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739294pKyO.png "width =" 645 "Height =" 333 "/>

In addition, if the same LAN is not connected to a router (including a layer-3 Switch), it uses a layer-2 switch or a fool switch orHubConnectedPC, As long as there are two or more machines with the same network segment configured in the LANPCCommunication between them can be normal.

Ping the machine now. The new IP address 10.10.1.5 we configured in esxi is as follows:

650) This. width = 650; "Title =" clip_image017 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image017 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739294V5E4.png "width =" 476 "Height =" 234 "/>

We can easily see that the 10.10.1.4 configured on the local machine can communicate with the 10.10.1.5 configured on esxi normally.

4. Use new managementIPConnectionEsxi

Since the local machine can normally communicate with the new esxi management IP address, we will now connect to esxi through the vsphere installed on the local machine. As follows:

650) This. width = 650; "Title =" clip_image018 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image018 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739295DJ4q.png "width =" 424 "Height =" 378 "/>

650) This. width = 650; "Title =" clip_image019 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image019 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739295ayst.png "width =" 863 "Height =" 513 "/>

We can see that the new management IP address of esxi is connected to esxi normally.

Note thatEsxiVersion andVsphereIssues between versions,EsxiAndVsphereThe version must be one-to-one. OtherwiseVsphereWhen you log on, you will be prompted to download andEsxiVersionVsphere.

V. ChangeEsxiManage NICs

After using the new management IP address of esxi to log on to esxi, we can change the esxi management Nic. As follows:

"Configure"-"network" select "Standard switch vswitch0" and click "properties", as shown below:

650) This. width = 650; "Title =" clip_image020 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image020 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739295SeLO.png "width =" 506 "Height =" 391 "/>

Select "Management Network" in "Port", and then select "delete", as shown below:

650) This. width = 650; "Title =" clip_image021 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image021 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739296OFlL.png "width =" 599 "Height =" 531 "/>

650) This. width = 650; "Title =" clip_image022 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image022 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739296nECr.png "width =" 505 "Height =" 220 "/>

The final result is as follows:

650) This. width = 650; "Title =" clip_image023 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image023 "src =" http://img1.51cto.com/attachment/201410/31/526870_1414739297HuLi.png "width =" 487 "Height =" 324 "/>

We can see that the management Nic of esxi has changed to vmnic1.

In this way, we can change the esxi Nic and IP address.

This article from the "muddy world" blog, please be sure to keep this source http://ilanni.blog.51cto.com/526870/1570382

Rotten mud: Change esxi5.0 management network card and Management IP Address

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.