NIC 小組 MAC 位址使用與管理NIC Teaming MAC Address Use and Management

適用於:Windows Server 2016Applies To: Windows Server 2016

當您切換獨立模式和地址 hash 或動態負載 distribution 設定 NIC 團隊時,小組使用媒體存取控制 (MAC) 位址輸出流量的主要 NIC 小組成員。When you configure a NIC Team with switch independent mode and either address hash or dynamic load distribution, the team uses the media access control (MAC) address of the primary NIC Team member on outbound traffic. 主要 NIC 小組成員是作業系統小組成員的初始設定中選取 [網路介面卡。The primary NIC Team member is a network adapter selected by the operating system from the initial set of team members.

主要的小組成員是您建立或重新啟動主機電腦之後,繫結至小組的第一個小組成員。The primary team member is the first team member to bind to the team after you create it or after the host computer is restarted. 主要的小組成員可能會變更,每個開機不確定的方式,因為 NIC 停用日讓重要訊息或其他重新設定活動,主要小組成員可能會變更,以及小組的 MAC 位址可能有所不同。Because the primary team member might change in a non-deterministic manner at each boot, NIC disable/enable action, or other reconfiguration activities, the primary team member might change, and the MAC address of the team might vary.

這不會通常會造成問題,但有可能會發生問題的一些案例。In most situations this doesn't cause problems, but there are a few cases where issues might arise.

如果主要小組成員小組中移除,且再放入作業可能有的 MAC 位址衝突。If the primary team member is removed from the team and then placed into operation there may be a MAC address conflict. 透過這個衝突身分查驗,停用以及然後小組介面。To resolve this conflict, disable and then enable the team interface. 停用,然後就小組介面的程序,會導致介面的剩餘的小組成員,藉此免除 MAC 位址衝突選取新的 MAC 位址。The process of disabling and then enabling the team interface causes the interface to select a new MAC address from the remaining team members, thereby eliminating the MAC address conflict.

您可以設定 NIC 小組的 MAC 位址特定的 MAC 位址設定中的主要小組介面,就像您可以執行時設定的任何實體 NIC 的 MAC 位址You can set the MAC address of the NIC team to a specific MAC address by setting it in the primary team interface, just as you can do when configuring the MAC address of any physical NIC.

在傳送封包使用的 MAC 位址MAC address use on transmitted packets

當您切換獨立模式和地址 hash 或動態負載 distribution 設定 NIC 團隊時,同時跨多個小組成員散發(例如單一 VM) 的單一來源的封包。When you configure a NIC Team in switch independent mode and either address hash or dynamic load distribution, the packets from a single source (such as a single VM) is simultaneously distributed across multiple team members. 若要防止取得混淆參數,以避免 MAC 拍打鬧鐘來源的 MAC 位址會取代不同的 MAC 位址,在畫面上的主要小組成員以外的小組成員傳輸。To prevent the switches from getting confused and to prevent MAC flapping alarms, the source MAC address is replaced with a different MAC address on the frames transmitted on team members other than the primary team member. 因此,每個小組成員使用不同的 MAC 位址,並 MAC 位址衝突,除非失敗之前,將無法。Because of this, each team member uses a different MAC address, and MAC address conflicts are prevented unless and until failure occurs.

主要而偵測到失敗時,從開始 NIC 小組軟體小組成員,選擇要做為主要暫時的小組成員(亦即,做為主要小組成員開關切換至現在將會出現一個)上使用主要小組成員的 MAC 地址。When a failure is detected on the primary NIC, the NIC Teaming software starts using the primary team member's MAC address on the team member that is chosen to serve as the temporary primary team member (i.e., the one that will now appear to the switch as the primary team member). 此變更僅適用於已主要小組成員主要小組成員的 MAC 地址做為來源的 MAC 位址移至 [傳送的資料傳輸。This change only applies to traffic that was going to be sent on the primary team member with the primary team member's MAC address as its source MAC address. 其他資料傳輸持續會傳送具有 MAC 位址,其已經使用失敗之前任何來源。Other traffic continues to be sent with whatever source MAC address it would have used prior to the failure.

以下是清單描述 NIC 小組的 MAC 位址更換行為,根據小組的設定方式:Following are lists that describe NIC Teaming MAC address replacement behavior, based on how the team is configured:

  1. 地址 Hash distribution 的獨立切換模式In Switch Independent mode with Address Hash distribution

    • 所有 ARP 和奈秒封包都傳送主要小組成員All ARP and NS packets are sent on the primary team member

    • 傳送 Nic 上主要小組成員以外的所有流量都傳送修改,以符合的而會都傳送來源 MAC 位址All traffic sent on NICs other than the primary team member are sent with the source MAC address modified to match the NIC on which they are sent

    • 所有主要小組成員上傳傳送與原始來源 MAC 地址(這可能是小組的來源的 MAC 位址)All traffic sent on the primary team member is sent with the original source MAC address (which may be the team's source MAC address)

  2. 使用 HYPER-V 連接埠 distribution 獨立切換模式In Switch Independent mode with Hyper-V Port distribution

    • 每個 vmSwitch 連接埠被 affinitized 小組成員Every vmSwitch port is affinitized to a team member

    • 每個封包傳送的連接埠 affinitized 小組成員Every packet is sent on the team member to which the port is affinitized

    • 不完成 MAC 取代任何來源No source MAC replacement is done

  3. 動態通訊的獨立切換模式In Switch Independent mode with Dynamic distribution

    • 每個 vmSwitch 連接埠被 affinitized 小組成員Every vmSwitch port is affinitized to a team member

    • 所有 ARP 日奈秒封包都傳送的連接埠 affinitized 小組成員All ARP/NS packets are sent on the team member to which the port is affinitized

    • 傳送 affinitized 的小組成員的小組成員封包已完成的 MAC 位址更換不來源Packets sent on the team member that is the affinitized team member have no source MAC address replacement done

    • 傳送 affinitized 的小組成員以外的小組成員封包會有來源 MAC 位址更換完成Packets sent on a team member other than the affinitized team member will have source MAC address replacement done

  4. 切換相關模式(所有散發)In Switch Dependent mode (all distributions)

    • MAC 位址更換來源不被執行No source MAC address replacement is performed

也了See Also

建立新的 NIC 團隊主機電腦上 VMCreate a New NIC Team on a Host Computer or VM
NIC 小組NIC Teaming