Student Toolkit

IPv4 Subnet Calculator

Use an IPv4 address and CIDR prefix to find its network, mask, and address range.

Your inputs

Solution

Find the subnet for 192.168.1.130/26

  1. Subtract 26 from 32 to get six host bits. A block therefore contains 2⁶ = 64 addresses.
  2. The last-octet blocks start at 0, 64, 128, and 192. Since 130 falls in the third block, the network is 192.168.1.128.
  3. The block runs through 192.168.1.191. For this /26 the usable range is 192.168.1.129 through 192.168.1.190.

What to watch for. For an ordinary /26, the first and last addresses are reserved for the network and broadcast. A /31 point-to-point link uses different rules.