VMware Cloud Community
Serg01
Enthusiast
Enthusiast
Jump to solution

Multiple VLANs in virtual ESXi (VM)

Hello

I created lab with virtual ESXi installed on VM.

Now i want add second vmk adapter with another network.

What i need to do with VM or physical host for that?

Physical ESXi have multiple portgroups with vlan 1,2,3 with different networks and gateways.

I created new portgroup with VLAN 4095 and assign it to VM with ESX.

Settings vESX, vmk0:

vswitch0

vlan 1

mgmt ip 10.10.1.1

gw 10.10.1.254

Add new vmk1:

vswitch0

vlan 2

ip 10.10.2.1

gw 10.10.2.254

But i cant ping vmk1 from outside.

If i add vmk1 on physical ESXi host - everything works fine. Problem when submitting VLANs to a virtual machine.

Reply
0 Kudos
1 Solution

Accepted Solutions
Serg01
Enthusiast
Enthusiast
Jump to solution

Answer - need turn on (Accept) "Promiscuous Mode" on new portgroup with VLAN 4095.

View solution in original post

Reply
0 Kudos
2 Replies
Serg01
Enthusiast
Enthusiast
Jump to solution

If you open on vESX Physical adapters - vmnic0 - Status, then all networks and VLANS available to the physical host will be visible in the list of networks. Which means that all VLANs trunks are served from a physical host to a virtual machine. But I do not understand why the new vmk1 does not work.

Reply
0 Kudos
Serg01
Enthusiast
Enthusiast
Jump to solution

Answer - need turn on (Accept) "Promiscuous Mode" on new portgroup with VLAN 4095.

Reply
0 Kudos