为基于位置的路由配置网络设置Configure network settings for Location-Based Routing

如果尚未执行此操作,请阅读基于计划位置的路由,直接路由以查看在为基于位置的路由配置网络设置之前需要执行的其他步骤。If you haven't already done so, read Plan Location-Based Routing for Direct Routing to review other steps you'll need to take before you configure network settings for Location-Based Routing.

本文介绍如何为基于位置的路由配置网络设置。This article describes how to configure network settings for Location-Based Routing. 在组织中部署手机系统直接路由后,下一步是创建和设置网络区域、网络网站和网络子网。After you deploy Phone System Direct Routing in your organization, the next steps are to create and set up network regions, network sites, and network subnets.

定义网络区域Define network regions

网络区域包含网络站点集合,并跨多个地理区域互连网络的各个部分。A network region contains a collection of network sites and interconnects various parts of a network across multiple geographic areas. 有关如何配置网络区域的步骤,请转到管理团队中的云功能的网络拓扑For steps on how to configure network regions, go to Manage your network topology for cloud features in Teams.

定义网络站点Define network sites

网络站点表示您的组织有物理场所的位置,如办公室、一组建筑物或校园。A network site represents a location where your organization has a physical venue, such as an office, a set of buildings, or a campus. 您必须将拓扑中的每个网络站点与网络区域相关联。You must associate each network site in your topology with a network region. 有关如何配置网络网站的步骤,请参阅管理团队中的云功能的网络拓扑For steps on how to configure network sites, see Manage your network topology for cloud features in Teams.

基于位置的路由的最佳做法是为每个具有唯一 PSTN 连接的位置创建单独的网站。A best practice for Location-Based Routing is to create a separate site for each location that has unique PSTN connectivity. 你可以创建为基于位置的路由或未启用基于位置的路由的网站启用的网站。You can create a site that's enabled for Location-Based Routing or a site that's not enabled for Location-Based Routing. 例如,你可能希望创建一个未启用基于位置的路由的网站,以便允许启用了基于位置的路由的用户在漫游到该站点时进行 PSTN 呼叫。For example, you may want to create a site that's not enabled for Location-Based Routing to allow users who are enabled for Location-Based Routing to make PSTN calls when they roam to that site.

定义网络子网Define network subnets

每个子网都必须与特定的网络站点相关联。Each subnet must be associated with a specific network site. 你可以将多个子网与同一网络站点关联,但不能将多个站点与同一子网相关联。You can associate multiple subnets with the same network site but you can't associate multiple sites with the same subnet. 有关如何配置网络子网的步骤,请转到管理团队中的云功能的网络拓扑For steps on how to configure network subnets, go to Manage your network topology for cloud features in Teams.

对于基于位置的路由,团队终结点可以连接到网络的位置上的 IP 子网必须定义并关联到已定义的网络,才能强制使用收费旁路。For Location-Based Routing, IP subnets at the location where Teams endpoints can connect to the network must be defined and associated to a defined network to enforce toll bypass. 这种子网的关联使基于位置的路由能够在地理位置找到终结点,以确定是否应允许给定的 PSTN 呼叫。This association of subnets enables Location-Based Routing to locate the endpoints geographically to determine whether a given PSTN call should be allowed. IPv6 和 IPv4 子网均受支持。Both IPv6 and IPv4 subnets are supported. 确定团队终结点是否位于某个网站时,基于位置的路由首先检查匹配的 IPv6 地址。When determining whether a Teams endpoint is located at a site, Location-Based Routing first checks for a matching IPv6 address. 如果不存在 IPv6 地址,则基于位置的路由检查 IPv4 地址。If an IPv6 address isn't present, Location-Based Routing checks for an IPv4 address.

定义受信任的 IP 地址(外部子网)Define trusted IP addresses (external subnets)

"受信任的 IP 地址" 是企业网络的 internet 外部 IP 地址,用于确定用户的终结点是否位于企业网络内。Trusted IP addresses are the internet external IP addresses of the enterprise network and are used to determine whether the user's endpoint is inside the corporate network. 有关如何配置受信任 IP 地址的步骤,请转到管理团队中的云功能的网络拓扑For steps on how to configure trusted IP addresses, go to Manage your network topology for cloud features in Teams.

如果用户的外部 IP 地址与 "受信任的 IP 地址" 列表中的 IP 地址匹配,则基于位置的路由检查以确定用户终结点所在的内部子网。If the user's external IP address matches an IP address that's in the trusted IP address list, Location-Based Routing checks to determine the internal subnet where the user's endpoint is located. 如果用户的外部 IP 地址不匹配在 "信任的 IP 地址" 列表中定义的任何 IP 地址,终结点将被归类为处于未知位置,并且对启用了基于位置的路由的用户的任何 PSTN 呼叫都将被阻止。If the user's external IP address doesn't match any IP address that's defined in the trusted IP address list, the endpoint is classified as being at an unknown location and any PSTN calls to or from a user who is enabled for Location-Based Routing are blocked.

后续步骤Next steps

转到 "为直接路由启用基于位置的路由"。Go to Enable Location-Based Routing for Direct Routing.