Subnet Mask

/17 Subnet Mask

A /17 prefix means the subnet mask is 255.255.128.0. It has 15 host bits, giving 32,768 total addresses and 32,766 usable hosts.

/17 at a glance

PropertyValue
CIDR prefix/17
Subnet mask255.255.128.0
Wildcard mask0.0.127.255
Total addresses32,768
Usable hosts32,766
Host bits15

How it is calculated

A /17 sets the first 17 bits to 1 (network) and the remaining 15 bits to 0 (host). Usable hosts = 215 − 2 = 32,766.

The wildcard mask 0.0.127.255 is the inverse — used in Cisco ACLs and OSPF network statements.

Frequently asked questions

What is a /17 subnet mask?

A /17 equals 255.255.128.0 in dotted decimal (wildcard 0.0.127.255). It provides 32,768 total addresses and 32,766 usable hosts.

How many hosts are in a /17?

A /17 has 15 host bits, so it supports 32,766 usable hosts.

What is the wildcard mask for /17?

The wildcard (inverse) mask for /17 is 0.0.127.255, used in Cisco ACLs and OSPF statements.

Learn networking hands-on

Master IP addressing, subnetting and Cisco configuration on real lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.