RevealTheme logo

サブネット計算ツール

任意のIPv4 CIDRから、ネットワークアドレス、ブロードキャストアドレス、ホスト範囲、ホスト数を計算します。

network192.168.1.0
broadcast192.168.1.255
mask255.255.255.0
firstHost192.168.1.1
lastHost192.168.1.254
hosts254
total256

このツールの使い方

  1. 1

    Type an IPv4 address with a prefix length into the box, for example 192.168.1.0/24. The field is pre-filled with that example to start.

  2. 2

    Read the results table as you type. The network and broadcast addresses, dotted-decimal subnet mask, first and last usable host, usable host count, and total address count appear immediately.

  3. 3

    Adjust the prefix length (the number after the slash) to widen or narrow the subnet and watch the host counts change.

  4. 4

    If you see an Invalid CIDR or Invalid IP message, fix the input. The prefix must be 0 to 32 and each of the four octets must be 0 to 255.

サブネット計算ツールとは何ですか?

CIDR記法(Classless Inter-Domain Routing)は、サブネットをIP/ビット数として表します。たとえば、192.168.1.0/24は、最初の24ビットがネットワークを識別し、残りの8ビット(256アドレス)がホスト用であることを意味します。このツールは、サブネットについて知る必要があるすべて、すなわちネットワークアドレス、ブロードキャストアドレス、利用可能なホスト範囲、アドレスの総数を計算します。

よくある活用例

  • Sizing a subnet for an office VLAN by checking how many usable hosts a /26 or /25 provides before you assign it.

  • Finding the network and broadcast addresses you must exclude when configuring a static DHCP address pool.

  • Translating a CIDR prefix into the dotted-decimal subnet mask a router or firewall interface expects, for example /22 to 255.255.252.0.

  • Confirming the usable host range when writing an access-control list or firewall rule for a specific subnet.

  • Verifying that a /31 point-to-point link between two routers gives you exactly two usable addresses with no broadcast waste.

  • Teaching or studying subnetting for a networking course or a CCNA exam by experimenting with prefixes and seeing host math update live.

よくある質問

/31と/32とは何ですか?
/31は2アドレスのサブネットです(ポイントツーポイントのリンク用で、ブロードキャストはありません)。/32は単一のホストです。

関連ツール