在 Azure Stack Hub 中管理网络资源Manage network resources in Azure Stack Hub

MAC 地址池MAC address pool

Azure Stack Hub 使用静态 MAC 地址池自动生成 MAC 地址并将其分配给虚拟机 (VM)。Azure Stack Hub uses a static MAC address pool to automatically generate and assign MAC address to virtual machines (VMs). 此 MAC 地址池是在部署过程中自动生成的,并使用以下范围:This MAC address pool is automatically generated during deployment and uses the following range:

  • StartMacAddress:00-1D-D8-B7-00-00StartMacAddress: 00-1D-D8-B7-00-00
  • EndMacAddress:00-1D-D8-F4-FF-FFEndMacAddress: 00-1D-D8-F4-FF-FF

备注

此 MAC 地址池在每个 Azure Stack Hub 系统中都是相同的,并且是不可配置的。This MAC address pool is the same across each Azure Stack Hub system and is not configurable.

你可能会遇到 VM 的 MAC 地址重复的情况,具体取决于虚拟网络如何与现有公司网络进行连接。Depending on how the virtual networks connect with existing corporate networks, you may expect duplicated MAC addresses of VMs.

使用 Azure Stack Hub 管理员 PowerShell 模块中的 cmdlet Get-AzsMacAddressPool 可以找到有关 MAC 地址池利用率的详细信息。More information can be found about MAC address pool utilization using the cmdlet Get-AzsMacAddressPool in the Azure Stack Hub administrator PowerShell module.

查看 Azure Stack Hub 中的公共 IP 地址使用情况View public IP address consumption in Azure Stack Hub

云管理员可以查看:As a cloud administrator, you can view:

  • 分配给租户的公共 IP 地址数。The number of public IP addresses that have been allocated to tenants.
  • 仍然可以分配的公共 IP 地址的数目。The number of public IP addresses that are still available for allocation.
  • 已经在该位置分配的公共 IP 地址的百分比。The percentage of public IP addresses that have been allocated in that location.

“公共 IP 池用量”磁贴显示在多个公共 IP 地址池中使用的公共 IP 地址数目。 The Public IP pools usage tile shows the number of public IP addresses consumed across public IP address pools. 对于每个 IP 地址,此磁贴显示租户 IaaS VM 实例、Fabric 基础结构服务以及由租户显式创建的公共 IP 地址资源的用量。For each IP address, the tile shows usage for tenant IaaS VM instances, fabric infrastructure services, and public IP address resources that were explicitly created by tenants.

此磁贴的用途是让 Azure Stack Hub 操作员了解此位置中使用的公共 IP 地址数。The purpose of the tile is to give Azure Stack Hub operators a sense of the number of public IP addresses used in this location. 管理员可以通过该数字来确定此资源是否不足。The number helps administrators determine whether they're running low on this resource.

“租户资源”下的“公共 IP 地址”菜单项只列出租户显式创建的公共 IP 地址。 The Public IP addresses menu item under Tenant Resources lists only those public IP addresses that have been explicitly created by tenants. 可以在“资源提供程序” -> “网络”窗格中找到该菜单项。 You can find the menu item on the Resource providers -> Network pane. “公共 IP 池用量”磁贴上的“已用”公共 IP 地址数目始终不同于(大于)“租户资源”下“公共 IP 地址”磁贴上的数目。 The number of Used public IP addresses on the Public IP pools usage tile is always different from (larger than) the number on the Public IP Addresses tile under Tenant Resources.

查看公共 IP 地址用量信息View the public IP address usage information

查看区域中已使用的公共 IP 地址总数:To view the total number of public IP addresses that have been consumed in the region:

  1. 在 Azure Stack Hub 管理员门户中,选择“所有服务”。 In the Azure Stack Hub administrator portal, select All services. 然后,在“管理” 类别下,选择“网络” 。Then, under the ADMINISTRATION category, select Network.

  2. “网络”窗格会在“概览”部分显示“公共 IP 池用量”磁贴。 The Network pane displays the Public IP pools usage tile in the Overview section.

    Azure Stack Hub 管理员门户中的“网络资源提供程序”窗格

“已用”数字代表公共 IP 地址池中已分配的公共 IP 地址数目。 The Used number represents the number of assigned public IP addresses from public IP address pools. “可用”数字代表公共 IP 地址池中尚未分配的仍可使用的公共 IP 地址数目。 The Free number represents the number of public IP addresses from public IP address pools that haven't been assigned and are still available. “已用百分比”数字代表已使用或已分配地址占该位置公共 IP 地址池中公共 IP 地址总数的百分比。 The % Used number represents the number of used or assigned addresses as a percentage of the total number of public IP addresses in public IP address pools in that location.

查看租户订阅创建的公共 IP 地址View the public IP addresses that were created by tenant subscriptions

在“租户资源”下选择“公共 IP 地址”。 Select Public IP addresses under Tenant Resources. 查看特定区域中通过租户订阅显式创建的公共 IP 地址列表。Review the list of public IP addresses explicitly created by tenant subscriptions in a specific region.

Azure Stack Hub 管理员门户中的租户公共 IP 地址

可能会看到,某些动态分配的公共 IP 地址显示在列表中,You might notice that some public IP addresses that have been dynamically allocated appear in the list. 但这些地址没有关联的地址。However, an address hasn't been associated with them yet. 此地址资源已在网络资源提供程序中创建,但尚未在网络控制器中创建。The address resource has been created in the Network Resource Provider, but not yet in the Network Controller.

在将某个地址绑定到接口、网络接口卡 (NIC)、负载均衡器或虚拟网关之前,网络控制器不会将该地址分配给此资源。The Network Controller doesn't assign an address to the resource until it binds to an interface, a network interface card (NIC), a load balancer, or a virtual network gateway. 将公共 IP 地址绑定到接口后,网络控制器会分配一个 IP 地址。When the public IP address binds to an interface, the Network Controller allocates an IP address. 此地址显示在“地址”字段中。 The address appears in the Address field.

查看公共 IP 地址信息摘要表View the public IP address information summary table

在不同情况下,分配的公共 IP 地址决定了要将地址显示在哪个列表中。In different cases, public IP addresses are assigned that determine whether the address appears in one list or another.

公共 IP 地址分配案例Public IP address assignment case 显示在用量摘要中Appears in usage summary 显示在租户公共 IP 地址列表中Appears in tenant public IP addresses list
尚未分配给 NIC 或负载均衡器(暂时性)的动态公共 IP 地址。Dynamic public IP address not yet assigned to an NIC or load balancer (temporary). No Yes
已分配给 NIC 或负载均衡器的动态公共 IP 地址。Dynamic public IP address assigned to an NIC or load balancer. Yes Yes
已分配给租户 NIC 或负载均衡器的静态公共 IP 地址。Static public IP address assigned to a tenant NIC or load balancer. Yes Yes
已分配给结构基础结构服务终结点的静态公共 IP 地址。Static public IP address assigned to a fabric infrastructure service endpoint. Yes No
为 IaaS VM 实例隐式创建的、在虚拟网络上用于出站 NAT 的公共 IP 地址。Public IP address implicitly created for IaaS VM instances and used for outbound NAT on the virtual network. 每当租户创建 VM 实例,使 VM 能够将信息发送到 Internet 时,将在幕后创建这些地址。These are created behind the scenes whenever a tenant creates a VM instance so that VMs can send information out to the Internet. Yes No

后续步骤Next steps

在 Azure Stack Hub 中管理存储帐户Manage Storage Accounts in Azure Stack Hub