免费 · 网络与 IT 基础设施
IP 范围转 CIDR.
把 IP 范围、地址列表和重叠的地址块合并为最少的 CIDR 块,支持排除地址并给出覆盖全部的超网。
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::/48Blocks
| CIDR block | First address | Last address | Addresses |
|---|---|---|---|
| 10.0.0.0/23 | 10.0.0.0 | 10.0.1.255 | 512 |
| 192.168.1.0/25 | 192.168.1.0 | 192.168.1.127 | 128 |
| 192.168.1.128/31 | 192.168.1.128 | 192.168.1.129 | 2 |
| 192.168.1.130/32 | 192.168.1.130 | 192.168.1.130 | 1 |
| 203.0.113.7/32 | 203.0.113.7 | 203.0.113.7 | 1 |
| 2001:db8::/48 | 2001:db8:: | 2001:db8:0:ffff:ffff:ffff:ffff:ffff | 2^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.