Link to home
Start Free TrialLog in
Avatar of Carrie Miles
Carrie Miles

asked on

How can I determine physical nic to vmnic

I'm running esxi 4.0 and 4.1.

Is there any easy way to determine which physical nic is mapped to which vmnic?

I read about CDP, but we are not using Cisco equipment.

Thank you
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

it's not easy, other than disconnect the network cable!

it's not very scientific, usually vmnic0 and vmnic1 are assigned to motherboard ports 1 and 2.

what server do you have, and what nics?

sometimes you can use lspci at the command line, and check the PCI locations, if you happen to know what PCI slots are network interfaces are assigned to.
Avatar of Carrie Miles
Carrie Miles

ASKER

Dell Poweredge 2900's.

I tried ESXTOP, but nothing there either. Darn it!
And hancocka, you are seriously awesome with VMware, you know EVERYTHING! I'm so greatful and have learned a ton from you alreaady.
esxtop in network mode, will indicate which physical vmnic is carrying which VM traffic.
it's a little bit naff, you could use ping, and send large packets, and see which nic is communicating alot.

how about this:-

1. check the mac address of the vmnic, and check the mac address arp table on the switch

on Cisco and HP switches, you can check which mac address is using with port!
what about the cdp on the vmnic?  It's showing port id g12. I'm assuming that means the switch port

how do you do esxtop in network mode?

esxtop then press N?
if using Cisco, correct

correct, esxtop, then press N.
what are the port id's listed in the network view?  Mine are showing numbers 16777217?
have you got Cisco equipment with CDP?

16777217 ? does not look correct
No we don't, so I guess that number means nothing.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Actually it must be a cisco switch, hardware plateform esw-540-48.  I'm not at the physical location at the moment.
ESX 5.0 now includes the non Cisco compatible for CDP.  Haven't played with it yet but may be worth a shot if you're going to upgrade.
The CDP worked perfectly.  Thank you so much!