VMware Cloud Community
nimicyy
Contributor
Contributor

vlan or 2 vmnic

hi,

i have on host vsw1 with vmkernel and monitor traffic and vsw2 with i/o data traffic.

when i create a VM in order that this VM to be used by vmotion and to be monitored is necessary,if i use an vmnic then i must setup 2 vlans on this vmnic(inside VM)-one for monitor and one for traffic data?

Reply
0 Kudos
4 Replies
T180985
Expert
Expert

Create 2 seperate port groups/vlans, one of VM traffic and one for vMotion traffic. The vMotion vmk will use the vMotion portgroup

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
Reply
0 Kudos
NathanosBlightc
Commander
Commander

No need to separate the vSwitches always, just create two different port groups. Although if you need to set up the physical uplinks (vmnic) in the separate VLANs on the physical network, you may need to create that two port groups (VMK & VM I/O) in the different vSwitches.

Please mark my comment as the Correct Answer if this solution resolved your problem
Reply
0 Kudos
nimicyy
Contributor
Contributor

so there is no need to add inside VM  2 vmnics or create vlan on a vmnic.

Reply
0 Kudos
T180985
Expert
Expert

You have asked this question previously... No you do not need to add 2 vmnics to a VM for it to be able to vMotion.

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums
Reply
0 Kudos