Professional Documents
Culture Documents
ESXi - Change Vmnic - Vmhba Numbering
ESXi - Change Vmnic - Vmhba Numbering
net
If you change your hardware configuration without reinstalling your hypervisor you might run into
an issue with the nic or hba port numbering. The ESXi host writes the PCI bus to vmnic mapping to a
special configuration file. If you change the pci slot from your dual port nic for example you end up
with 2 new vmnics.
Change vmnic numberingPlease note that this method is not supported by VMware!
cp /etc/vmware/esx.conf /etc/vmware/esx.conf.old
vi /etc/vmware/esx.conf
5. Identify your physical nics. This could be done by many ways. You can use CDP if supported by
your physical switch. Or just plug in a cable and see which port comes up. The number between the
colons is the PCI Bus ID. Refer to your hardware vendors documentation to find out which Bus
belongs to your PCI Slot. In most cases its just ascending to the PCI Slot written to the chasis.
6 Ch th i l b l (M th
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/
t th l b l f " l " d t th 1/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
6. Change the vmnic label. (Move the cursor to the label, press r for "replace" and enter the new
number)
7. Search again for "vmnic" (press /vmnic<ENTER>) until you find something like this
8. This is the MAC address configuration which has to be consistent to the vmnic numbering made
above. The easiest way is to just delete these lines, as they are getting recreated after a reboot.
Move the cursor to the line an press dd for each line you want to delete.
Changing the vmhba numbering is the same. Just search the esx.conf for vmhba. There is just one
entry per port.
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 2/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
Share:
Related posts:
ROSS A
May 29, 2013 at 12:08 pm
I'd moved a NIC as one of my nodes wasn't configured the same as the other three when shipped
from Dell (nic was in a different slot for some reason - didn;t notice until after I had installed ESXi
unfortunately) - once moved and I rebooted the server the vmnic numbering had incremented as it
was detected as a new card. This allowed me to make it the same as the others again.
Many thanks
Reply
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 3/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
GAURAV BAGHLA
October 31, 2013 at 5:49 pm
http://kb.vmware.com/kb/2019871
Reply
Leave a Reply
Your email address will not be published.
Comment
Name
Website
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 4/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
POST COMMENT
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Email Address
SUBSCRIBE
Sponsors
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 5/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 6/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 7/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
-34% -34%
-34% -15%
-49% -49%
-43% -16%
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 8/9
3/25/2021 ESXi: Change vmnic / vmhba numbering | virten.net
110 TL 17,05 TL
68,85 TL 69,90 TL
https://www.virten.net/2012/09/esxi-change-vmnic-vmhba-numbering/ 9/9