超网计算器
找出覆盖给定子网集合的最小超网(汇总路由)。
Inputs
Supernet Result
Results will appear here.
Route summarisation (supernetting) is a critical technique for keeping routing tables small and network convergence fast. When you have a set of contiguous subnets that you want to advertise as a single route, you need to find the smallest supernet — the shortest prefix that covers all of them without including addresses from unrelated networks.
This tool accepts a list of subnets and finds the minimal enclosing supernet. It is invaluable when designing BGP summary routes, configuring OSPF area boundaries, or consolidating firewall rules that apply to a set of related prefixes.
如何在线计算超网
- 1
输入相邻子网
输入两个或多个相邻的 IPv4 子网(CIDR 格式)。工具将尝试将它们合并为一个更大的超网。
- 2
计算超网
工具找到能够包含所有输入子网的最小 CIDR 块,即超网(聚合网络)。
- 3
查看超网地址
查看超网地址、前缀长度和覆盖范围,用于路由聚合和 BGP 路由汇总配置。
How Supernet Calculation Works
Finding the minimal supernet requires identifying the longest common bit prefix shared by all input network addresses. Each subnet is converted to its network address (by masking off host bits), then all network addresses are XORed pairwise. The position of the most-significant differing bit determines the prefix length of the supernet.
For the result to be a true summary route without covering unintended address space, all input subnets should be contiguous and properly aligned to power-of-two boundaries. This tool warns when the computed supernet includes address space not covered by any input subnet, alerting you to potential route leakage.
为什么选择 FileCrank 超网计算器
- ✓ 将多个相邻子网聚合为单个超网
- ✓ 计算路由聚合所需的最小覆盖前缀
- ✓ 完全在浏览器中运行——不传输数据
- ✓ 免费使用,无需注册
- ✓ 适用于 BGP 路由汇总和 ISP 网络规划
功能与规格
常见问题
How do I use the Supernet Calculator?
Enter 2 or more IPv4 subnets in CIDR notation (e.g., 192.168.0.0/24) and the tool instantly calculates the smallest supernet that covers all input ranges.
What is a supernet?
A supernet is a larger network that encompasses multiple smaller subnets. It is created by reducing the prefix length (e.g., combining /25 subnets into a /24 supernet). Supernetting is used for route summarization.
How does route summarization work?
Route summarization replaces multiple routing table entries for individual subnets with a single entry for their supernet. This reduces routing table size and improves routing performance, especially in BGP.
What is the difference between subnetting and supernetting?
Subnetting divides a large network into smaller subnets (increases prefix length). Supernetting combines multiple subnets into a larger summary route (decreases prefix length). Supernetting reduces routing table size.
Does the calculator send my network data anywhere?
No. All supernet calculations run entirely in your browser using binary arithmetic. Your subnet lists never contact any server.
When would I use route summarization?
Route summarization is used in large BGP networks to reduce routing table entries, improve convergence time, and reduce router memory usage. ISPs and enterprises commonly use summarization for backbone network design.
Supernet Calculator vs. Manual Binary Alignment
Manually finding a supernet means converting each subnet to binary, aligning the network addresses, and finding the common prefix — tedious and error-prone for more than two or three inputs. This tool handles arbitrary numbers of subnets, performs validation, and flags cases where summarisation would inadvertently cover additional address space.
相关工具
FileCrank 超网计算器将多个相邻子网聚合为最小覆盖超网,适用于 BGP 路由汇总和网络聚合规划。计算在浏览器本地完成,不存储数据。免费使用,无需账户。
Advertisement