Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Create a new virtual network (port group, vSS virtual switch, ...) on VMware vSphere 6.7
  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 16 August 2024 at 11:17 UTC
  • InformatiWeb
  • 1/2

Create a new virtual network (port group, vSS virtual switch, ...) on VMware vSphere 6.7

As you already know, the network of your VMware ESXi hosts is made up of several layers.
If necessary, refer to our article: Understand the basics of network management on VMware ESXi 6.7.

In this tutorial, you will see how to create a new virtual network (in other words: a port group and a standard virtual switch) from the VMware vSphere Client of your VMware vCenter Server (VCSA).

  1. Current network configuration
  2. Add a new virtual network (port group and virtual switch)
  3. Edit a virtual standard switch (vSS)
  4. Edit a port group
  5. Connect a virtual machine to your new port group

1. Current network configuration

If you select one of your VMware ESXi hosts and go to the "Networks" tab, you will see that a "VM Network" virtual network already exists on it.
This virtual network "VM Network" corresponds to the group of ports of the same name automatically created during the installation of your VMware ESXi hypervisor and to which your virtual machines are connected by default.

As you can see, at the moment our VMware ESXi host "esxi1" has 2 physical network cards (physical adapters).
You can see this by selecting your VMware ESXi host, then going to: Configure -> Networking -> Physical Adapters.

If you go to "Configure -> Networking -> Virtual Switches", you will see that by default, your host already has:

  • a virtual switch named vSwitch0
  • a "VM Network" port group which allows your virtual machines to access the network and also the Internet.
    You can also see the name of the virtual machines that are connected to it, even if they are turned off at the moment.
  • a "Management Network" port group that allows you to manage your VMware ESXi host from the network using the VMkernel "vmk0" port configured by default.
  • 2 physical adapters (physical network cards) in our case. But only one by default.
    The second physical adapter that we added to this virtual switch allows for fault tolerance and/or load balancing.

2. Add a new virtual network (port group and virtual switch)

From the VMware vSphere Client, you can easily add a new virtual network by creating a new port group and a new standard virtual switch through a single wizard.

For this tutorial, we added 2 physical network cards to our server.
In the image below, these are the network cards: vmnic2 and vmnic3.

To add a new virtual network from the VMware vSphere Client, go to "Configure -> Networking -> Virtual Switches" and click: Add Networking.

In the "[VMware ESXi host name] - Add Networking" wizard that appears, select "Virtual Machine Port Group for a Standard Switch" and click Next.

When you add networking, you can choose to use an existing standard switch or create a new one.
In this case, we will create our new port group on a new standard switch (vSS) and we will assign our 2 new physical network cards to it in the next step of the wizard.

By default, the MTU (Maximum Transmission Unit) of a standard switch is 1500 bytes.
To be able to use jumbo frames, you will need to specify a value greater than 1500 bytes.

In the "Create a standard switch" step that appears, click on the "+" icon to add a physical network card (physical network adapter) to it.

The list of network adapters (physical network cards) not used on your VMware ESXi host appears.
Select the network adapter you want to add to this standard switch and click OK.

When you select a network adapter, several information about it appear:

  • Adapter: name of the network adapter (physical network card).
    In this case, these are virtualized VMware ESXi hypervisors. Hence the fact that these are "vmxnet3" virtual network cards.
  • Name: name automatically assigned to this by VMware ESXi.
  • Location: PCI address of the network adapter (physical network card).
  • Driver: name of the driver used by VMware ESXi to use your network adapter (physical network card).
  • Status: indicates whether the network cable is plugged in or not.
  • Actual speed, Duplex: actual (theoretical) speed of this network adapter (physical network card), as well as Duplex mode used.
    In the case of this "vmxnet3" network adapter, the theoretical speed is 10 Gbit/s in Full Duplex (therefore: up to 10 Gbit/s sending and receiving simultaneously).
  • Configured speed, Duplex: the speed and mode of configured Duplex.
    By default, the information is the same. However, as you will have understood, you can restrict a network adapter by modifying its configuration from the list of physical adapters of your VMware ESXi host.
  • Networks: information about the IP addressing / subnet mask used for this network adapter.
  • Network I/O Control - Status: indicates whether the use of the "vSphere Network I/O Control" component is authorized or not.
    vSphere Network I/O Control allows you to allocate network bandwidth to mission-critical applications.
  • SR-IOV: SR-IOV stands for "single root I/O virtualization" and allows a physical network adapter (NIC) in this case to appear as multiple virtual network adapters on your VMware ESXi hypervisor.
    This also allows the virtual machine to communicate directly with this device without going through the VMkernel. Which makes it possible to obtain better network performance in this case and therefore reduce latency at this level.
  • Cisco Discovery Protocol (CDP): a network discovery protocol that allows the vSphere administrator and Cisco switch administrator to know which ports are in use and other information, such as: Device ID, expiration time, and software version used.
    However, this information can only be visible to these different administrators if the desired operating mode (listen, announce or both) is selected for the type of Cisco discovery protocol to be used on this vSphere virtual switch.
  • Link Layer Discovery Protocol (LLDP): the goal is very similar to the previous protocol, but this one only concerns vSphere administrators.

To achieve fault tolerance and/or perform load balancing, you can use one or more additional network adapters.
To do this, click on the “+” icon again.

Select the network adapter to add to your new virtual switch and click OK.

The added network adapter appears.
Click Next.

Note: the information located on the right is the same as previously and the tabs simply allow you to filter the display of this information.

At the "Connection settings" step, you can specify:

  • Network label: the name of the virtual network that will appear in the “VMware vSphere Client” client.
    Which corresponds to the name of the port group which will also be visible in the web client of your VMware ESXi hypervisor.
  • VLAN ID: the VLAN ID to use if desired. This makes it possible to isolate several virtual machines by connecting some of them to one VLAN and others to another VLAN.
    The advantage is to be able to isolate the network traffic of these virtual machines by using the same physical network link.
    To not use VLANs, leave the "None (0)" option selected.

A summary of your standard virtual switch and virtual machine port group (or "virtual network") configuration appears.
Click Finish.

Your new virtual switch (in our case: vSwitch1) appears with:

  • the port group you just created.
  • the VLAN ID defined for this port group (if applicable).
  • the list of virtual machines that are connected on this port group.
    For the moment, this list is obviously empty.
  • the physical adapter(s) (physical network adapters) assigned to this standard virtual switch.
    In our case: vmnic2 and vmnic3.

Next page

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Create a new virtual network

    VMware 2/24/2023

    VMware ESXi 6.7 - Create a new virtual network

  • VMware ESXi 6.7 - Use an USB network adapter

    VMware 4/28/2023

    VMware ESXi 6.7 - Use an USB network adapter

  • VMware vSphere 6.7 - Array integration APIs (VAAI)

    VMware 9/27/2024

    VMware vSphere 6.7 - Array integration APIs (VAAI)

  • VMware vSphere 6.7 - Consoles to manage VMs

    VMware 7/10/2024

    VMware vSphere 6.7 - Consoles to manage VMs

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • 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.