RevealTheme logo

Calculateur CIDR

Trouvez le plus petit bloc CIDR capable de prendre en charge N hôtes. Planifiez efficacement vos attributions d'adresses IP.

Plus petit CIDR adapté 50 hôtes/26
Total d'adresses dans /2664
Hôtes utilisables62
Espace d'adressage gaspillé12

Comment utiliser cet outil

  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.

Qu'est-ce que le calculateur CIDR ?

Lors de la planification d'un réseau, vous partez d'un nombre d'hôtes et remontez jusqu'à un préfixe CIDR. La création de sous-réseaux nécessite des puissances de 2 : pour héberger 50 hôtes, il faut au moins 64 adresses (2 réservées pour le réseau et la diffusion), ce qui équivaut à un /26. Cet outil calcule le plus petit CIDR qui satisfait votre nombre d'hôtes.

Cas d'usage courants

  • 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.

Questions fréquentes

Pourquoi soustrait-on 2 ?
Tout sous-réseau IPv4 réserve la première adresse (réseau) et la dernière (diffusion). Seules les adresses intermédiaires peuvent être attribuées à des hôtes.

Outils connexes