VMware Cloud Community
LEM
Contributor
Contributor
Jump to solution

packet tagging with VLAN ID in Esxi 6.

Hi!

I have a questuion about how does vlan tagging works in ESXI.

I have an ESXI v6, which is connected to Cisco router.

On EXSI, i created Virtual Machine port goup for vlan 911, linked it to Vmnic 0 (it is the only active NIC on server). I set vlan ID to 911 value.

Also, i created Virtual machine and assigned its interface to VLAN911 Virtual Machine port goup.  But on the Cisco router, i can see this WM mac address in vlan 1 (untagged, instead of 911 tagged)


So, i have two questions:

1) If i set vlan ID on Virtual Machine port goup, does it mean, that ESXI will add tag to packet that leave VMNIC?

2) If not, how to force ESXI add this tag?


Thanks!

0 Kudos
1 Solution

Accepted Solutions
DavoudTeimouri
Virtuoso
Virtuoso
Jump to solution

First question: Answer = YES

About second question, read these KB to find solution for your issue:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10042...

Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/

View solution in original post

0 Kudos
2 Replies
DavoudTeimouri
Virtuoso
Virtuoso
Jump to solution

First question: Answer = YES

About second question, read these KB to find solution for your issue:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=10042...

Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074) | VMware KB

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
0 Kudos
LEM
Contributor
Contributor
Jump to solution

Thank you for help and useful article.

I also found a mistake in switch configuration.

0 Kudos