🕸️
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.