設定依位置路由的網路設定Configure network settings for Location-Based Routing

如果您還沒有這麼做,請參閱 直接路由 Location-Based 路由 ,以查看在設定 Location-Based 路由的網路設定之前必須採取的其他步驟。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.

本文說明如何設定 Location-Based 路由的網路設定。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.

Location-Based 路由的最佳做法是為每個具有唯一 PSTN 連線的位置建立一個單獨的網站。A best practice for Location-Based Routing is to create a separate site for each location that has unique PSTN connectivity. 您可以建立可用於 Location-Based 路由的網站,或未啟用 Location-Based 傳送功能的網站。You can create a site that's enabled for Location-Based Routing or a site that's not enabled for Location-Based Routing. 例如,您可能會想要建立未啟用 Location-Based 路由的網站,以允許已啟用 Location-Based 路由的使用者在漫遊到該網站時,進行 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.

在 Location-Based 路由中,小組端點可以連線到網路的位置上,必須定義 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. 這個子網的關聯功能可讓 Location-Based 路由來尋找地理位置上的端點,以判斷是否應該允許特定的 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. 決定團隊端點是否位於網站時,請 Location-Based 路由首先檢查是否有相符的 IPv6 位址。When determining whether a Teams endpoint is located at a site, Location-Based Routing first checks for a matching IPv6 address. 如果 IPv6 位址不存在,請 Location-Based 路由檢查來尋找 IPv4 位址。If an IPv6 address isn't present, Location-Based Routing checks for an IPv4 address.

在外部子網 (定義信任的 IP 位址) Define trusted IP addresses (external subnets)

[信任的 IP 位址] 是商業網路的網際網路外部 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 位址相符,請 Location-Based 路由檢查,以判斷使用者端點所在的內部子網。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 位址都不相符,則會將端點分類為 [未知位置],而對已啟用 Location-Based 路由的使用者進行任何 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

移至 啟用直接路由 Location-Based 路由Go to Enable Location-Based Routing for Direct Routing.