跳转到主要内容

CIDR范围展开工具

将任意CIDR地址块展开为该范围内所有IP地址的完整列表。

Inputs

Enter an IPv4 CIDR block, e.g. 10.0.0.0/24

IP Addresses

Results will appear here.

Security engineers and network administrators often need the complete list of individual IP addresses within a CIDR block — for populating allowlists, auditing firewall rules, or feeding IP ranges into scanning tools. Manually enumerating addresses from a subnet is tedious and error-prone, especially for larger blocks where a /20 already contains over 4,000 addresses.

This tool accepts any valid CIDR notation and instantly expands it to every address in the range, along with the network address, broadcast address, and usable host count. It is especially useful for small-to-medium subnets where you need the explicit list rather than just the range boundaries.

如何在线展开 CIDR 范围

  1. 1

    输入 CIDR 表示法

    以 CIDR 格式(例如 192.168.1.0/24)输入您的网络地址。工具接受 IPv4 CIDR 表示法。

  2. 2

    展开范围

    工具计算并列出该 CIDR 块中的所有 IP 地址,包括网络地址、广播地址和所有可用主机地址。

  3. 3

    查看或导出结果

    浏览完整的 IP 地址列表,或将结果复制到剪贴板以用于防火墙规则、访问控制列表或网络文档。

How CIDR Expansion Works

CIDR (Classless Inter-Domain Routing) notation encodes a network as a base address and a prefix length. The prefix length determines how many leading bits are fixed; the remaining bits vary across all addresses in the block. For a /24, 8 bits vary, yielding 256 addresses (254 usable hosts, plus network and broadcast).

Expansion works by treating the base address as an integer, masking off the host bits to get the network address, then incrementing through every integer up to and including the broadcast address (base OR ~mask). Each integer is converted back to dotted-decimal notation. For IPv4 this is straightforward; for IPv6 the same logic applies to 128-bit integers.

为什么选择 FileCrank CIDR 范围展开工具

  • ✓ 即时展开 CIDR 块中的所有 IP 地址
  • ✓ 显示网络地址、广播地址和可用主机数
  • ✓ 完全在浏览器中运行——不传输数据
  • ✓ 免费使用,无需注册
  • ✓ 适用于防火墙配置、ACL 管理和网络规划

功能与规格

最大文件大小
最大 100 MB
隐私
文件在约一小时后删除
价格
免费,无需注册
处理方式
服务器端
支持协议
IPv4
处理方式
浏览器本地
数据保留
无
费用
免费
展开计算在您的浏览器中本地完成——不向服务器发送数据。无需注册。免费——无隐藏费用。

常见问题

How do I use the CIDR Range Expander?

Enter a CIDR block (e.g., 192.0.2.0/24) and the tool instantly expands it to all IP addresses in that range. You can then copy or download the list.

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation represents an IP range using a slash and prefix length (e.g., 192.0.2.0/24). The /24 means the first 24 bits are the network portion, and the remaining 8 bits are host addresses.

How many IP addresses are in a CIDR block?

The number of addresses in a CIDR block is calculated as 2^(32 - prefix). For example, a /24 block contains 256 addresses (2^8), and a /30 block contains 4 addresses (2^2).

Does the tool send my CIDR data to any server?

No. All CIDR expansion calculations run entirely in your browser. Your network configuration data stays on your device.

What happens if I enter a /32 CIDR block?

A /32 block represents a single IP address and contains only one address. The tool will list that single address without expansion.

When would I need to expand a CIDR block?

Network administrators expand CIDR blocks to populate firewall rules, access control lists (ACLs), IP whitelists, or network scans. This is common in network security, infrastructure configuration, and IP inventory management.

CIDR Expander vs. ipcalc / sipcalc

Command-line tools like ipcalc and sipcalc are powerful but require a terminal and are unavailable on locked-down workstations or when working in a browser-based environment. This tool provides the same expansion instantly in any browser, with copy-to-clipboard support, making it accessible during code reviews, documentation work, or on-call investigations.

FileCrank CIDR 范围展开工具列出给定 CIDR 块中的所有 IP 地址,包括网络地址、广播地址和可用主机。计算在浏览器本地完成,不存储数据。免费使用,无需账户。

Advertisement

Ad