Promiscuous Mode – Why Enable It?

Securityvirtualizationvmware-vcentervmware-vspherevswitch

I'm currently using an environment lab for testing ESXi so I run nested ESX(two ESX are installed on ESX)

The problem is I was trying to install vCenter on both of my lab ESX and at the end of stage 1 of deploying vCenter, I got an error that says :

The installer is unable to connect to vcenter server management interface

After this, although it says I can start stage 2 with the port 5480 of the IP address that I entered, I couldn't connect or even ping the Center!

The interesting part is after a long time of research and trying so many ways, I couldn't still connect to Center, I've tried different versions of VCenter and ESX but the problem still existed.

So I check the Vswitch settings of my main ESX and after I enabled promiscuous mode for one of the main ESX Vswitch, the problem was solved!!

Can anyone explain why?!
what am I missing?

Best Answer

A vSwitch is different from a pSwitch in that it knows which MAC addresses are allowed to attach - MAC addresses that are spoofed by a guest or trying to use promicuous mode on the vNIC for packet capturing simply don't work.

In your case, the inner ESXi hands out MAC addresses to its guests on its own. The outer ESXi needs to allow promiscuous mode for the ESXi VM's vSwitch/port group for that to work.

In a nutshell, promiscuous mode allows a VM to use arbitrary MAC addresses and to listen to all traffic on the vSwitch (still depending on VLAN ID).

Related Topic