VMware Cloud Community
Henrique_Cicuto
Enthusiast
Enthusiast

How to manually map a NIC to a vmnic?

Good day everyone.

I´ve been facing the following issue:

My ESX host has 4 Broadcom NICs which were all detected:

# lspci | grep Ethernet

03:00.0 Ethernet controller: Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T (rev 12)

05:00.0 Ethernet controller: Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T (rev 12)

14:04.0 Ethernet controller: Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet (rev 02)

15:05.0 Ethernet controller: Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet (rev 02)

But one of those isn´t mapping to a vmnic:

# esxcfg-nics -l

Name PCI Driver Link Speed Duplex MAC Address MTU Description

vmnic0 03:00.00 bnx2 Up 1000Mbps Full MAC_ADDRESS 1500 Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T

vmnic2 14:04.00 bnx2 Up 1000Mbps Full MAC_ADDRESS 1500 Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet

vmnic3 15:05.00 bnx2 Down 0Mbps Half MAC_ADDRESS 1500 Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet

I tried adding manual entries to /etc/vmware/esx.conf, but that didn´t work.

Re-installing everything unfortunetly isn´t an option, so I´ve been wondering how can I manually create this mapping between NIC card and vmnic.

If there is some other kind of solution, I´d be thankful as well.

Thank you everyone, and good day.

Reply
0 Kudos
6 Replies
mudha
Hot Shot
Hot Shot

it's already maped to vmnic0 vmnic2 vmnic3. you can chnage it manyaly using esxcfg-vswitch command

Reply
0 Kudos
Henrique_Cicuto
Enthusiast
Enthusiast

Hum... Didn´t quite understand that.

The thing is I´m missing a vmnic1.

For what I saw, I though that:

vmnic0 = 03:00.0 Ethernet controller: Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T (rev 12)

vmnic2 = 14:04.0 Ethernet controller: Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet (rev 02)

vmnic3 = 15:05.0 Ethernet controller: Broadcom Corporation NetXtreme II 5706 Gigabit Ethernet (rev 02)

vmnic1 would be the 05:00.0 Ethernet controller: Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T (rev 12), wouldn´t it?

lspci shows me 4 NICs, but esxcfg-nics only shows me 3.

Since it doesn´t seen to be happening automatically, I wanted to create the vmnic1 mapping manually.

Reply
0 Kudos
admin
Immortal
Immortal

As per my knowledge, In esx we can't manually create mapping between NIC card's and VMnicX.

In your scenario, Onc "Broadcom Corporation Broadcom NetXtreme II BCM5708 1000Base-T (rev 12)" card is getting detected and Other broadcom NEtXtreme NIC is not detected. I think, your NIC card is faulty.

You can try one more scenario :-

If you have other ESX Machine, can you install that NIC card in the system. Check weather it is getting detected in esxcfg-nics or Not?

mudha
Hot Shot
Hot Shot

try see the same card on other server or you see it VC also whether it gives two ports or not?

Henrique_Cicuto
Enthusiast
Enthusiast

Sadly I don´t have physical access to the server (it´s kind of a few thousand miles away) Smiley Sad

Guess I´ll just have to pass it over to local support and wait for them to get things working.

Strange, both 'lspci' and the machine BIOS Setup (iLO) show me all 4 NICs.

Thanks everyone for everything so far.

Best regards

Reply
0 Kudos
MentholMoose
Enthusiast
Enthusiast

Paste output of:

ifconfig -a

ls -l /sys/class/net/

----- {color:#555555}Kirk Kosinski{color} [!http://www.kirkkosinski.com/li.png!|http://www.linkedin.com/in/kirkkosinski] {color:#999999}MCITP: EA / VA / EDA7, VCP 4{color}
Reply
0 Kudos