An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
hi & thx for sharing urs issue here at Q&A portal,
Ur understanding is right. For an ExpressRoute-type VNet gateway, u can’t use a UDR like 104.74.243.128/28 -> VirtualNetworkGateway to force that traffic into the ExR gateway. That route target works for VPN gateway scenarios, but not for forcing traffic to an ExpressRoute virtual network gateway. MS calls that out in the BGP/UDR docs. https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview#border-gateway-protocol
So the supported fix is not on the Azure UDR side. The prefix needs to become a route that Azure learns from ExpressRoute BGP. If 104.74.243.128/28 is really reachable via on-prem/DC, the cleanest design is to advertise that prefix into ExpressRoute from on-prem, or summarize it from the network that does reach it.
If the DC can’t advertise it directly to ExR, then advertise it from the connected on-prem routing domain that can reach that DC. Azure doesn’t care that it’s public IP space, as long as it’s advertised over private peering and accepted by ur routing design. Just make sure u own/are allowed to route that public prefix internally. Otherwise it gets messy fast.
If advertising the prefix over ExR is not possible, then ur Internal NVA needs to make the forwarding decision itself. Meaning: add a route on the Internal Firewall/NVA for 104.74.243.128/28 toward the on-prem/ExR path, not toward the External NVA default route. In practice that may mean routing via the internal firewall’s next hop design, BGP with the NVA, or another NVA-side policy route. Azure route table alone won’t push it into the ExR gateway.
Another option is NAT/translation, but u already said that has constraints. Still, from an Azure-supported design view, the options are basically: advertise the prefix over ExR, route it inside the NVA layer, or redesign the path.
no supported Azure UDR trick to force a non-advertised prefix into an ExR VNet gateway. Get the prefix into ExR BGP, or make the Internal NVA handle that exception route before it follows the 0.0.0.0/0 -> External NVA path.
rgds,
Alex
&
If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal
and at my blog https://ctrlaltdel.blog/