Beginner · Routing · 11 of 15

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
  1. Show the effective routes for vm-web's NIC.

    az network nic show-effective-route-table -g rg-lab --name vm-web-nic -o table
    What'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.

    • -g the resource group the resources live in
    • --name the name of the thing to look at or change
  2. Answer all three questions with the next hop type exactly as the table shows it.

    Next hop
    Where Azure sends a packet next, such as a virtual appliance, the local network, or the internet.
    Next hop
    Where Azure sends a packet next, such as a virtual appliance, the local network, or the internet.
    Next hop
    Where Azure sends a packet next, such as a virtual appliance, the local network, or the internet.
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
  • NICVM 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.
Resource grouprg-labvnet-app: tap to inspectVirtual networkvnet-app10.1.0.0/16subnet-web: tap to inspectsubnet-web10.1.1.0/24 · 251 usablevm-web 10.1.1.4: tap to inspectNICvm-web10.1.1.4
Goals 0/4
Cloud Shell · bashVMsrg-lab · eastus2
cloudshell:~$