Replace VMware ESX Server Console NIC and Recovery Solution

  
 

Change the service console NIC

When installing esx. If there are two NICs or more, the system will install the main console on the first virtual switch in the first physical NIC by default. The main control line virtual network card is vswif0

1. Use the VMware vSphere Client software to log in to vcenter to add from the server console, host-->configure-->network--> check the NIC properties--> Add --> The service console can also be completed to the local command. You can refer to the following disaster recovery scheme

2. Delete the vswif0 master line virtual network card:

esxcfg-vswif -d vswif0 ( Esxcfg-vswif -D is to delete all virtual network card information of the server, note)

3. Delete this virtual network card

esxcfg-vswitch -D "Service Console" vSwitch0 (Service Console is a Portgroup, can take any letter or number. Can not be repeated)

Delete the master line to complete

--------------------- -----------------------------------------

Failure recovery plan

Because you accidentally deleted the ESX master line virtual network card, resulting in the inability to communicate or want to recover the deleted virtual network card

1. View this server virtual switch

esxcfg-vswitch -l

2. Increase the portgroup of this virtual switch

esxcfg-vswitch -A "Service Console" vSwitch0< Br>

3. Add virtual network card and configure ip

esxcfg-vswif -a vswif0 -p "Service Console" -i DHCP


esxcfg-vswif -a vswif0 -p "Service Console" -i 10.35.2.85 -n 255.255.255.0 -b 10.35.2.254 (-i: NIC ip, -n: subnet mask, -b: gateway)

Copyright © Windows knowledge All Rights Reserved