VMs in a spoke lost internet access right after the network team added a route table.
BeginnerTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → UDR 0.0.0.0/0 → firewall, but the firewall has no rule allowing the traffic (or the next-hop IP is wrong).
Diagnose →
az network watcher show-next-hop -g rg --vm vm-app --source-ip 10.21.2.4 --dest-ip 1.1.1.1
Check firewall logs (AZFWApplicationRule, AZFWNetworkRule) for denies.
Fix → Add firewall rules for required destinations, or correct the next-hop IP.
Prevent → Change routing and firewall rules together in one change with tests.
More on Network Connectivity Errors
A VM with a public IP times out on SSH (`ssh: connect to host 20.x.x.x port 22: Connection timed out`).Beginner`nslookup kv-shop.vault.azure.net` from inside the VNet returns a public IP even though a Private Endpoint exists.IntermediateKey Vault returns `Client address is not authorized and caller is not a trusted service.` (ForbiddenByFirewall).BeginnerApplication Gateway returns `502 Bad Gateway` and backend health shows Unhealthy.IntermediateApp Gateway v2 deployment fails or goes unhealthy after a UDR `0.0.0.0/0 → firewall` was added to its subnet.AdvancedTwo VNets peered but VMs can't communicate; peering state shows `Initiated`.Intermediate