RevealTheme logo

Kalkulator CIDR

Znajdź najmniejszy blok CIDR, który pomieści N hostów. Planuj przydziały adresów IP w efektywny sposób.

Najmniejszy pasujący CIDR 50 hosty/26
Łączna liczba adresów w /2664
Użyteczne hosty62
Zmarnowana przestrzeń adresowa12

Jak korzystać z tego narzędzia

  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.

Czym jest kalkulator CIDR?

Planując sieć, wychodzisz od liczby hostów i pracujesz wstecz aż do prefiksu CIDR. Tworzenie podsieci wymaga potęg liczby 2: aby pomieścić 50 hostów, potrzeba co najmniej 64 adresów (2 zarezerwowane na sieć/rozgłaszanie), co odpowiada /26. To narzędzie oblicza najmniejszy CIDR spełniający Twoją liczbę hostów.

Typowe przypadki użycia

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

Najczęściej zadawane pytania

Dlaczego odejmuje się 2?
Każda podsieć IPv4 rezerwuje pierwszy adres (sieć) i ostatni (rozgłaszanie). Tylko adresy pośrednie mogą zostać przydzielone hostom.

Powiązane narzędzia