Skip to content

Commit 9f0595f

Browse files
Merge pull request #277029 from greg-lindsay/atm-ipv6
Atm ipv6
2 parents 99bb71b + 614ee01 commit 9f0595f

File tree

3 files changed

+42
-20
lines changed

3 files changed

+42
-20
lines changed

articles/traffic-manager/traffic-manager-FAQs.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: traffic-manager
55
author: greg-lindsay
66
ms.service: traffic-manager
77
ms.topic: conceptual
8-
ms.date: 04/22/2024
8+
ms.date: 06/03/2024
99
ms.author: greglin
1010
---
1111

@@ -144,8 +144,12 @@ Yes, only API version 2017-03-01 and newer supports the Geographic routing type.
144144
### What are some use cases where subnet routing is useful?
145145

146146
Subnet routing allows you to differentiate the experience you deliver for specific sets of users identified by the source IP of their DNS requests IP address. An example would be showing different content if users are connecting to a website from your corporate HQ. Another would be restricting users from certain ISPs to only access endpoints that support only IPv4 connections if those ISPs have subpar performance when IPv6 is used.
147+
147148
Another reason to use Subnet routing method is in conjunction with other profiles in a nested profile set. For example, if you want to use Geographic routing method for geo-fencing your users, but for a specific ISP you want to do a different routing method, you can have a profile withy Subnet routing method as the parent profile and override that ISP to use a specific child profile and have the standard Geographic profile for everyone else.
148149

150+
> [!NOTE]
151+
> Azure Traffic Manager supports IPv6 addresses in subnet overrides for subnet profiles. This capability enables more granular control over traffic routing based on the source IP address of DNS queries, including both IPv4 and IPv6 addresses.
152+
149153
### How does Traffic Manager know the IP address of the end user?
150154

151155
End-user devices typically use a DNS resolver to do the DNS lookup on their behalf. The outgoing IP of such resolvers is what Traffic Manager sees as the source IP. In addition, Subnet routing method also looks to see if there's EDNS0 Extended Client Subnet (ECS) information that was passed with the request. If ECS information is present, that is the address used to determine the routing. In the absence of ECS information, the source IP of the query is used for routing purposes.
@@ -335,6 +339,18 @@ Azure endpoints that are associated with a Traffic Manager profile are tracked u
335339

336340
For more information, see [To move an endpoint](traffic-manager-manage-endpoints.md#to-move-an-endpoint).
337341

342+
### Does Azure Traffic Manager support IPv6 Extension Mechanisms for DNS (ECS)?
343+
344+
Azure Traffic Manager supports IPv6 addresses with Extension Mechanisms for DNS (ECS). This means that when a DNS query includes ECS information, Azure Traffic Manager can use the source IP address within the ECS to make intelligent routing decisions.
345+
346+
The support for IPv6 ECS brings several advantages:
347+
348+
- **Improved Localization**: By considering the IPv6 address in the ECS, Traffic Manager can route users to the nearest or most appropriate endpoint, enhancing the user experience with reduced latency.
349+
- **Enhanced Traffic Control**: IPv6 ECS allows for more granular traffic routing decisions, enabling better management of global traffic and distribution.
350+
351+
When using IPv6 ECS, it’s important to ensure that your endpoints are correctly configured to handle IPv6 traffic. Also verify that your DNS infrastructure, including recursive resolvers, is capable of handling ECS information with IPv6 addresses.
352+
353+
338354
## Traffic Manager endpoint monitoring
339355

340356
### Is Traffic Manager resilient to Azure region failures?
@@ -478,7 +494,7 @@ The number of Traffic Manager health checks reaching your endpoint depends on th
478494

479495
### How can I get notified if one of my endpoints goes down?
480496

481-
One of the metrics provided by Traffic Manager is the health status of endpoints in a profile. You can see this as an aggregate of all endpoints inside a profile (for example, 75% of your endpoints are healthy), or, at a per endpoint level. Traffic Manager metrics are exposed through Azure Monitor and you can use its [alerting capabilities](../azure-monitor/alerts/alerts-metric.md) to get notifications when there's a change in the health status of your endpoint. For more information, see [Traffic Manager metrics and alerts](traffic-manager-metrics-alerts.md).
497+
One of the metrics provided by Traffic Manager is the health status of endpoints in a profile. You can see this as an aggregate of all endpoints inside a profile (for example, 75% of your endpoints are healthy), or, at a per endpoint level. Traffic Manager metrics are exposed through Azure Monitor and you can use its [alerting capabilities](../azure-monitor/alerts/alerts-metric.md) to get notifications when there's a change in the health status of your endpoint. For more information, see [Traffic Manager metrics and alerts](traffic-manager-metrics-alerts.md).
482498

483499
## Traffic Manager nested profiles
484500

@@ -531,7 +547,7 @@ The following table describes the behavior of Traffic Manager health checks for
531547
532548
### Why can't I add Azure Cloud Services Extended Support Endpoints to my Traffic Manager profile?
533549

534-
In order to add Azure Cloud Extended endpoints to a Traffic Manager profile, the resource group must have compatibility with the Azure Service Management (ASM) API. Profiles located in the older resource group must adhere to ASM API standards, which prohibit the inclusion of public IP address endpoints or endpoints from a different subscription than that of the profile. To resolve this, consider moving your Traffic Manager profile and associated resources to a new resource group compatible with the ASM API.
550+
In order to add Azure Cloud Extended endpoints to a Traffic Manager profile, the resource group must have compatibility with the Azure Service Management (ASM) API. Profiles located in the older resource group must adhere to ASM API standards, which prohibit the inclusion of public IP address endpoints or endpoints from a different subscription than that of the profile. To resolve this, consider moving your Traffic Manager profile and associated resources to a new resource group compatible with the ASM API.
535551

536552
## Next steps:
537553

articles/traffic-manager/traffic-manager-subnet-override-cli.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
---
22
title: Azure Traffic Manager subnet override using Azure CLI
3-
description: This article will help you understand how Traffic Manager subnet override can be used to override the routing method of a Traffic Manager profile to direct traffic to an endpoint based upon the end-user IP address via predefined IP range to endpoint mappings.
3+
description: This article helps you understand the Traffic Manager subnet override feature. This feature is used to override the routing method of a Traffic Manager profile. Traffic is directed to an endpoint based upon the end-user IP address using predefined IP range to endpoint mappings.
44
services: traffic-manager
55
author: greg-lindsay
66
ms.topic: how-to
77
ms.service: traffic-manager
8-
ms.date: 09/18/2019
8+
ms.date: 06/03/2024
99
ms.author: greglin
1010
ms.custom: template-how-to, devx-track-azurecli
1111
---
1212

1313
# Traffic Manager subnet override using Azure CLI
1414

15-
Traffic Manager subnet override allows you to alter the routing method of a profile. The addition of an override will direct traffic based upon the end user's IP address with a predefined IP range to endpoint mapping.
15+
Traffic Manager subnet override allows you to alter the routing method of a profile. The addition of an override directs traffic based upon the end user's IP address with a predefined IP address range to endpoint mapping.
1616

1717
## How subnet override works
1818

19-
When subnet overrides are added to a traffic manager profile, Traffic Manager will first check if there's a subnet override for the end user’s IP address. If one is found, the user’s DNS query will be directed to the corresponding endpoint. If a mapping is not found, Traffic Manager will fall back to the profile’s original routing method.
19+
When subnet overrides are added to a traffic manager profile, Traffic Manager first checks if there's a subnet override for the end user’s IP address. If one is found, the user’s DNS query ix directed to the corresponding endpoint. If a mapping is not found, Traffic Manager falls back to the profile’s original routing method.
2020

21-
The IP address ranges can be specified as either CIDR ranges (for example, 1.2.3.0/24) or as address ranges (for example, 1.2.3.4-5.6.7.8). The IP ranges associated with each endpoint must be unique to that endpoint. Any overlap of IP ranges among different endpoints will cause the profile to be rejected by Traffic Manager.
21+
The IP address ranges can be specified as either CIDR ranges (for example, 1.2.3.0/24) or as address ranges (for example, 1.2.3.4-5.6.7.8). The IP ranges associated with each endpoint must be unique to that endpoint. Any overlap of IP address ranges among different endpoints causes the profile to be rejected by Traffic Manager.
2222

2323
There are two types of routing profiles that support subnet overrides:
2424

25-
* **Geographic** - If Traffic Manager finds a subnet override for the DNS query's IP address, it will route the query to the endpoint whatever the health of the endpoint is.
26-
* **Performance** - If Traffic Manager finds a subnet override for the DNS query's IP address, it will only route the traffic to the endpoint if it's healthy. Traffic Manager will fall back to the performance routing heuristic if the subnet override endpoint isn't healthy.
25+
* **Geographic** - If Traffic Manager finds a subnet override for the DNS query's IP address, it routes the query to the endpoint whatever the health of the endpoint is.
26+
* **Performance** - If Traffic Manager finds a subnet override for the DNS query's IP address, it only routes the traffic to the endpoint if it's healthy. Traffic Manager falls back to the performance routing heuristic if the subnet override endpoint isn't healthy.
27+
28+
> [!NOTE]
29+
> Azure Traffic Manager supports IPv6 addresses in subnet overrides for subnet profiles. This capability enables more granular control over traffic routing based on the source IP address of DNS queries, including both IPv4 and IPv6 addresses.
2730
2831
## Create a Traffic Manager subnet override
2932

articles/traffic-manager/traffic-manager-subnet-override-powershell.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
---
22
title: Azure Traffic Manager subnet override using Azure PowerShell
3-
description: This article will help you understand how Traffic Manager subnet override is used to override the routing method of a Traffic Manager profile to direct traffic to an endpoint based upon the end-user IP address via predefined IP range to endpoint mappings using Azure PowerShell.
3+
description: This article helps you to understand the Traffic Manager subnet override feature. This feature is used to override the routing method of a Traffic Manager profile. Traffic is directed to an endpoint based upon the end-user IP address using predefined IP range to endpoint mappings.
44
services: traffic-manager
55
author: greg-lindsay
66
ms.topic: how-to
77
ms.service: traffic-manager
8-
ms.date: 05/07/2023
8+
ms.date: 06/03/2024
99
ms.author: greglin
1010
ms.custom: template-how-to, devx-track-azurepowershell
1111
---
1212

1313
# Traffic Manager subnet override using Azure PowerShell
1414

15-
Traffic Manager subnet override allows you to alter the routing method of a profile. The addition of an override will direct traffic based upon the end user's IP address with a predefined IP range to endpoint mapping.
15+
Traffic Manager subnet override allows you to alter the routing method of a profile. The addition of an override directs traffic based upon the end user's IP address with a predefined IP address range to endpoint mapping.
1616

1717
## How subnet override works
1818

19-
When subnet overrides are added to a traffic manager profile, Traffic Manager will first check if there's a subnet override for the end user’s IP address. If one is found, the user’s DNS query will be directed to the corresponding endpoint. If a mapping isn't found, Traffic Manager will fall back to the profile’s original routing method.
19+
When subnet overrides are added to a traffic manager profile, Traffic Manager first checks if there's a subnet override for the end user’s IP address. If one is found, the user’s DNS query is directed to the corresponding endpoint. If a mapping isn't found, Traffic Manager falls back to the profile’s original routing method.
2020

21-
The IP address ranges can be specified as either CIDR ranges (for example, 1.2.3.0/24) or as address ranges (for example, 1.2.3.4-5.6.7.8). The IP ranges associated with each endpoint must be unique to that endpoint. Any overlap of IP ranges among different endpoints will cause the profile to be rejected by Traffic Manager.
21+
The IP address ranges can be specified as either CIDR ranges (for example, 1.2.3.0/24) or as address ranges (for example, 1.2.3.4-5.6.7.8). The IP ranges associated with each endpoint must be unique to that endpoint. Any overlap of IP address ranges among different endpoints causes the profile to be rejected by Traffic Manager.
2222

2323
There are two types of routing profiles that support subnet overrides:
2424

25-
* **Geographic** - If Traffic Manager finds a subnet override for the DNS query's IP address, it will route the query to the endpoint whatever the health of the endpoint is.
26-
* **Performance** - If Traffic Manager finds a subnet override for the DNS query's IP address, it will only route the traffic to the endpoint if it's healthy. Traffic Manager will fall back to the performance routing heuristic if the subnet override endpoint isn't healthy.
25+
* **Geographic** - If Traffic Manager finds a subnet override for the DNS query's IP address, it routes the query to the endpoint whatever the health of the endpoint is.
26+
* **Performance** - If Traffic Manager finds a subnet override for the DNS query's IP address, it only routes the traffic to the endpoint if it's healthy. Traffic Manager falls back to the performance routing heuristic if the subnet override endpoint isn't healthy.
27+
28+
> [!NOTE]
29+
> Azure Traffic Manager supports IPv6 addresses in subnet overrides for subnet profiles. This capability enables more granular control over traffic routing based on the source IP address of DNS queries, including both IPv4 and IPv6 addresses.
2730
2831
## Prerequisites
2932

3033
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
31-
- For this guide you will need an App Service and a Traffic Manager profile. To learn more, see [Create a Traffic Manager profile](./quickstart-create-traffic-manager-profile.md).
34+
- For this guide you need an App Service and a Traffic Manager profile. To learn more, see [Create a Traffic Manager profile](./quickstart-create-traffic-manager-profile.md).
3235

3336
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
3437

@@ -44,7 +47,7 @@ To create a Traffic Manager subnet override, you can use Azure PowerShell to add
4447

4548
To enable the subnet override, retrieve the endpoint you wish to add the override to and store it in a variable using [Get-AzTrafficManagerEndpoint](/powershell/module/az.trafficmanager/get-aztrafficmanagerendpoint).
4649

47-
Replace the Name, ProfileName, and ResourceGroupName with the values of the endpoint that you're changing. In this example we will use the endpoint name *myAppServicePlan* and the profile name *myTrafficManagerProfile*.
50+
Replace the Name, ProfileName, and ResourceGroupName with the values of the endpoint that you're changing. In this example we use the endpoint name *myAppServicePlan* and the profile name *myTrafficManagerProfile*.
4851

4952
```powershell
5053
@@ -81,7 +84,7 @@ Set-AzTrafficManagerEndpoint -TrafficManagerEndpoint $TrafficManagerEndpoint
8184
### Remove IP address range from Endpoint
8285

8386

84-
1. **Retrieve the Traffic Manager endpoint:**
87+
1. **Retrieve the Traffic Manager endpoint:**
8588

8689
To enable the subnet override, retrieve the endpoint you wish to add the override to and store it in a variable using [Get-AzTrafficManagerEndpoint](/powershell/module/az.trafficmanager/get-aztrafficmanagerendpoint).
8790

0 commit comments

Comments
 (0)