🕸️
IP 子网规划器
Zero Upload计算 IPv4/IPv6 子网和地址范围。
- IPv4 & IPv6
Prefix length
/24 · 8 host bits
Specify a prefix if your input omits it.
Invalid CIDR block.
Quick host fit
Ready when you need it.
Validation
- Enter a CIDR block to begin.
Network ID
—
Prefix —
Address range
—
First · Last
Capacity
—
Usable hosts
Classification
—
Notes
Detailed breakdown
IPv4Binary & Hex
Expanded
—
Bit pattern
—
Neighboring Prefixes
| Prefix | Mask / hosts | Notes |
|---|
Subnet Explorer
Split the analyzed block into smaller CIDRs.
This block cannot be subdivided further.
| CIDR | Range | Usable hosts |
|---|
Select a prefix to preview subnets.
IP Address Formats
View the network address in multiple formats.
Decimal Dotted
—
Binary
—
Hexadecimal
—
Integer (Decimal)
—
IPv4-mapped IPv6
—
IPv6 Expanded
—
IPv6 Compressed
—
Reverse DNS (PTR)
—
什么是CIDR?
无类域间路由(CIDR)是一种分配IP地址和IP路由的方法。它取代了基于类(A、B和C)的旧系统,以在地址分配中提供更多的灵活性和效率。
如何使用此工具
输入带有前缀的IP地址(如192.168.1.0/24)或使用滑块调整前缀长度。点击"运行分析"查看网络详情、可用主机范围和二进制表示。
常见使用场景
为云基础设施(VPC)规划网络子网、排查路由问题、计算给定前缀的主机容量,以及在CIDR和子网掩码之间转换。
专业技巧
请记住,在IPv4中,子网中的第一个和最后一个地址通常为网络ID和广播地址保留。在IPv6中,标准本地网络的子网几乎总是/64。
Common Subnets
| CIDR | Subnet Mask | Hosts | Use Case |
|---|---|---|---|
/32 | 255.255.255.255 | 1 | Single host |
/24 | 255.255.255.0 | 254 | Small network |
/16 | 255.255.0.0 | 65,534 | Medium network |
/8 | 255.0.0.0 | 16M+ | Large network |
Private Ranges (RFC 1918)
| Range | CIDR | Class |
|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 | A |
| 172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 | B |
| 192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 | C |
Related Tools
Curl Studio
Parse and generate curl commands.
User-Agent Parser
Parse and analyze User-Agent strings.
CSP Header Builder
Interactive Content-Security-Policy builder with directive explanations.
DNS Record Reference
Interactive reference for DNS record types with syntax, examples, and command builders.