Skip to the content

/25 Subnet (255.255.255.128)

A /25 network has 128 addresses, 126 of them usable, and the subnet mask 255.255.255.128: one half of a /24.

With or without a prefix: 192.168.1.10/24

/25

Network in CIDR notation

192.168.1.128/25

126 usable hosts, from 192.168.1.129 to 192.168.1.254.

Network address
192.168.1.128
Broadcast address
192.168.1.255
First usable host
192.168.1.129
Last usable host
192.168.1.254
Usable hosts
126
Total addresses
128
Subnet mask
255.255.255.128
Wildcard mask
0.0.0.127
IP class
C, default mask /24
Address type
Private (RFC 1918), in 192.168.0.0/16

In binary

Address
11000000.10101000.00000001.10000000
Mask
11111111.11111111.11111111.10000000
Network
11000000.10101000.00000001.10000000
Broadcast
11000000.10101000.00000001.11111111

The line marks where the network part ends: 25 network bits to its left, 7 host bits to its right.

Split into smaller subnets

4 subnets of /27, 30 usable hosts each.

  1. 192.168.1.128/27Hosts 192.168.1.129 – 192.168.1.158Broadcast 192.168.1.159
  2. 192.168.1.160/27Hosts 192.168.1.161 – 192.168.1.190Broadcast 192.168.1.191
  3. 192.168.1.192/27Hosts 192.168.1.193 – 192.168.1.222Broadcast 192.168.1.223
  4. 192.168.1.224/27Hosts 192.168.1.225 – 192.168.1.254Broadcast 192.168.1.255
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

/25 at a glance

Subnet mask
255.255.255.128
Mask in binary
11111111.11111111.11111111.10000000
Wildcard mask
0.0.0.127
Addresses in one network
128
Usable for hosts
126
Networks of this size
2 in a /24, 512 in a /16

Where /25 networks begin

One network covers 128 addresses, so a new network begins wherever the last number of the address is a multiple of 128: 0 and 128.

192.168.1.0/24 divided into 2 networks of /25

  1. 192.168.1.0/25Hosts 192.168.1.1 – 192.168.1.126Broadcast 192.168.1.127
  2. 192.168.1.128/25Hosts 192.168.1.129 – 192.168.1.254Broadcast 192.168.1.255

In practice

Splitting a /24 in two is the simplest piece of subnetting: one more network bit, and the last number of the address divides at 128.

The halves do not behave like the /24 they came from. .127 is now a broadcast address and .128 a network address, so neither can be given to a device, and a host in the lower half reaches the upper half only through a router.

The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.