VMware Cloud Community
Duketensaider
Contributor
Contributor

vNics show diferents VLANs

Hi.

I was asked to create a new VDS for out DMZ network using different VLANS

So the environment has 4 vNics per host  0 and 1 are used for Production Network (vSwitch) and 2 and 3 were not used, so I create the VDS with those vNics and add the VDS to the 4 hosts.

At first only one range IP was showed by the physical nics 9.x.x.x

Then a few days ago, we create a few VMs that needs to be working on VLAN100 , so we add the VMs to the virtual port VLAN100.

As expected the VMs did not have any connection with the network of the VLAN 100 (10.x.x.x). Then from the switch, the guy who manage it enable all vlan traffic for all ports, and only a few VLANs start appearing on the physical nics but not the same for all the vnics and not the ones that we need.

Here the VLAN per nic.

Host:  001

vmnic0    VLAN105 VLAN118 VLAN103

vmnic1    VLAN100 VLAN108

vmnic2    VLAN105 VLAN118 VLAN103

vmnic3   VLAN100  VLAN108

Host:  002

vmnic0    VLAN105 VLAN118 VLAN103

vmnic1    VLAN100 VLAN108

vmnic8    VLAN105 VLAN118 VLAN103

vmnic9   VLAN100  VLAN108

Host:  003

vmnic0    VLAN105 VLAN118 VLAN103

vmnic1    VLAN100 VLAN108

vmnic2    VLAN105 VLAN118 VLAN103

vmnic3   VLAN100  VLAN108

Host:  004

vmnic0    VLAN105 VLAN118 VLAN103

vmnic1    VLAN100 VLAN108

vmnic2    VLAN105 VLAN118 VLAN103

vmnic3    VLAN100 VLAN108

I don't know if I need to do anything else from vmware side. The environment is in a Pureflex system and the vswitch only see 1 mac address of each ESX but it see all VMs Mac address.

ESXI 6.0 and VC 6.5

Tags (2)
0 Kudos
1 Reply
bayupw
Leadership
Leadership

Please note that the Observed IP ranges are populated by CDP so it may show none or incorrect range if there is no traffic going through that vmnic (physical NIC).

Observed IP range does not show network in ESX or ESXi (1006744) | VMware KB

vSphere5: Setting the Observed IP Range | SOSTech

I would suggest to use CDP or LLDP (depend on your physical switch) to double check and make sure all the vmnics are connected to correct physical ports.

If you are using vDS, you can also use vDS Health Check to verify if the VLANs on the physical switch ports matches the vDS Enabling vSphere Distributed Switch health check in the vSphere Web Client (2032878) | VMware KB

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos