gciscol
Enthusiast
Enthusiast

Cannot see Port-group created

Jump to solution

Hi Please see the below picture. I try to configure a server interface to add ip address at the adapter. The Port-group is configured, but we cannot see it at Network Adapter. Anyone can tell what happen there? Before the issue, I made some change on Virtual switch or port-group. Do not know if we can get it back. Now the old Port-group and new created port-group cannot be seen there. Thank you!

 

gciscol_0-1621993305919.png

 

0 Kudos
2 Solutions

Accepted Solutions
NathanosBlightc
Commander
Commander

Run the following esxcli commands to create a new vSwitch and a new port group (second line)

v1.jpg

Then check the VM connectivity again and give us the response:

v3.jpgv2.jpg

 

Please mark my comment as the Correct Answer if this solution resolved your problem

View solution in original post

Tags (1)
0 Kudos
scott28tt
VMware Employee
VMware Employee

The vSphere documentation?

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-0BBDC715-2F93-4...

You don’t need a separate port group for each VM though, not unless they have their own individual VLAN or policy requirements.

 

View solution in original post

0 Kudos
13 Replies
scott28tt
VMware Employee
VMware Employee

I guess that you have added VMkernel ports to your port groups. As soon as you do that, the port group is no longer available for VMs to connect to - each port group is either for the VMkernel or VMs, not both.

If I’m right, you are not the first person to make that mistake, it comes up often here...

 

0 Kudos
gciscol
Enthusiast
Enthusiast

Thank you scott28tt for your reply! I created a new port-group, but it still cannot work.

Here is step: Add standard virtual switch ------> choose vmnic at Uplink ---->click on Add----> Add port group -----> choose virtual switch created ----> go to Add VMkernel NIC -----> choose port group created ------> click on Create.

Do you think if the nic system has a problem? Please the below screenshot where i am create a new VM, but there is nothing that can be chosen when click on GigabiEthernet1

gciscol_0-1622074853777.png

Are these steps correct? 

 

Also, When i go to VM of windows server in this host, I can see the below interface status. Looks like these interfaces is disconnected. Do not know how to connect it or fix it

gciscol_0-1622076748242.png

 

0 Kudos
scott28tt
VMware Employee
VMware Employee

You added a VMkernel NIC, you shouldn’t have done that, the second you did that the port group was no longer for VM connections.

 

0 Kudos
gciscol
Enthusiast
Enthusiast

A lot VMs in this host. How can we fix the issue? Thank you!

0 Kudos
scott28tt
VMware Employee
VMware Employee

Post a screenshot of your vSwitch, the graphical view that shows port groups to the left and uplinks to the right.

 

0 Kudos
gciscol
Enthusiast
Enthusiast

Please see the below screenshot, thank you

 

gciscol_0-1622256407584.png

 

0 Kudos
NathanosBlightc
Commander
Commander

Run the following esxcli commands to create a new vSwitch and a new port group (second line)

v1.jpg

Then check the VM connectivity again and give us the response:

v3.jpgv2.jpg

 

Please mark my comment as the Correct Answer if this solution resolved your problem

View solution in original post

Tags (1)
0 Kudos
gciscol
Enthusiast
Enthusiast

Great! I can only see the "test" port-group  by these two commands, but do not know why i cannot see port-group that i created by gui.

and do I have to create VMkernel NIC?

 

gciscol_1-1622297472921.png

 

0 Kudos
scott28tt
VMware Employee
VMware Employee

Because you added a VMkernel port to those other port groups, as I’ve suggested multiple times.

Perhaps do some research on why you WOULD need a VMkernel port (eg. Host management, HA, vMotion) - if you don’t need to do any of those things via that uplink of the vSwitch you don’t need a VMkernel port on the port groups of that vSwitch.

 

0 Kudos
gciscol
Enthusiast
Enthusiast

Thank you scott28tt. I didnt understand it at that time.  There are a lot documents in internet, and I am always trying to find a document to show how to setup these ports formally for each VM, but I have not found a good one. If you have, i appreciate your help

 

0 Kudos
scott28tt
VMware Employee
VMware Employee

The vSphere documentation?

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.networking.doc/GUID-0BBDC715-2F93-4...

You don’t need a separate port group for each VM though, not unless they have their own individual VLAN or policy requirements.

 

View solution in original post

0 Kudos
gciscol
Enthusiast
Enthusiast

Thank you scott28tt and NathanosBlightc!!

0 Kudos
NathanosBlightc
Commander
Commander

Simply if you want to know, you need the VMkernel portgroup for the ESXi host management purposes, not for handling the virtual machine's traffic. So whenever you create the VMkernel type of portgroup, you can't see that in the VM networking settings. BTW as Scott suggested, I strongly recommend to you read the official documents carefully too ...

 

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