/7 Subnet Mask: 254.0.0.0

A /7 prefix fixes the first 7 bits of the address as the network, leaving 25 bits for hosts. That gives 33,554,432 addresses, of which 33,554,430 can be assigned to hosts.

CIDR notation/7
Subnet mask254.0.0.0
Wildcard mask1.255.255.255
Binary mask11111110.00000000.00000000.00000000
Hex mask0xFE000000
Total addresses33,554,432
Usable hosts33,554,430

Example: 0.0.0.0/7

  • Network address: 0.0.0.0
  • First usable host: 0.0.0.1
  • Last usable host: 1.255.255.254
  • Broadcast address: 1.255.255.255

When to use a /7 subnet

Huge address blocks allocated to regional internet registries and large organizations; rarely used for subnetting.

Frequently Asked Questions

What is the subnet mask for /7?

The subnet mask for /7 is 254.0.0.0, and its wildcard (inverse) mask is 1.255.255.255.

How many hosts are in a /7?

A /7 contains 33,554,432 addresses. Subtracting the network and broadcast addresses leaves 33,554,430 usable hosts.