tip
~/geeksubnet/masks/9

/9 subnet mask: 255.128.0.0

Every value on this page is reproducible in the calculator.

The /9 prefix means the first 9 bits of the address identify the network and the remaining 23 identify the host. Written out, the mask is 255.128.0.0, in binary 11111111.10000000.00000000.00000000, and its Cisco wildcard or inverse form is 0.127.255.255. It covers 8,388,608 addresses, of which 8,388,606 can be given to hosts.

/9 at a glance

CIDR prefix/9
Subnet mask255.128.0.0
Mask in binary11111111.10000000.00000000.00000000
Wildcard (inverse) mask0.127.255.255
Host bits23
Total addresses8,388,608
Usable hosts8,388,606
Block size (magic number)128 in octet 2

Every /9 inside 10.0.0.0/8

A 10.0.0.0/8 splits into exactly 2 subnets of this size.

NetworkFirst hostLast hostBroadcast
10.0.0.0/910.0.0.110.127.255.25410.127.255.255
10.128.0.0/910.128.0.110.255.255.25410.255.255.255

The magic number for /9

Take the interesting octet of the mask, the one that is neither 255 nor 0. For /9 that is 128 in octet 2. Subtract it from 256:

256 - 128 = 128

That is the block size. Every /9 network address is a multiple of 128 in octet 2, so you can list them by counting: 0, 128, 256, 384, and so on. No binary needed once you know the number.

Where a /9 shows up in practice

A /9 is half a /8. You meet one when a very large private space is split between two halves of an organisation, or in a routing table where an ISP aggregates a legacy class A into two announcements. As an assigned subnet it is effectively never used.

Frequently asked questions

How many hosts are in a /9?

A /9 holds 8,388,608 addresses in total. After reserving the network and broadcast addresses, 8,388,606 are usable by hosts.

What is the subnet mask for /9?

The /9 subnet mask is 255.128.0.0 in dotted-decimal notation.

What is the wildcard mask for /9?

The wildcard mask, also called the inverse mask, is 0.127.255.255. It is the bitwise inverse of 255.128.0.0 and is what Cisco access lists and OSPF network statements expect.

What is /9 in binary?

The /9 mask written out bit by bit is 11111111.10000000.00000000.00000000: 9 ones followed by 23 zeros.

Neighbouring masks: /8 is one bit shorter and holds twice as many addresses. /10 is one bit longer and holds half as many.
full cheat sheet subnetting basics open the calculator