Home IPv4 subnet /9
/9 subnet mask: how many hosts?
Answer
255.128.0.0 /9 · 8,388,606 usable hosts
A /9 prefix is the mask 255.128.0.0 . It leaves 23 host bits: 8,388,608 addresses in total and 8,388,606 usable hosts (network and broadcast excluded).
subnet4 · adjust the values
Copy result Copy link
Close-up of a network switch with ports and lights. Photo: Jonathan Castañeda / Unsplash
/9 at a glance Item Value Mask 255.128.0.0 Wildcard 0.127.255.255 Addresses 8,388,608 Usable hosts 8,388,606 Mask in binary 11111111.10000000.00000000.00000000Example network 10.0.0.0/9
Neighboring prefixes Prefix Mask Usable hosts /8 255.0.0.0 16,777,214 /9 255.128.0.0 8,388,606 /10 255.192.0.0 4,194,302
To work out another address with this prefix, change the IP in the calculator above: you get network, broadcast and range in binary.
Step by step Host bits: 32 − 9 = 23. Addresses: 223 = 8,388,608. Usable hosts: 8,388,608 − 2 (network and broadcast) = 8,388,606 . Octet 2 has 1 bits set: 256 − 128 = 128. Networks step by 128 in that octet. Example with 10.0.0.0/9 Item Address Network 10.0.0.0/9 First host 10.0.0.1 Last host 10.127.255.254 Broadcast 10.127.255.255
Nearby prefixes Prefix Mask Usable hosts /8 255.0.0.0 16,777,214 /9 255.128.0.0 8,388,606 /10 255.192.0.0 4,194,302 /11 255.224.0.0 2,097,150 /12 255.240.0.0 1,048,574
In practice A /9 contains 32,768 /24 networks of 254 hosts each: that is how many typical LANs fit in the block. Going from /9 to /8 doubles the block to 16,777,216 addresses (16,777,214 usable hosts); going to /10 halves it to 4,194,302 usable hosts.
To try other values, open the IPv4 subnet calculator with these numbers already filled in.
Frequently asked questions Why subtract 2 hosts? The first address identifies the network and the last is the broadcast; neither can be assigned to a device. On /31 links (RFC 3021) both are used.
How do I configure it on Cisco? With the dotted mask: ip address 192.168.10.1 255.128.0.0. ACLs and OSPF use the wildcard 0.127.255.255.