Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of ESXi Network configuration

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

If we want to manage the ESXi host network, we must understand some of the most basic concepts:

ESXi Network Overview:

Physical network: a physical network is a network established to enable normal communication between physical servers. Virtual network is based on physical network. Without physical network, there is no need for virtual network to exist.

Virtual network: a network formed by logical connections between virtual machines running on ESXi hosts in order to communicate with each other.

ESXi network components:

Physical network card: the first block of the vmnic,ESXi kernel is called vmnic0, the second block is called vmnic1, and so on.

Virtual network card: referred to as VNIC, each virtual machine can have multiple virtual network cards, which can be used to connect virtual switches to ensure normal communication between each other.

Virtual switch, referred to as VSwitch, is provided by the ESXi kernel to ensure communication between virtual machines and management interfaces, and network connectivity is provided by ports / port groups similar to physical switches.

There are three types of virtual switches:

The standard switch is a simple switch managed separately by each ESXi host. The standard switch is easy to operate, but each configuration modification has to be repeated on all ESXi hosts, which increases the management cost and resets the network connection state when migrating virtual machines between hosts, making it more difficult to monitor and troubleshoot. As shown in the figure:

Standard switches provide three types of ports / port groups:

Virtual machine port group: used to connect virtual machines on the ESXi to communicate with each other or to connect to external networks (if you do not have access to the vmnic, you can only communicate between individual ESXi).

VMKernel: used for ESXi hosts to provide advanced functions of vSphere through network connections, such as vMotion, storage network, and so on.

NIC Team: used to connect multiple vmnic to the same port / port group at the same time, increase throughput, and provide link redundancy in the event of failure.

Distributed switches: distributed switches are advanced switches that can centrally manage multiple esxi. You only need to configure it in vcenter once.

It can uniformly manage cost, traffic monitoring and control, private vlan and other advanced functions for multiple esxi. As shown in the figure:

Distributed switches provide a distributed port / port group. Members of the distributed port group are ports of vmkernel or nic connected to esxi hosts, and can specify configurations for each port, but the member ports themselves can also change part of the configuration.

The switch provided by the third party: there is no more introduction here, which can be seen literally.

Build a network using a standard switch

Create a new port group on an existing switch

Log in to vcenter using webvclient, click the vcenter- host in the navigation bar

In the configuration of a standard switch, several ESXi hosts have to be configured in this way several times, which is quite troublesome.

Let's test the network by replacing the virtual machine port with the virtual machine

The test was successful!

Create a distributed switch

The test is complete!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report