liveBook · Manning

Classless inter-domain routing

As explained in Microsoft Azure in Action

Classless Inter-Domain Routing is an IP addressing and routing method that uses prefix lengths to define variable-sized address ranges.

CIDR notation describes an IP address range with an address and a prefix mask, giving subnets a precise portion of a network’s available addresses. section 4.2.1

Read CIDR ranges by separating the address from the mask:

  • In 10.1.0.8/16, 10.1.0.8 is the address and /16 is the mask length. section 4.2.1
  • Applying the mask with a bitwise AND produces a range from 10.1.0.0 through 10.1.255.255, containing 65,536 possible hosts. section 4.2.1
  • Azure reserves five IP addresses in subnets sized /25 and larger, and four in smaller subnets. section 4.2.1

Creating an Azure subnet

A PowerShell subnet configuration can assign 10.0.1.0/24 as the address range for hairstyleSubnet in AlpacaVNet. The configuration remains local until Set-AzVirtualNetwork provisions it in Azure. section 4.2

10.1.0.8/16

Inspect the compact 10.1.0.8/16 notation used to demonstrate how an address and prefix mask describe a subnet. section 4.2.1

How Microsoft Azure in Action covers it

How deep it goes
Explains address-mask structure, binary AND, host counts, and Azure reservations, then stops short of broader routing mechanics.
Examples
Uses 10.1.0.8/16, the 10.1.0.0–10.1.255.255 range, and a PowerShell 10.0.1.0/24 subnet configuration.
What it assumes
Teaches address-mask notation and binary AND while emphasizing network planning before selecting an address range.
What you can do after
Operate/configure Azure subnet ranges and estimate their address capacity before provisioning networks.
How it connects
Connects IP addressing with subnets, virtual networks, network security groups, and network planning.

Also explained in

Compare how 5 books explain classless inter-domain routing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.