跳转到主要内容

IPv6子网计算器

根据IPv6 CIDR地址块计算网络前缀、第一个和最后一个地址及地址总数。

Inputs

Enter an IPv6 address with prefix length, e.g. fe80::1/64

IPv6 Subnet Details

Results will appear here.

IPv6 subnetting follows the same conceptual model as IPv4 but operates on 128-bit addresses, making manual calculation impractical without tooling. Cloud providers, ISPs, and enterprise networks are increasingly allocating IPv6 space, and engineers need to quickly determine prefix boundaries, address counts, and allocation sizes when designing or auditing these networks.

This tool accepts any IPv6 address and prefix length, then computes the network prefix, first address, last address, and the total number of addresses in the range. It handles the full /0 to /128 spectrum and displays addresses in both compressed and expanded notation for clarity.

如何在线计算 IPv6 子网

  1. 1

    输入 IPv6 网络地址

    以 CIDR 格式输入 IPv6 网络(例如 2001:db8::/32)。工具接受完整格式和压缩格式的 IPv6 地址。

  2. 2

    计算子网参数

    工具计算 IPv6 网络地址、前缀长度、地址范围和可用地址总数。

  3. 3

    查看结果

    将结果用于 IPv6 网络规划、地址分配和路由配置。

How IPv6 Subnet Calculation Works

IPv6 uses the same prefix-masking logic as IPv4 but with 128-bit integers. The network prefix is derived by zeroing the host portion of the address (bits beyond the prefix length). Because IPv6 address space is so vast, even a /64 contains 2^64 addresses — approximately 18.4 quintillion. Most IPv6 allocations use /48 for sites, /56 for customer premises, and /64 for individual links.

Compressed notation (RFC 5952) removes leading zeros within each 16-bit group and replaces the longest run of consecutive all-zero groups with ::. Displaying both forms helps engineers cross-reference addresses in routing tables, firewall rules, and logs that may use either notation.

为什么选择 FileCrank IPv6 子网计算器

  • ✓ 计算 IPv6 网络范围、前缀和地址总数
  • ✓ 支持完整格式和压缩格式的 IPv6 CIDR 表示法
  • ✓ 显示扩展格式和压缩格式的地址表示
  • ✓ 完全在浏览器中运行——不传输数据
  • ✓ 免费使用,适用于 IPv6 网络规划

功能与规格

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

常见问题

How do I use the IPv6 Subnet Calculator?

Enter an IPv6 address with a CIDR prefix (e.g., 2001:db8::/32) and the tool instantly calculates the network range, prefix length, and address count.

How do IPv6 subnets work?

IPv6 uses a 128-bit address space divided by a prefix length (similar to CIDR). A /64 prefix is the standard subnet size for most networks. Unlike IPv4, IPv6 subnets do not distinguish between network and broadcast addresses.

What is an IPv6 prefix length?

The prefix length specifies how many bits from the left are the network portion. A /64 means the first 64 bits are the network, and the remaining 64 bits are for host addresses. This differs from IPv4 where /24 is common.

How many addresses are in a /64 IPv6 subnet?

A /64 IPv6 subnet contains 2^64 (18.4 quintillion) addresses. This is vastly larger than any IPv4 subnet and allows extremely granular addressing within a single subnet.

Does the calculator send my IPv6 data anywhere?

No. All IPv6 subnet calculations run entirely in your browser. Your network configuration data never leaves your device.

What is the difference between IPv4 and IPv6 subnetting?

IPv4 uses variable-length subnets with limited host space. IPv6 uses fixed /64 subnets with enormous address space (2^64 per subnet). IPv6 does not use broadcast addresses or wildcard masks in the same way IPv4 does.

IPv6 Subnet Calculator vs. Online IPv4 Tools

Most popular subnet calculators focus on IPv4 and either omit IPv6 or handle it poorly. IPv6 address ranges are too large to enumerate and require 128-bit arithmetic that many tools get wrong at boundary conditions. This tool is built specifically for IPv6, handling compressed notation input, edge-case prefixes (/127 and /128), and the full 128-bit integer range correctly.

FileCrank IPv6 子网计算器计算 IPv6 网络地址、前缀长度、地址范围和可用地址总数。计算在浏览器本地完成,不存储数据。免费使用,无需账户。

Advertisement

Ad