設定 VMM 光纖中的 MAC 位址集區Set up MAC address pools in the VMM fabric

重要

已不再支援此版本的 Virtual Machine Manager (VMM),建議升級至 VMM 2019This version of Virtual Machine Manager (VMM) has reached the end of support, we recommend you to upgrade to VMM 2019.

本文提供 System Center - Virtual Machine Manager (VMM) 預設 MAC 位址的相關資訊,並說明如何建立及管理自訂 MAC 位址集區。This article provides information about System Center - Virtual Machine Manager (VMM) default MAC addresses, and describes how to create and manage a custom MAC address pool.

VMM 使用靜態 MAC 位址集區自動產生 MAC 位址,並將其指派給 VM。VMM uses static MAC address pools to automatically generate and assign MAC address to VMs. 本文說明 VMM 光纖中的預設 MAC 位址集區,以及說明如何建立自訂集區。This article describes default MAC address pools in the VMM fabric and explains how to create custom pools.

預設 MAC 位址集區設定:Default MAC address pool settings:

MAC 集區名稱MAC pool name 環境Environment 預設範圍Default range
預設 MAC 位址集區Default MAC address pool Hyper-VHyper-V 00:1D:D8:B7:1C:00 - 00:1D:D8:F4:1F:FF00:1D:D8:B7:1C:00 – 00:1D:D8:F4:1F:FF
預設 VMware MAC 位址集區Default VMware MAC address pool ESX/ESXiESX/ESXi 00:50:56:00:00:00 - 00:50:56:3F:FF:FF00:50:56:00:00:00 – 00:50:56:3F:FF:FF

在您開始使用 Intune 之前Before you start

建立自訂 MAC 集區之前,請注意︰Before you create a custom MAC pool note that:

  • 如果想要將其中一個預設集區分成數個較小的自訂集區,則您必須先刪除預設 MAC 位址集區或預設 VMware MAC 位址集區。If you want to divide one of the default pools into smaller custom pools, you must first delete the default MAC address pool or the default VMware MAC address pool. 您必須刪除預設集區,避免重複的 MAC 位址指派。You must delete the default pool to avoid duplicate MAC address assignments.
  • 開始與結束 MAC 位址的前三個八位元必須相同。The first three octets of the beginning and ending MAC address must be the same.
  • 您必須輸入介於 00 到 FF 的有效十六進位值。You must enter a valid hexadecimal values between 00 and FF.
  • 您指定的範圍無法重疊。The ranges that you specify cannot overlap.
  • 位址範圍不得將多點傳送位元設為 1。The address range must not have the multi-cast bit set to 1. 例如,您無法使用以 X1、X3、X5、X7、X9、XB、XD 或 XF 開始的位址,其中 X 為任意值。For example, you cannot use addresses that start with X1, X3, X5, X7, X9, XB, XD, or XF, where X is any value.
  • 若要避免和 Microsoft、VMware 及 Citrix 保留的位址衝突,請勿使用下列首碼:To avoid conflicts with addresses reserved by Microsoft, VMware, and Citrix, do not use the following prefixes:
    • 保留供 Microsoft 使用:00:03:FF、00:0D:3A、00:12:5A、00:15:5D、00:17:FA、00:50:F2、00:1D:D8 (但 00:1D:D8:B7:1C:00 除外 - 保留給 VMM 的 00:1D:D8:F4:1F:FF 範圍)Reserved for Microsoft: 00:03:FF; 00:0D:3A; 00:12:5A; 00:15:5D; 00:17:FA; 00:50:F2; 00:1D:D8 (except for the 00:1D:D8:B7:1C:00 – 00:1D:D8:F4:1F:FF range that is reserved for VMM)
    • 保留供 VMware 使用:00:05:69、00:0C:29、00:1C:14、00:50:56 (但 00:50:56:00:00:00 除外 - 保留為預設 VMware 靜態範圍的 00:50:56:3F:FF:FF 範圍)Reserved for VMware: 00:05:69; 00:0C:29; 00:1C:14; 00:50:56 (except for the 00:50:56:00:00:00 – 00:50:56:3F:FF:FF range that is the reserved as the default VMware static range)

建立自訂集區Create a custom pool

  1. 按一下 [網狀架構] > [網路功能] > [MAC 位址集區] > [首頁] > [顯示] > [網狀架構資源] > [建立] > [建立 MAC 集區] 。Click Fabric > Networking > MAC Address Pools > Home > Show > Fabric Resources > Create > Create MAC Pool.
  2. 在 [建立 MAC 位址集區精靈] > [名稱和主機群組] 中,指定名稱和描述。In Create MAC Address Pool Wizard > Name and Host Group specify a name and description. 在 [主機群組] 中,選取應該使用集區的主機群組。In Host Group select the host groups that should use the pool.
  3. 在 [MAC 位址範圍] 中,指定開始和結束位址。In MAC Address Range specify the start and end addresses.
  4. 檢閱 [摘要] 中的設定,然後按一下 [完成] 。In Summary review the settings and click Finish. 工作顯示為 [已完成] 時,請確認 [MAC 集區] 中的集區。When the job shows as Completed verify pool in MAC Pools.

釋放 IP 位址Release IP addresses

在某些情況下,您可能要從 MAC 集區中移除位址。In some circumstances you might want to remove addresses from the MAC pool. 例如,從 VMM 管理移除在裸機部署期間獲指派 IP 位址的主機時,或 VM 因已從 VMM 外部移除而進入遺失狀態時。For example if a host that was assigned an IP address during bare metal deployment is removed from VMM management, or if a VM goes into a missing state because it was removed outside VMM.

  1. 按一下 [網狀架構] > [網路功能] > [MAC 位址集區] > [首頁] > [顯示] > [網狀架構資源] 。Click Fabric > Networking > MAC Address Pools > Home > Show > Fabric Resources.
  2. 在 [MAC 集區] 中,按一下您想要修改的集區 > [內容] 。In MAC Pools click the pool you want to modify > Properties.
  3. 在 [非使用中位址] 中,選取您想要釋放的位址。In Inactive addresses select the addresses you want to release.

後續步驟Next steps

深入了解建立 IP 位址集區Learn about creating an IP address pool.