ipaddress.tv IP lookup
Overview / Learning center
Home networking

How to read an IPv4 subnet

Use a /26 example to find the network address, broadcast address, and usable range, then check your arithmetic with the subnet calculator.

Start with the slash

Take the address 192.168.10.70/26. IPv4 has 32 bits, and the number after the slash tells you how many form the network prefix. Here the first 26 bits identify the network and the remaining six vary within it. Each bit has two possible values, so six bits give 64 addresses. The slash notation is called CIDR. The CIDR addressing plan

Why would this matter at home or in a small office? A device uses the address and prefix, together with its routing table, to decide whether it can send to a neighbor directly or needs a router. Two device addresses can begin with the same three numbers and still belong to different subnets.

Find the block containing 70

For this /26, count by 64 in the last part of the address. The four blocks start at 0, 64, 128, and 192. The sample address ends in 70, so it falls in the block that starts at 64 and ends immediately before 128.

  • The network address is 192.168.10.64.
  • The broadcast address is 192.168.10.127.
  • The usual device range is 192.168.10.65 through 192.168.10.126.

This leaves 62 ordinary device addresses. A router interface using one of them counts toward that total. Enter the original 192.168.10.70/26 in the calculator and compare each line with your result. Open the subnet calculator

Know when the counting rule changes

The practice of setting aside the first and last address applies to ordinary broadcast subnets in this example. A /31 point-to-point link can use its two addresses for the two ends. A /32 identifies a single address. These cases matter if a tool returns a different usable count than you expected. Point-to-point addressing

Check your understanding

Does 192.168.10.130 belong to the sample subnet?

Show the answer

No. It falls in the next block, 192.168.10.128 through 192.168.10.191. A device at .70 using the /26 prefix would ordinarily send traffic for .130 toward a router.