EN VIVODetectando tu IP…
Consulta completa →

Calculadora de Subredes y CIDR

Calcule ID de red, direcciones de difusión broadcast, límites de hosts útiles y máscaras wildcard en tiempo real.

Common Presets:
32-Bit Mask Architecture: 24 Network Bits8 Host Bits
Network Address (ID)——
Broadcast Address—Last address in block
Usable Host Range——
Subnet Mask & Wildcard—Wildcard: —

Subnet Partition Explorer

Contiguous subnets derived from this boundary:

/24 Boundary
#Subnet CIDRNetwork IDUsable RangeBroadcast

Mastering IPv4 Subnetting: Theory, Mathematics, and Real-World Application

An IPv4 address consists of exactly 32 binary bits divided into four 8-bit octets separated by decimal periods. Subnetting is the practice of partitioning a single physical or virtual network into smaller, logically organized architectural subnetworks.

In modern IP routing, Classless Inter-Domain Routing (CIDR) uses a prefix length (such as /24) to dictate exactly how many of the 32 bits represent the network portion, leaving the remaining bits to allocate uniquely to individual hosts.

Core Subnetting Formulas

  • Total IP Addresses in Subnet: Total = 2^(32 - Prefix Length)
  • Usable Host Addresses: Usable = 2^(32 - Prefix Length) - 2 (Subtracting Network ID and Broadcast).
  • Special Cases (/31 and /32): Under RFC 3021, point-to-point links (/31) use 2 usable host addresses without broadcast. Single host routes (/32) identify one exact device.
  • Wildcard Mask Formula: 255.255.255.255 - Subnet Mask = Wildcard Mask.

IPv4 CIDR Reference Cheatsheet (/16 to /32)

CIDRSubnet MaskTotal IPsUsable HostsWildcard Mask
/16255.255.0.065,53665,5340.0.255.255
/20255.255.240.04,0964,0940.0.15.255
/24255.255.255.02562540.0.0.255
/25255.255.255.1281281260.0.0.127
/26255.255.255.19264620.0.0.63
/27255.255.255.22432300.0.0.31
/28255.255.255.24016140.0.0.15
/29255.255.255.248860.0.0.7
/30255.255.255.252420.0.0.3
/31255.255.255.25422 (RFC 3021)0.0.0.1
/32255.255.255.25511 (Host Route)0.0.0.0

Frequently Asked Questions

What is the difference between private and public IP addresses?

Private IP addresses are defined under RFC 1918 (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16). They are non-routable on the public internet and intended solely for local LAN and private cloud subnets. Public IPs are globally routable addresses assigned by RIRs (like ARIN, RIPE, APNIC).

How does a Cisco router use wildcard masks?

Wildcard masks invert standard subnet masks. In a wildcard mask, a 0 bit means "match this exact bit", while a 1 bit means "ignore this bit (wildcard)". For example, an ACL targeting subnet 192.168.1.0/24 uses wildcard mask 0.0.0.255 to evaluate only the first three octets.