MAC address of VMware host, at console

Akulsh
Akulsh used Ask the Experts™
on
This newly installed VMware ESXi 5.5 server cannot be connected to network unless I provide MAC address of mgmt NIC. I cannot find MAC address at the console. Should have been so easy... is there anyway to access command prompt?

Thanks for any help.

AK
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
MacleanSystem Engineer
Commented:
You can enable console under troubleshooting options, from which once set, you simply go back to the main screen and logon locally from the VM Host. Once on console, run the command: vim-cmd hostsvc/net/info | grep "mac ="

Post below from VMWare should provide sufficient instructions.

https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.getstart.doc%2Fcli_jumpstart.3.5.html

EDIT: This link is pretty sweet as to follow too with some example of how to get to console. Just jump down to the bit you need :)

http://blogs.vmware.com/smb/2013/12/back-to-basics-managing-vmware-esxi-5-5-direct-user-interface-dcui.html
Hi,

you can check and configure the mac for mgmt network in the esxi host network configuration.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1031111
Typical administration tasks on console include:

    Reset ‘root’ password
    Configure Lockdown mode
    Configure, Restart, Test and Restore the VMware ESX Management Network
    Restart Management Agents
    Configure Keyboard
    Troubleshoot
    View System Logs
    Reset System Configuration (Factory Reset)
    Shutdown/Restart the VMware ESX Host
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
if you need a command prompt or console, hit ALT_F1 and you'll get a login prompt!

If you login to the Console, by pressing F2, use you username and password. (root)

ESXi 5.5 console
Then select Configure Management Network,

Configure Management Network
 you will see the default Connected network Interfaces with their MAC Addresses. (vmnic1 in the example here)

Network Adaptors
You can also select Network Adaptors, and inspect all the MAC Addresses for the nics, and check which are connected and in use.

Network adaptors

Author

Commented:
Thanks, Andrew. When it comes to VMware, you are the man!

MacClean, your link will come handy some day. Thanks.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
@Akuish Thanks for your kind comments.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial