Free tech learning for everyone, from basics to pro

/25 subnet (255.255.255.128)

Everything about a /25 network: mask, wildcard, number of hosts, example ranges and when to use it.

Prefix (CIDR)/25
Subnet mask255.255.255.128
Wildcard mask0.0.0.127
Total addresses128
Usable hosts126
Block size128 in the fourth octet
Mask in binary11111111.11111111.11111111.10000000

What is a /25 used for?

Splitting a /24 in half, for example two departments or a user VLAN and a voice VLAN. 2 subnets of /25 fit in one /24.

How the numbers are worked out

/25 means the first 25 bits of the address are the network part, leaving 7 bits for hosts. 27 = 128 addresses. Take away 2 for the network and broadcast addresses and you get 126 usable hosts.

The mask has 25 ones followed by 7 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.0.127.

Example /25 networks

NetworkUsable rangeBroadcast
192.168.1.0/25192.168.1.1 – 192.168.1.126192.168.1.127
192.168.1.128/25192.168.1.129 – 192.168.1.254192.168.1.255

Each next /25 network starts 128 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.

Frequently asked questions

How many hosts are in a /25 subnet?

A /25 has 128 addresses in total and 126 usable hosts. The first address is the network address and the last is the broadcast address.

What is the subnet mask for /25?

The subnet mask for /25 is 255.255.255.128, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.0.127.

What is a /25 subnet used for?

Splitting a /24 in half, for example two departments or a user VLAN and a voice VLAN.

Other prefix sizes

Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown