/17 subnet (255.255.128.0)
Everything about a /17 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /17 |
|---|---|
| Subnet mask | 255.255.128.0 |
| Wildcard mask | 0.0.127.255 |
| Total addresses | 32,768 |
| Usable hosts | 32,766 |
| Block size | 128 in the third octet |
| Mask in binary | 11111111.11111111.10000000.00000000 |
What is a /17 used for?
Large summaries and cloud virtual networks. Too big for a single LAN segment. A /17 contains 128 /24 networks.
How the numbers are worked out
/17 means the first 17 bits of the address are the network part, leaving 15 bits for hosts. 215 = 32,768 addresses. Take away 2 for the network and broadcast addresses and you get 32,766 usable hosts.
The mask has 17 ones followed by 15 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.127.255.
Example /17 networks
| Network | Usable range | Broadcast |
|---|---|---|
10.0.0.0/17 | 10.0.0.1 – 10.0.127.254 | 10.0.127.255 |
10.0.128.0/17 | 10.0.128.1 – 10.0.255.254 | 10.0.255.255 |
10.1.0.0/17 | 10.1.0.1 – 10.1.127.254 | 10.1.127.255 |
10.1.128.0/17 | 10.1.128.1 – 10.1.255.254 | 10.1.255.255 |
Each next /17 network starts 32,768 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 /17 subnet?
A /17 has 32,768 addresses in total and 32,766 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /17?
The subnet mask for /17 is 255.255.128.0, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.127.255.
What is a /17 subnet used for?
Large summaries and cloud virtual networks. Too big for a single LAN segment.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.