SmartCalcy.毎日の計算にすぐ答え
/
データとネットワーク

CIDR calculator

CIDR calculator個でIPv4とIPv6: network range、subnet mask, wildcard mask, host 数量,、a start conversionとend address〜CIDR blocks.

CIDR calculatorについて

CIDR calculator個でIPv4とIPv6: network range、subnet mask, wildcard mask, host 数量,、a start conversionとend address〜CIDR blocks.

SmartCalcyの「データとネットワーク」セクションの一部です。アカウント不要でブラウザ上で動作し、お使いの通貨と単位(ページ上部で変更可)を使います。結果は参考用の目安なので、頼る前に公的な情報をご確認ください。

CIDR calculatorの使い方

何を計算するか、いつ使うか

Works out the 範囲、subnet mask, wildcard mask、a CIDR block size個でIPv4またはIPv6、accepts an address with a dotted mask,、converts a startとCIDR blocks that cover them exactly. end address into the smallest list

使い方の手順

  1. Choose “CIDR block”または“Address 範囲”.
  2. Enter a block such as 192.168.10.0/22、or the first、a range. last address
  3. Read the firstとlast address、masks、hosts. number
  4. CIDR 個のブロック. For a 範囲, コピー the list

各入力項目の意味

  • CIDR block,またはaddress with mask – An IPv4またはIPv6 address followed by /prefix、or an IPv4 address、a dotted mask such as 255.255.252.0.
  • Firstとlast address – a range, both IPv4またはboth IPv6. The two ends

結果の読み方

  • Address 範囲 – The firstとthe block, last addressとaddresses. the number
  • Masks – サブネットマスクとwildcard mask個でIPv4.
  • Usable hosts – Addresses available個でdevices: the total minus the networkとbroadcast addresses、except /31、/32.
  • CIDR 個のブロック – 個のブロック that covers it. For a 範囲, the 最小値 set

計算式

A /n block has 2^(ビット − n) addresses、where bitsは32です個でIPv4、128個でIPv6. The network addressはthe given address with the host bits set to zero. For IPv4 the usable hosts are 2^(32 − n) − 2. IPv6 uses BigInt arithmeticです個でexact results.

計算例

192.168.10.0/22 covers 192.168.8.0〜192.168.11.255、whichは1,024 addressesです、1,022 usable hosts, with mask 255.255.252.0.

前提と限界

  • removing the network Usable hosts follow the usual conventionとbroadcast addresses. /31 links use both addressesと/32はa single host.です
  • IPv6 個のブロック have いいえ broadcast address.
  • A 範囲 that does not 引き締まっている one block returns several 個のブロック.

よくある間違い

  • Entering a host addressとexpecting it〜be the network address. The tool shows the real network address.
  • Using a non-contiguous mask such as 255.0.255.0, whichはnot valid.です
  • Mixing an IPv4 first address with an IPv6 last address.

よくある質問

WhatはCIDR notation?です

writing an address range as an address A wayとa prefix length, such as 10.0.0.0/8, where the prefixはfixed leading bits. the numberです

a /24?のHow many hosts are

256 addressesと使用可能なホスト254台.

Whatはa wildcard mask?です

access lists. For 255.255.255.0 itのthe subnet mask, used The inverseは0.0.0.255.です

WhatはIPv6?のa /64です

one IPv6 subnet, with 2^64 addresses. The standard サイズ

缶 a 範囲 always be one block?

Only if it starts on a boundaryとits sizeはtwo. Otherwise it a powerはsplit into several blocks.ですです

関連ツール

Address 範囲
192.168.8.0 – 192.168.11.255
1,024 addresses · /22

Block 詳細

ネットワークアドレス
192.168.8.0
サブネットマスク
255.255.252.0
ワイルドカードマスク
0.0.3.255
最初の使用可能ホスト
192.168.8.1
最後の使用可能ホスト
192.168.11.254
ブロードキャストアドレス
192.168.11.255
アドレス総数
1,024
Usable hosts
1,022
Prefix leng乗
/22
2進数のMask
11111111.11111111.11111100.00000000
192.168.10.0はthe block. The network address not the first addressは192.168.8.0.ですです