Read effective routes
Your tasks
- Show vm-web's effective routes
Before you touch routing, learn to read it. vm-web sits in subnet-web of vnet-app (10.1.0.0/16). Pull the effective routes for its NIC, vm-web-nic, and work out where traffic would go for three destinations: 203.0.113.50 on the internet, 10.1.2.5 inside vnet-app, and 10.9.9.9, which is in no network you own.
You'll learn
System routes
Show the effective routes for vm-web's NIC.
az network nic show-effective-route-table -g rg-lab --name vm-web-nic -o tableWhat's this?
Lists every route that applies to a VM's network interface: system routes, gateway routes and your route tables, and which are active.
-gthe resource group the resources live in--namethe name of the thing to look at or change
Answer all three questions with the next hop type exactly as the table shows it.
Sources on Microsoft Learn (2)
0/0 changes
Network map
?
- Resource group, the outer dashed frame
- Virtual network, with its address space top right
- Subnet, with range and usable IPs (5 reserved)
- Network security group. A small shield on a VM's NIC means the NIC has one too
- Route table on the subnet
- VM Appliance Private endpoint
- Peering Connected Initiated or access off
- Goal working Goal broken, X marks where it stops
- Private DNS zone, dotted lines go to linked VNets
- Orange pulse: what your last command changed. Drag to pan, Ctrl and scroll to zoom.
Goals 0/4
Cloud Shell · bashVMsrg-lab · eastus2
cloudshell:~$