VMware Cloud Community
vmb01
Enthusiast
Enthusiast

dsvitch port id

In the dvPortGroup advanced settings window, I specify a the portname format as <portgroupName><portIndex>

After, on the VM edit settings window I wish to connect the VM network adatpter to a specific port but when I click on network connection/specify port I do not see any Port ID listed.

How can I connect a VM (or a vmkernel ) to a specific port ?

Thanks in advance, any answer will be apreciated.

Reply
0 Kudos
5 Replies
vecozo_beheer
Contributor
Contributor

We have that same question.

Is it possible to select an individual port on a distributed portgroup ?

No port number can be typed or selected.

regards,

Sebastian

Reply
0 Kudos
HenrikElm
Contributor
Contributor

Noone seem to have the answer to this. Most disturbing.

Why implement GUI features that are not covered in the help file for the screen in question NOR cover it in any documentation?

/Henrik

Reply
0 Kudos
admin
Immortal
Immortal

Specifying a port when connecting a VM to a dvPortgroup is not currently supported (vCenter server picks a free port from within the port group). By definition, a port group is a collection of ports which share the exact same configuration. So, I am not sure about the use case where a port needs to be specified?

Specific details on the use case would be helpful, thanks!

Regards,

Nimish

Reply
0 Kudos
HenrikElm
Contributor
Contributor

1) Please don't include functionality in the GUI that can't be used. It is only confusing people.

2) I guess it could be useful as you in a dvSwitch may specify separate settings for a port diverging from the port group. You would want to be able to make sure that a VM always hits that same port?

/Henrik

Reply
0 Kudos
admin
Immortal
Immortal

1) The"Specify port" section in VM Edit settings is meant to assign a vm to a standalone port. A Standalone port is a port which is not tied to any port group but instead just to a dvs. We do not allow creation of standalone ports from GUI, but it is possible through sdk (reason being we consider use of standalone ports as an advanced use case). So if there are standalone ports in a dvs, then the specify ports section will enlist all the ports and it is possible to connect a VM to it.

Having said that, I do agree it is confusing, since standalone ports cannot be created in the GUI, its assignment should also be left out of GUI (something we might do in a future release)

2) If you have a port with very specific settings then it could be addressed by creating a standalone port for the same. For VM-port stickiness, if you connect a VM to a static-binding port group, then the port will remain associated to the VM across power cycles. Hope that answers your question.

Reply
0 Kudos