Routing & Transit参照資料確認: 2026-09-11

Service Tags in UDR

UDRのaddress prefixにService Tagを使うときのroute評価、explicit prefixとの競合、上限、検証方法を整理する。

Scope: Microsoft Learn / Azure Architecture Centerの一次資料を2026-09-11時点で確認し、旧来の短い記事を公開運用向けdeep diveへ更新。SKU、region、limits、Preview statusは変わるため、実装直前にOfficial sourcesを再確認してください。

Service Tags in UDRを理解するための前提

UDRはaddress prefixにservice tagを指定でき、Microsoft管理のservice IP変更へ自動追従できる。 route tableごとにservice tagを使うroute数には上限があるため、大量tag設計はlimitsを確認する。

explicit IP prefixとservice-tag routeが同一prefixで一致する場合、explicit prefix routeが優先される。 複数service tagがmatchingする場合はregional tag等の評価順序がある。

Service Tag UDRはrouting controlであり、NSG/Firewallのallow/denyを置き換えない。 container等のrouting scenarioでもservice tag routeが利用可能だが、actual destination IPとeffective routeで検証する。

通信や判断の流れを追う
SourceEffective routeNext hopDestinationReturn path

Control plane と data plane

Control planeRoute tableへservice tag prefixとnext hopを設定しsubnetへassociateする。
Data planepacket destination IPがtag current prefixに一致した時、UDR route selectionへ参加しnext hopが決まる。

仕組みと設計上の意味

tag名だけ見てrouteを判断せず、effective routeのactual prefix/source/next hopを確認する。

Azure platform serviceへFirewall/NVA経由を強制する場合、そのservice dependencyがapplianceで正しく処理されるか確認する。

regional/global tagの選択でtraffic pathとcost/blast radiusが変わる。

Private Endpoint trafficはprivate IP宛なのでpublic service tag UDRとは別pathになる。

Packet / decision path

source→destinationを1本のflowとして固定し、名前解決・routing・security・NAT/service processing・return pathを必要な範囲で順に確認する。

  1. 対象service/destination IPを確認。
  2. tag routeとexplicit prefix routeをinventory。
  3. source NIC effective routeでwinning routeを確認。
  4. NVA/Firewall next hop healthとallow ruleを確認。
  5. service endpoint/Private Endpoint併用時はDNS/destination IPを再確認。

設計判断

判断点推奨理由
Tag scoperegional tagを優先検討routing範囲を狭める
Next hopInternet/NVA等を目的で明示security intentと一致させる
Explicit overlap明示prefixの存在をreviewunexpected preferenceを防ぐ
Private Endpointprivate routeとして別設計service tagに依存しない

確認手順

Azure Portal

  • Route table → RoutesでAddress prefix type/tagとnext hopを確認。
  • Subnet associationを確認。
  • NIC Effective routesで実際のresolved routeを確認。

Evidence contract

Identitysubscription / resource group / resource ID / regionを固定。
Before / After同じsource・destination・protocol・portで比較。
Effective state設定値だけでなくeffective route/security/health/logを取得。
Runtimecontrol-plane Succeededとapplication successを分けて判定。
Azure CLI — read-only first
az network route-table route list -g <rg> --route-table-name <rt> -o table
az network nic show-effective-route-table -g <rg> -n <nic> -o table
az network list-service-tags --location <region> -o jsonc
PowerShell — read-only first
Get-AzRouteTable -ResourceGroupName <rg> -Name <rt>
Get-AzEffectiveRouteTable -NetworkInterfaceName <nic> -ResourceGroupName <rg>

障害切り分け

症状疑う点証拠次の確認
tag routeが選ばれないexplicit prefix/longer prefixが優先effective routesmatching prefixを比較
service通信がapplianceで落ちるNVA/Firewall未許可appliance logsservice tag/rule確認
Private Endpointへ影響しないdestinationがprivate IPDNS + effective route期待pathを再定義
route数上限tag route過多route table count/limits設計集約

変更・rollback

  • 変更前にroute tableとeffective routeをexport。
  • service tag→explicit prefixへ戻すrollback pathを用意。
  • NVAへsteerする変更はhealth/scaleを先に検証。
  • rollback後にdestination IPを再resolveしてnew flowを確認。

Official sources