配置 IP 地址Configure the IP address

在创建统一消息 (UM) IP 网关之前,您必须先在所用的 VoIP 网关、IP PBX 或会话边界控制器 (SBC) 上设置 IP 地址或完全限定域名 (FQDN)。随后在创建 UM IP 网关时,设置 IP 地址或 FQDN。可以在以后更改 IP 地址或 FQDN。Before you create a Unified Messaging (UM) IP gateway, you must first set the IP address or the fully qualified domain name (FQDN) on the VoIP gateway, IP PBX, or session border controller (SBC) that you're using. Then, when you create the UM IP gateway, you set the IP address or FQDN. You can change the IP address or FQDN later.

您可以配置的 IP 地址或 FQDN 使用 EAC 或命令行管理程序。在 EAC 中,在UM IP 网关页上的地址框中可以接受 IPv4 的 IP 地址、 IPv6 地址或 FQDN。您还可以在命令行管理程序中的Set-umipgateway cmdlet 上使用_Address_参数设置 IPv4 的 IP 地址、 IPv6 地址或 FQDN。如果您创建 UM IP 网关使用 FQDN,则必须在 DNS 正向查找区域中创建相应的主机 A 记录。如果更改 UM IP 网关的 DNS 配置,您必须禁用,然后再启用的 UM IP 网关,以确保正确更新为其配置信息。You can configure the IP address or FQDN using either the EAC or the Shell. In the EAC, the Address box on the UM IP gateway page can accept an IPv4 IP address, an IPv6 address, or an FQDN. You can also use the Address parameter on the Set-UMIPGateway cmdlet in the Shell to set an IPv4 IP address, an IPv6 address, or an FQDN. If you create a UM IP gateway using an FQDN, you must create the appropriate HOST A records in your DNS forward lookup zone. If the DNS configuration for the UM IP gateway is changed, you must disable and then enable the UM IP gateway to make sure that its configuration information is updated correctly.

有关 UM IP 网关的更多管理任务,请参阅UM IP 网关过程For additional management tasks related to UM IP gateways, see UM IP gateway procedures.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:2 分钟。Estimated time to complete: 2 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Messaging Permissions主题中的"UM IP 网关"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM IP gateways" entry in the Unified Messaging Permissions topic.

  • 在执行这些步骤之前,先确认已创建 UM 拨号计划。有关详细步骤,请参阅创建 UM 拨号计划Before you perform these procedures, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • 在执行这些步骤之前,请确认已创建 UM IP 网关。有关详细步骤,请参阅创建 UM IP 网关Before you perform these procedures, confirm that a UM IP gateway has been created. For detailed steps, see Create a UM IP gateway.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online Protection。.Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection..

您想执行什么操作?What do you want to do?

使用 EAC 在 UM IP 网关上配置 IP 地址Use the EAC to configure the IP address on a UM IP gateway

  1. 在 EAC 中,导航到统一消息 > UM IP 网关,选择您想要修改的 UM IP 网关,然后单击编辑编辑图标In the EAC, navigate to Unified Messaging > UM IP Gateways, select the UM IP gateway that you want to modify, and then click EditEdit icon.

  2. UM IP 网关页中,地址框中,VoIP 网关、 IP PBX 或会话边界控制器 (SBC) 中输入的 IP 地址。On the UM IP gateway page, in the Address box, enter the IP address for the VoIP gateway, IP PBX, or session border controller (SBC).

  3. 单击"保存"以保存更改。Click Save to save your changes.

重要

如果在 UM IP 网关上使用 FQDN 而不是 IP 地址,请验证已创建正确的 DNS 记录。If you use an FQDN instead of an IP address on the UM IP gateway, verify that the correct DNS records have been created.

使用命令行管理程序在 UM IP 网关上配置 IP 地址Use the Shell to configure the IP address on a UM IP gateway

此示例使用 IP 地址 10.10.10.1 配置名为 MyUMIPGateway 的 UM IP 网关。This example configures a UM IP gateway named MyUMIPGateway with an IP address of 10.10.10.1.

Set-UMIPGateway -Identity MyUMIPGateway -Address 10.10.10.1

此示例使用 IP 地址 10.10.10.10 配置名为 MyUMIPGateway 的 UM IP 网关,并侦听 TCP 端口 5061 上的 SIP 请求。This example configures a UM IP gateway named MyUMIPGateway with an IP address of 10.10.10.10 and listens for SIP requests on TCP port 5061.

Set-UMIPGateway -Identity MyUMIPGateway -Address 10.10.10.10 -Port 5061

此示例可防止名为 MyUMIPGateway 的 UM IP 网关接受传入和传出呼叫,设置 IPv6 地址,并允许 UM IP 网关使用 IPv4 和 IPV6 地址。This example prevents the UM IP gateway named MyUMIPGateway from accepting incoming and outgoing calls, sets an IPv6 address, and allows the UM IP gateway to use IPv4 and IPV6 addresses.

Set-UMIPGateway -Identity MyUMIPGateway -Address fe80::39bd:88f7:6969:d223%11 -IPAddressFamily Any -Status Disabled -OutcallsAllowed $false