VMware Cloud Community
LIzzardd
Contributor
Contributor

Add pnic(vmnic1) as default management network card

I have been battling with this for days now and have not found any useful answer.

I have a server with 2 onboard NIC's

During install and even once installed ESXi detects both nics

lscpi -v

00:05.00 Ethernet controller Network controller: Intel Coproration 82557/8/9 [vmnic0]

Class 0200: 8086:1229

02:02.00 Ethernet controller Network controller: Intel Coproration 82545EM Gigabit Ethernet Controller(Copper)[vmnic1]

Class 0200: 8086:100f

My problem is that vmnic0 is a dud, does not recieve DHCP address and even static assigment does not work.

Hows do I add vmnic1 as the default Management Network interface.

Thanks

0 Kudos
2 Replies
RParker
Immortal
Immortal

If you have ESX with the console you run these commands.

esxcfg-vswitch -U vmnic0 vSwitch0

esxcfg-vswitch -L vmnic1 vSwitch0

The first command unlinks vmnic0 from vSwitch0

the second command links vmnic1 to vSwitch0

The commands ARE case sensitive.

If you have ESXi, you have to do it from the gui interface on the host while you are at the console, and you remove vmni0 from the management switch and add vmnic1 to it, and reboot the host.

0 Kudos
LIzzardd
Contributor
Contributor

I have tried that before and again after your suggestion.

I get an error stating that vmnic1 is not a valid pnic.

I have hunted to try find out how to add it as a pnic but no luck as yet

0 Kudos