查找工具

↑↓ 选择 Enter 打开

不知道工具名称时,可输入“格式化”或“计数”等任务词。

CIDR Subnet Calculator

仅本地处理

CIDR Subnet Calculator 用于在浏览器中检查数据,并清楚显示处理结果和限制。 本页包含该工具的实际输入输出、实现边界和一手参考资料。

已审核 · 更新于 · 免费使用 · 无需账号

IPv4 Subnet Workspace

Calculation uses unsigned 32-bit arithmetic locally. No network request is made.

Network result

Status
Waiting
Subnet calculation runs locally in this browser tab.

CIDR Subnet Calculator可以处理什么?

CIDR Subnet Calculator 用于在浏览器中检查数据,并清楚显示处理结果和限制。 已核对的功能: CIDR parsing, Network and broadcast, Usable host range, Local unsigned arithmetic.

The prefix controls block size and host semantics

Use broader prefixes for larger address blocks and narrower prefixes for smaller ones. Confirm routing and platform policy for /31 and /32 networks rather than applying the ordinary two-address reservation mechanically.

如何使用?

  1. Enter an IPv4 address and prefix in address/CIDR form, such as 192.168.1.42/24.
  2. Select Calculate subnet.
  3. Copy the mask, wildcard, network, broadcast, usable range, and address counts into the network plan.

实际输入输出示例

Calculate a /24 containing one host address

输入

192.168.1.42/24

输出

Subnet mask: 255.255.255.0
Network: 192.168.1.0
Broadcast: 192.168.1.255
Usable range: 192.168.1.1–192.168.1.254
Usable hosts: 254

A /24 leaves eight host bits, so the block contains 256 addresses under traditional subnet semantics.

常见错误与修复方法

现象可能原因修复方法
The page asks for IPv4/CIDR format.The prefix is missing, the address has the wrong number of octets, or an octet is outside 0–255.Use four decimal octets followed by /0 through /32.
/31 or /32 host counts look different from total minus two.Point-to-point /31 and single-host /32 prefixes do not use the traditional network-and-broadcast reservation rule.Apply RFC 3021 semantics for /31 and treat /32 as one host route.

Important behavior of Subnet Calculator

该工具的实际边界: /31 and /32 networks follow point-to-point and single-host counting rather than the traditional two-address reservation.

标准与实现参考

关于Subnet Calculator的常见问题

Does the Subnet Calculator upload my input?

No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.

What input does the Subnet Calculator accept?

It accepts an IPv4 address followed by a prefix from /0 to /32. The workspace checks the input and reports malformed or unsupported values before it produces a result.

What does the Subnet Calculator produce?

It produces mask, wildcard, network, broadcast, usable range, and address counts. Copy and download controls appear when the output format supports them.

What limitation should I know?

/31 and /32 networks follow point-to-point and single-host counting rather than the traditional two-address reservation.

更新记录

本次实质更新: Subnet Calculator: Added CIDR parsing, Network and broadcast, Usable host range, Local unsigned arithmetic, responsive controls, explicit runtime disclosure, and task-specific examples and limitations.

谁在维护这个工具?

KL
KitLumi EngineeringKitLumi 工程团队负责维护工具行为、隐私说明、示例和自动化测试。