RevealTheme logo

CIDR計算ツール

N台のホストを収容できる最小のCIDRブロックを見つけます。IPの割り当てを効率的に計画できます。

収まる最小の CIDR 50 ホスト/26
合計アドレス数 /2664
使用可能ホスト62
無駄なアドレス空間12

このツールの使い方

  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.

CIDR計算ツールとは何ですか?

ネットワークを計画するときは、ホストの台数から出発して、逆算してCIDRプレフィックスを求めます。サブネット分割には2のべき乗が必要です。50台のホストを収容するには少なくとも64個のアドレス(ネットワーク/ブロードキャスト用に2個が予約される)が必要で、これは/26に相当します。このツールは、指定したホスト数を満たす最小のCIDRを計算します。

よくある活用例

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

よくある質問

なぜ2を引くのですか?
すべてのIPv4サブネットは、最初のアドレス(ネットワーク)と最後のアドレス(ブロードキャスト)を予約します。その間のアドレスのみがホストに割り当て可能です。

関連ツール