← Volver al calculador principal

Hoja de referencia CIDR y subnetting

Tablas esenciales de redes, rangos privados y referencias RFC.

Rangos IPv4 Privados (RFC 1918)

10.0.0.0/816.7M IPs
172.16.0.0/121M IPs
192.168.0.0/1665.5K IPs

Special Addresses

127.0.0.0/8Loopback
169.254.0.0/16APIPA
224.0.0.0/4Multicast

IP Classes

Class A1.0.0.0 – 126.255.255.255
Class B128.0.0.0 – 191.255.255.255
Class C192.0.0.0 – 223.255.255.255

Filter Subnet Reference

CIDRMaskUsable Hosts
/0 0.0.0.0 4,294,967,294
/1 128.0.0.0 2,147,483,646
/2 192.0.0.0 1,073,741,822
/3 224.0.0.0 536,870,910
/4 240.0.0.0 268,435,454
/5 248.0.0.0 134,217,726
/6 252.0.0.0 67,108,862
/7 254.0.0.0 33,554,430
/8 255.0.0.0 16,777,214
/9 255.128.0.0 8,388,606
/10 255.192.0.0 4,194,302
/11 255.224.0.0 2,097,150
/12 255.240.0.0 1,048,574
/13 255.248.0.0 524,286
/14 255.252.0.0 262,142
/15 255.254.0.0 131,070
/16 255.255.0.0 65,534
/17 255.255.128.0 32,766
/18 255.255.192.0 16,382
/19 255.255.224.0 8,190
/20 255.255.240.0 4,094
/21 255.255.248.0 2,046
/22 255.255.252.0 1,022
/23 255.255.254.0 510
/24 255.255.255.0 254
/25 255.255.255.128 126
/26 255.255.255.192 62
/27 255.255.255.224 30
/28 255.255.255.240 14
/29 255.255.255.248 6
/30 255.255.255.252 2
/31 255.255.255.254 2
/32 255.255.255.255 1
Hoja de Referencia Rápida CIDR Guide

How to Read and Use a Hoja de Referencia Rápida CIDR

A CIDR cheat sheet is one of the most essential tools for any network engineer, system administrator, or IT professional working with IP addressing and subnetting. It provides an at-a-glance reference for every possible IPv4 subnet, mapping CIDR prefixes (ranging from /0 to /32) to their corresponding dotted-decimal subnet masks, total addresses, usable host counts, and wildcard masks. Rather than manually converting binary to decimal every time you need to determine a subnet size, a well-organized cheat sheet lets you instantly see that a /24 network contains 256 addresses with 254 usable hosts, or that a /29 provides only 6 usable IPs — a common size for IoT or management VLAN deployments.

The concept of CIDR (Classless Inter-Domain Routing) was introduced in 1993 to solve two major problems with the original classful IP addressing system. Under the old system, organizations were assigned either a Class A, B, or C block regardless of their actual needs, leading to massive waste of IPv4 address space. A Class A block contained over 16 million addresses — far too many for most organizations — while a Class C block contained only 254 addresses, forcing larger companies to request multiple blocks. CIDR replaced this rigid system with variable-length subnet masking (VLSM), allowing any prefix length from /0 to /32. The CIDR cheat sheet on this page covers every possible prefix length from /0 (0.0.0.0, the default route) to /32 (a single host), so you always have the exact information you need.

To use the cheat sheet, locate your desired prefix length in the first column and read across to find the subnet mask, usable host count, and wildcard mask. For example, a /27 network (mask 255.255.255.224) provides 30 usable addresses, making it a popular choice for branch offices and remote site VLANs that need fewer than 30 devices. A /30 network is the standard for point-to-point links with exactly 2 usable hosts. A /23 network provides 510 usable addresses — ideal for larger departments that need more than a single /24 but less than a /22. The filter input above the table lets you quickly narrow down entries by typing a prefix, mask, or host count, which is especially useful when working with large IPAM spreadsheets or cloud subnet allocation plans.

This CIDR cheat sheet also includes the three RFC 1918 private IP ranges displayed at the top. Understanding these ranges is critical because private addresses are used extensively in enterprise networks, home routers, and cloud VPCs. The 10.0.0.0/8 block is the largest private range, used by large organizations and cloud providers like AWS, Azure, and GCP for their virtual networks. The 172.16.0.0/12 block is commonly deployed in medium-sized business networks and educational institutions. The 192.168.0.0/16 block is the most recognizable range, used by virtually every consumer router on the market. Additionally, the cheat sheet lists special-purpose addresses: 127.0.0.0/8 for loopback (localhost), 169.254.0.0/16 for APIPA (link-local auto-configuration when DHCP fails), and 224.0.0.0/4 for multicast traffic such as routing protocol updates.

The legacy IP address classes are also included for historical reference. Although CIDR has made classful addressing obsolete, understanding that Class A spans 1.0.0.0 through 126.255.255.255, Class B covers 128.0.0.0 through 191.255.255.255, and Class C ranges from 192.0.0.0 through 223.255.255.255 is still valuable when reading older network documentation or configuring legacy equipment. The default subnet masks — /8 for Class A, /16 for Class B, /24 for Class C — are the foundation that modern CIDR notation builds upon. Whether you are studying for the CompTIA Network+, Cisco CCNA, or AWS Certified Advanced Networking exam, or simply troubleshooting a connectivity issue on your home network, this CIDR cheat sheet puts all the essential subnetting information at your fingertips.


Preguntas frecuentes
¿Qué es una hoja de referencia CIDR?

Una hoja de referencia CIDR es una tabla de consulta rápida que lista cada subred IPv4 de /0 a /32, mostrando la máscara de subred en decimal con puntos, el total de direcciones, el número de hosts utilizables y la máscara comodín para cada prefijo. Los ingenieros de redes la usan para determinar al instante el tamaño de las subredes sin realizar cálculos binarios. Las entradas más consultadas son /24 (256 IPs, 254 utilizables), /16 (65.536 IPs), /30 (4 IPs, 2 utilizables para punto a punto) y /32 (un solo host).

¿Cuáles son los rangos IP privados RFC 1918?

RFC 1918 define tres bloques de direcciones IPv4 privadas que no son enrutables en internet público: 10.0.0.0/8 (16.777.216 direcciones, usadas por grandes empresas y VPCs en la nube), 172.16.0.0/12 (1.048.576 direcciones, comunes en redes empresariales medianas) y 192.168.0.0/16 (65.536 direcciones, usadas en prácticamente todos los routers domésticos). Estos rangos permiten a las organizaciones reutilizar espacio de direcciones internamente detrás de NAT sin conflictos.

¿Cuál es la diferencia entre una subred /24 y /28?

Una subred /24 tiene máscara 255.255.255.0 con 254 hosts utilizables, lo que la convierte en el estándar para redes de oficina pequeñas y medianas. Una subred /28 tiene máscara 255.255.255.240 con solo 14 hosts utilizables, comúnmente usada para pequeños segmentos VLAN, zonas DMZ o redes de dispositivos IoT. El prefijo /24 cubre 256 direcciones totales mientras que /28 cubre solo 16. Cada bit de prefijo adicional reduce a la mitad el espacio de direcciones.

¿Para qué se usa una máscara comodín?

Una máscara comodín es la inversa bit a bit de una máscara de subred: los bits 0 requieren coincidencia exacta, los bits 1 se ignoran. Para 255.255.255.0, la comodín es 0.0.0.255. Las máscaras comodín se usan en entradas ACL de Cisco IOS (p. ej., access-list 100 permit ip 192.168.1.0 0.0.0.255 any), declaraciones de red OSPF y listas de prefijos BGP. Cada máscara en esta hoja de referencia incluye su equivalente comodín.

¿Cuántos hosts utilizables tiene una subred /30?

Una subred /30 proporciona exactamente 2 direcciones de host utilizables (4 en total menos red y broadcast). La máscara de subred es 255.255.255.252. Las redes /30 son el estándar para enlaces WAN punto a punto entre routers, donde solo dos dispositivos necesitan comunicarse. En Cisco IOS moderno, el prefijo /31 (255.255.255.254) también puede usarse para enlaces punto a punto ya que RFC 3021 eliminó la necesidad de direcciones de red y broadcast en estos enlaces.