Class B IP Address Range

Class B covers all IPv4 addresses from 128.0.0.0 to 191.255.255.255, which means every address whose first number is between 128 and 191. Medium-sized networks. The private 172.16.x.x – 172.31.x.x part is used by offices, Docker and iPhone hotspots.

Class B at a glance

Address range128.0.0.0 – 191.255.255.255
First number128 – 191
First bits10
Default subnet mask255.255.0.0 (/16)
Number of networks16,384
Hosts per network65,534
Private range172.16.0.0 – 172.31.255.255 (172.16.0.0/12)
Used forMedium-sized networks. The private 172.16.x.x – 172.31.x.x part is used by offices, Docker and iPhone hotspots.

Private IP range in Class B

The private part of Class B is 172.16.0.0 – 172.31.255.255 (172.16.0.0/12), with 1,048,576 addresses. These addresses are used inside local networks and are not routed on the internet.

Common router IPs in Class B

Router and modem makers often use these addresses as the default gateway. Open one to see the login steps:

Browse 172.16.x.x by range

Each range below lists 1,024 addresses with a link to its login page.

Special addresses in Class B

Other IP address classes