RevealTheme logo

Calculadora CIDR

Encontre o menor bloco CIDR que suporta N hosts. Planeje as alocações de IP de forma eficiente.

Menor CIDR que cabe 50 hosts/26
Total de endereços em /2664
Hosts utilizáveis62
Espaço de endereços desperdiçado12

Como usar esta ferramenta

  1. 1

    Type the number of hosts you need to address into the 'Hosts needed' field.

  2. 2

    Read the 'Smallest CIDR fitting' row to get the prefix length (for example /26).

  3. 3

    Check the 'Total addresses' and 'Usable hosts' rows to confirm the block is big enough.

  4. 4

    Look at the 'Address space wasted' row to see how many addresses you would leave unused at that prefix.

O que é a Calculadora CIDR?

Ao planejar uma rede, você parte de um número de hosts e trabalha de trás para frente até chegar a um prefixo CIDR. A criação de sub-redes exige potências de 2: para acomodar 50 hosts são necessários pelo menos 64 endereços (2 reservados para rede/broadcast), o que equivale a um /26. Esta ferramenta calcula o menor CIDR que atende ao seu número de hosts.

Casos de uso comuns

  • Sizing a new office VLAN by entering the expected device count and picking the prefix that leaves a little headroom.

  • Quickly checking whether a /24 is overkill for a subnet that only needs 30 hosts.

  • Comparing the wasted-address count across host estimates before you carve up a parent block.

  • Teaching subnetting students why 50 hosts needs 64 addresses and not 50.

  • Planning IP allocation for a fleet of IoT devices and confirming the block will not run out as you scale.

  • Sanity-checking a colleague's subnet proposal by reproducing the host-to-prefix math in seconds.

Perguntas frequentes

Por que se subtraem 2?
Toda sub-rede IPv4 reserva o primeiro endereço (rede) e o último (broadcast). Apenas os endereços intermediários podem ser atribuídos a hosts.

Ferramentas relacionadas