PasteZap
🌐 日本語
無料 · アカウント不要

無料 · ネットワーク・IT インフラ

IP 範囲→CIDR 変換.

IP 範囲、アドレス一覧、重なり合うブロックを最小数の CIDR ブロックにまとめ、除外指定と全体を含むスーパーネットも求めます。

はじめる前に

一部の技術的な操作項目は英語です。Unicode テキストに対応していますが、ファイル形式と出力言語はツールによって異なります。

技術的な制限は以下に英語で記載されています。大きなファイルを処理する前や結果を使用する前に確認してください。

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
Minimal CIDR blocks6from 7 entries
IPv4 addresses covered
644
IPv6 addresses covered
1208925819614629174706176
Smallest single IPv4 supernet
0.0.0.0/0
Covers everything but may include extra addresses
Smallest single IPv6 supernet
2001:db8::/48

CIDR list

10.0.0.0/23
192.168.1.0/25
192.168.1.128/31
192.168.1.130/32
203.0.113.7/32
2001:db8::/48

Blocks

CIDR blockFirst addressLast addressAddresses
10.0.0.0/2310.0.0.010.0.1.255512
192.168.1.0/25192.168.1.0192.168.1.127128
192.168.1.128/31192.168.1.128192.168.1.1292
192.168.1.130/32192.168.1.130192.168.1.1301
203.0.113.7/32203.0.113.7203.0.113.71
2001:db8::/482001:db8::2001:db8:0:ffff:ffff:ffff:ffff:ffff2^80 (1208925819614629174706176)
  • Overlapping and adjacent entries are merged first, then each range is split into the fewest aligned blocks.
  • Comments after # are ignored. Commas or semicolons can separate several entries on one line.

使い方: IP 範囲→CIDR 変換

データを入力するかファイルを選び、設定を調整して結果を生成します。コピーやダウンロードの前に結果を確認してください。

制限と対応形式

入力内容はお使いの端末で処理されます。

英語の技術説明

Up to 5,000 lines; IPv4 and IPv6 can be mixed. The single supernet may include addresses that were not in the input. Everything is calculated in your browser; nothing is sent or probed on the network.

Entries are converted to start–end ranges, merged when they overlap or touch, reduced by the exclusions, and each remaining range is cut into the largest aligned power-of-two blocks.

192.168.1.0 – 192.168.1.130 becomes 192.168.1.0/25, 192.168.1.128/31 and 192.168.1.130/32; 10.0.0.0/25 and 10.0.0.128/25 merge into 10.0.0.0/24.