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

NIC Teaming configuration of windows2012

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

Share

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

NIC grouping, also known as load balancing and failover (LBFO), allows multiple network adapters on a computer to be placed in a team for the following purposes:

Bandwidth aggregation

Perform communication failover to prevent loss of connectivity in the event of a network component failure

In earlier versions of Windows, the functionality of NIC Teaming was achieved through third-party solutions, such as HP,Intel or Dell. This situation will bring two problems: 1. The solution provided by each supplier is based on its own hardware and does not support the hardware of other suppliers. If there is a connection error on a network configured with Teaming, you need to find a third-party vendor to solve the problem, Microsoft can not provide the corresponding support. In past projects, there have been network connection failures caused by the use of Intel Teaming technology. After looking for the cause, we found that it was the problem of Teaming, and then uninstalled the driver to solve the problem. Using multiple network cards not only did not provide high availability, but conflicts with Microsoft products, resulting in unavailability of the application.

In the new version of Windows Server 2012 R2, Microsoft offers a Teaming solution integrated into the operating system.

First of all, there are three NIC Teaming modes for Windows Server 2012:

Static grouping (Static Teaming) this is a combination method that depends on the switch (Switch-dependent), which requires the support of the switch, and the member network cards cannot be distributed to different switches.

Switch independence: the combination of network cards does not require the participation of switches, so that network cards can be connected to different switches and are highly available from the switch level. This combination method is suitable for switches that do not support network card combination, and Windows Server 2012 will complete the corresponding processing work.

LACP: similar to static grouping, you need to enable LACP in the switch first, which will merge multiple network cards into a logical line. This combination is the fastest.

In addition to the mode of ENI grouping, you also need to configure Teaming for load balancing. There are also three modes:

Address hashing (Address Hash): when this method is enabled, when the packet arrives at Teaming, the hashing algorithm is performed according to the destination address information (MAC address, IP address and port number). Through the result of the algorithm, NIC Team determines which physical Nic will send the packet. This method cannot control the direction of the traffic, and if a large amount of data is directed to a destination address, it will only be sent through a physical network card.

Hyper-V port: as the name suggests, the mode used for Hyper-V is more efficient than uncontrollable address hashing, and data is transferred through different physical NICs that are bound to virtual network cards, and this binding is based on each virtual network card, not each virtual machine. If you are using a Hyper-V external virtual switch, it is recommended that you choose this method.

Dynamic: this is a new and optimized way introduced in Windows Server 2012 R2, where data is equally distributed to all member network cards to maximize the use of bandwidth.

The way to create a windows2012 NIC Teaming is simple. Here's an example:

1. First, you need to enable NIC

2. Use the Get-NetAdapter command (there is no such command in 2008) to know the MAC information of the network card, and then check the size of the last number of the mac address to determine the binding of the two cards, such as 30 and 20 bindings, and 1C and 2C bindings

3. Select the new group in the group task (select static grouping and address hash), or select the corresponding network card from the available network card on the right, and then right-click to join the new group. After setting the appropriate name for the group and selecting the mode, the NIC Teaming can be established successfully. In addition, if the mode chooses that the switch is independent, then the aggregation time will be slightly longer and you will need to wait patiently.

4. Finally, check the configuration results.

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