An on-prem app needs to reach a VM in a spoke, but the connection hangs. Route tables look fine. What's your design checklist?
IntermediateScenarioNetworking Design
Answer
Situation read → Hybrid connectivity spans gateways, peerings, UDRs, firewall and NSGs. Walk the path.
What I'd do →
- Hub-spoke peering:
allowGatewayTransiton hub side,useRemoteGatewayson spoke side - On-prem routing: the spoke CIDR is advertised over BGP (check
az network vnet-gateway list-advertised-routes) - If traffic goes via the firewall, the
GatewaySubnetroute table must send the spoke CIDR to the firewall, and the spoke must return via the firewall (symmetry) - NSG on the spoke subnet allows the on-prem source range
- Firewall rule allows the flow; check firewall logs for drops
Why → Asymmetric routing (in via firewall, out direct) is the usual silent hang.
Interview tip → Draw the path out loud: on-prem → gateway → firewall → spoke and back.
More on Networking Design
Design the network for a new three-tier app in Central India that must be private except for the web front end.IntermediateSpoke A can't talk to spoke B, both peered to the hub. What design change makes it work?BeginnerWorkloads must reach Azure SQL privately, including from on-prem over ExpressRoute. How do you set it up?AdvancedYou need all outbound traffic from AKS to go through Azure Firewall. How do you do it?AdvancedA partner needs to whitelist a single egress IP from your App Service and AKS workloads. How?IntermediateYou're asked to expose an internal API to a customer's Azure tenant without VNet peering. How?Advanced