Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Vmware vsphere MAC address issue

Posted on 2014-12-05
13
Medium Priority
?
151 Views
Last Modified: 2016-07-17
vSwitch0 has vmnic0 and vmnic9 , not trunck, LCAP or NIC teaming on the physical switch side and vSwitch side.

Standard Switch : vSwitch0
Physical Adaptors : vmnic0 , vmnic9
vmnic0's mac address : xxxxxxx:0c
vmnic9's mac address : xxxxxxx:9f
VMkernel Port  -> Management Network -> vmk0 : 10.72.30.240

Management IP : 10.72.30.240
Management MAC : xxxxxxx:0c

If I remove vmnic0 from vSwitch0, the mac address for 10.72.30.240 still remain the same (xxxxx:0c). why MAC address didn't change to xxxxx:9f as we have removed vmnic0 from vSwitch0 already?
0
Comment
Question by:kwongluk_pang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
13 Comments
 
LVL 7

Expert Comment

by:Phil Davidson
ID: 40484296
The vmnic0 kept its IP address and MAC address.  I'm not sure why you'd expect that to change.  The vmnic0 was removed from the vSwitch0.  Is there evidence that the vSwitch0 has a MAC address that is the same as xxxxxxx:0c?
0
 
LVL 123
ID: 40484371
Because the VMKernel Portgroup has a virtual mac address!

The Management Address and IP Address (10.72.30.240) are tied to the VMKernel Portgroup, and NOT

the MAC addresses of the physical adaptors vmnic0 ot vmnic9.

This is WHY!
0
 

Author Comment

by:kwongluk_pang
ID: 40484449
VMNIC0 and VMNIC9For vSwitch0 , the VMKernel 's virtual mac address is same as VMNIC0's MAC address which is a0:d4:c1:01:cb:0c, WHY same MAC address ? is this normal ?

If I remove VMNIC0 and assign to vSwitch1, then I will have MAC address conflict. both vSwitch0 and vSwitch1 will use the same MAC address. I don't have screenshot now, I will post it to here next week.
0
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
LVL 123
ID: 40484471
Normally a MAC Address is generated for any VMKernel Portgroup, other than the Default Management Network on vSwitch0.

e.g. the physical network interface should not become the VMKernel Portgroup.

This does seem to be a bug in your case.

What is vSwitch0 and what is vSwtich1, do they have VMKernel Portgroups, VMKernel Portgorups are the only port groups bound to a MAC Address and IP Address.

Can you upload screenshots of your vSwitches
0
 

Author Comment

by:kwongluk_pang
ID: 40485254
vSwitch0.JPGvSwitch0 has two vmnic which are vmnic0 and vmnic9
vmnic0 -> a0:d3:c1:01:cb:0c
vmnic9 -> 2c:44:fd:8b:62:9f

vmkernel management port group vmk0's MAC is same as VMNIC0's MAC address which is a0:d3:c1:01:cb:0c

now, I remove vmnic0 from vSwitch0, you can refer to the attached screenshot, you only see vmnic9 inside vSwitch0.
After I removed vmnic0 from vSwitch0, the vmkernel management port vmk0's MAC should be changed to vmnic9's MAC address ? Am I correct? but in our case VMKERNEL Port (Management Network) vmk0's MAC still tie to " a0:d3:c1:01:cb:0c"
I hope you understand my explanation.
vSwitch0.JPG
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40485407
Just looking at this in the lab!

No, not really, the MAC Address assigned by default to vmk0, vmnic0, to vSwitch0 assumes and assigns the default MAC address from vmnic0.

vmnic0 192.168.199.14
MAC Address 00:0c:29:77:ba:f7
vmk0 - mangement network

Added another vmnic1

MAC Address of Mangement Network remains the same.

Default Teaming.

if vmnic0 is disconnected from the network.

vmnic1 takes over, using the same MAC Address as vmnic0.

However, there will never be a Mac Conflict or IP Address conflict, because all other VMKernel Portgroups are Auto Generated.

Create a new vSwitch1, Add vmnic0, create a VMKernel Portgroup with IP Address, and you will see a VMware auto generated MAC Address.

e.g. it does not use the mac address of the nic (which is assigned to vSwitch0).

So ALL is well with your installation.
0
 

Author Comment

by:kwongluk_pang
ID: 40486434
Thanks Andrew.

To conclude, can I said that VMK0's mac address is get from vmnic0, even though I replaced existing PCI NIC with new PCI NIC, the VMK0's MAC address will never get changed, it is a normal behavior of vSwitchs.

PCI NIC Port 0 --> vmnic0 --> a0:d3:c1:01:cb:0c
Embedded NIC Port 0 -->  vmnic9 -->  2c:44:fd:8b:62:9f
VMK0  --> Management Network IP Address: 10.x.x.240
VMK0  --> Management Network MAC Address: a0:d3:c1:01:cb:0c

Load Balancing : Port ID
Network Failure Detection : Link Status Only
Active Adapters :vmnic0, vmnic9
standby adapters : None
unused adapters : None
0
 
LVL 123
ID: 40486462
This is Correct, unless you completely destroy the vSwitch, and re-created, with vmnic9.
0
 

Author Comment

by:kwongluk_pang
ID: 40486474
thanks everyone. we can close this case now.
0
 
LVL 123
ID: 41714891
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question