VMware

This Question is Answered

2 "helpful" answers available (6 pts)
9 Replies Last post: Mar 20, 2009 5:54 AM by Anton V Zhban…  

Odd MAC address confusion... posted: Mar 19, 2009 3:05 PM

Click to view ScottChapman's profile Enthusiast 103 posts since
Dec 8, 2008

Ok, this is a good one...

So, I spent the better part of a day trying to figure out why all my VMs were working like a charm, but my management network was pretty much hosed.

By hosed, I mean it was pretty unusable. It would sputter, and occassionally give me info, but more times than not I would get connection errors.

So... Here is what I figured out...

I bought a new NIC for my host, and put the old one into a different machine on my network.

What appears to be happening is my ESXi server, which the new NIC is still broadcasting the MAC address of the other card, even though the proper MAC addresses appear on the console in the network configuration screen.

I know this because when I switch the management network to use DHCP for the IP configuration, I can clearly see the other MAC address in the log.

I have taken the old NIC off the network and everything is currently fine.

So, how do I figure out where this left-over MAC address is being caches, and how do I fix it??

Re: Odd MAC address confusion...

1. Mar 19, 2009 3:11 PM in response to: ScottChapman
Click to view Anton V Zhbankov's profile Champion 2,896 posts since
May 26, 2008
I had such problem. You need to go to ESXi console, disable NIC, restart network, enable NIC, restart network.

---
VMware vExpert '2009
http://blog.vadmin.ru

Re: Odd MAC address confusion...

3. Mar 19, 2009 3:25 PM in response to: ScottChapman
Click to view Anton V Zhbankov's profile Champion 2,896 posts since
May 26, 2008
Looks like ESXi take a look on MAC one time - when you enable NIC, and then just do not care.

PS. If you consider comment useful, please award points :)

---
VMware vExpert '2009
http://blog.vadmin.ru

Re: Odd MAC address confusion...

5. Mar 19, 2009 11:32 PM in response to: Anton V Zhban…
Click to view Dave.Mishchenko's profile Guru 8,976 posts since
Nov 15, 2005
ESXi uses the MAC of what it sees as vmnic0 as the virtual MAC for vmkernel management port. If you move the NIC, the vmkernel MAC stays the same. I'm not sure why they don't use a generated MAC instead.

Re: Odd MAC address confusion...

7. Mar 20, 2009 4:54 AM in response to: ScottChapman
Click to view Anton V Zhbankov's profile Champion 2,896 posts since
May 26, 2008
Yes, it should, but does not. Maybe some developer decided that network card change is relatively rare event so there is no need to check MACs on boot.

---
VMware vExpert '2009
http://blog.vadmin.ru

Re: Odd MAC address confusion...

9. Mar 20, 2009 5:54 AM in response to: ScottChapman
Click to view Anton V Zhbankov's profile Champion 2,896 posts since
May 26, 2008
I suppose, Service Request is already created and some time will be a fix for this.

---
VMware vExpert '2009
http://blog.vadmin.ru

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities