vSphere Standard Switch is created for the networking purpose . A standard switch enables the linking between the virtual machines and also links to external networks. we can use standard switches in combining the bandwidth of multiple network adapters and balance the huge traffic between them.
When ever two or more virtual machines are connected to the same standard switch, network traffic between them is routed locally. If an adapter is attached to the standard switch , every virtual machine can access to the external network by the adapters that are connected .
if the VM Kernal is connected to the physical switch it enables in communicating with outside world. VMkernel needs the IP address in connecting physical switch.
this VMKernel helps the layer 2 & 3 services to the vSphere host. VM machines communicates with the VMkernel port in order to communicate with the exterior world because they directly can not make the connection with the physical switch.
if we consider a vm group it also consists of a port group for each vlan and also presents a subnet to the virtual machines ,it makes the policies to configure on the vswitch for group containing the ports
In this lab we are going to
1)View the current Standard switch configuration
2)Create a standard switch with a Virtual Machine Port group
3)Attach Virtual Machine to a New Virtual Machine port group.
log in as root with the password in to the vsphere web client

Go to the vCenter then to Hosts and Clusters then to Lab Servers then to ESXi host1
click ‘Manage‘ and Select ‘Networking’. In this screen, we can see the virtual switch ‘vSwitch0’. This vSwitch0 is in connection with the to the physical adapter ‘vmnic0’.

vmnic0 contains a VMkernel port management network. . here there is ,no virtual machine is connected to VM network. we can even Check the status it states Virtual Machines are zero
network traffic is handeled by the Standard switch in the host level in a vSphere environment. It enables the ESXi host in connecting directly with various other Virtual Machines
it not that important that they are in the same host or in the different host
vmkernal uses it for accessing the iSCSI and NAS storages
now we are configuring a switch
Go to the Manage then to Networking then to Add host Networking icon as shown below

clickconnection type ‘Virtual Machine Port Group for a Standard Switch’. then click on the option ‘Next’

Select ‘New Standard Switch’ and Click ‘Next’

Now we have to create a Standard Switch. click on the + under Assigned Adapters.

here we have to add the physical adapters that are in active state. These are vmnic Cards these connects the virtual machines to connected in the network


once the configuration has completed click on the finish

here in this step check whether the production setting port group is there or not in the networking structure
it can be confirmed by seeing the ‘vswitch1’

Error:
here when adding the adapters it was not added because of the lack , i went to the esxi host and i added it then everything went well

critical analysis:
this lab is about creating a new virtual switch for the virtual , virtual machines that are run on the client device.
the virtual virtual client machine is connected by the help of these vmnic switches adapters