As we already explained in our "VMware ESXi 6.7 - Add a VMkernel interface" tutorial, VMkernel adapters (or "VMkernel interfaces") allow your VMware ESXi hosts to communicate with each other and handle different types of traffic network (management, vMotion, ...).
For detailed explanations regarding these VMkernel adapters, refer to the tutorial cited above.
In this tutorial, we will only show you how to create a new VMkernel adapter for vMotion (this is a common example) from the VMware vSphere Client of your VMware vCenter Server (VCSA).
In the VMware vSphere Client of your VMware vCenter Server (VCSA), select one of your VMware ESXi hosts and go to: Configure -> Networking -> VMkernel adapters.
As you can see, by default, your VMware ESXi host has a VMkernel adapter (VMkernel interface) "vmk0", whose associated IP address is the one you use to manage your VMware ESXi host via SSH or via its web interface.
If you select this VMkernel adapter "vmk0", you will see that the service activated on it is "Management".
If you go to "Configure -> Networking -> Virtual switches", you will see that your VMware ESXi host has by default a standard virtual switch "vSwitch0" with:
Important : a switch where you want to add a VMkernel port (VMkernel adapter) must always have at least one physical adapter.
Indeed, VMkernel adapters allow your hosts to communicate with each other via the physical network.
Additionally, you must create a new port group to add a VMkernel port (VMkernel adapter) to a virtual switch.
To add a VMkernel adapter (VMkernel port) from the VMware vSphere Client, simply go to "Configure -> Networking -> Virtual switches" and click on "Add Networking".
Note: on VMware vCenter Server (VCSA), you can create a VMkernel adapter and all the network components required for it in a single wizard.
Unlike the web client of your VMware ESXi host where you must create the different components separately.
In the "[VMware ESXi host name] - Add Networking" wizard that appears, select "VMkernel Network Adapter".
As the wizard tells you, creating a VMkernel network adapter allows you to manage traffic for ESXi services: migration of VMs via vSphere vMotion, host management, ...
Following VMware best practices, it is recommended to separate network traffic from different ESXi services by creating a new virtual switch for each VMkernel adapter.
To do this, select "New standard switch".
By default, the MTU is 1500 bytes. Which defines the maximum amount of data that can be sent in a single network packet.
To use Jumbo frames, you will need to specify a value greater than 1500.
As explained previously, when you want to create a VMkernel adapter on a virtual switch, it is necessary that it has at least one physical adapter.
Otherwise, your VMware ESXi hosts would not be able to communicate with each other via your physical network.
To add a physical adapter to your new standard switch, click the "+" icon.
Select the desired physical adapter and click OK.
Note: to learn more about the information displayed here, refer to our tutorial: VMware vSphere 6.7 - Create a new virtual network.
In our case, we added 2 physical adapters for fault tolerance reasons.
But, it will also work with a single physical adapter.
In the "Port properties" step, you can configure:
Source : VMkernel Networking Layer.
For this tutorial, we chose to use the vMotion service.
So, we select the "vMotion" TCP/IP stack to separate vMotion traffic from the rest of the network traffic on our VMware ESXi host.
Note that when you select the "vMotion" TCP/IP stack, all boxes in the "Enabled services" section are automatically grayed out and the "vMotion" box is automatically checked.
For IPv4 settings, select "Use static IPv4 settings" to be able to manually set a static IP address for this VMkernel adapter.
A summary of the configured network configuration appears.
Click Finish.
Your new virtual switch appears with:
VMware 10/21/2022
VMware 8/10/2022
VMware 5/22/2024
VMware 10/2/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment