IPv6 工具箱

本機展開、壓縮、規範化、分類並計算 IPv6 前綴範圍。

輸入內容只留在瀏覽器

互動式工具

啟用 JavaScript 後可使用互動控制項;下方說明不需 JavaScript 也可閱讀。

IPv6 工具箱合併位址格式化和前綴範圍計算。格式化模組按 RFC 5952 輸出規範形式,前綴模組使用 128 位元整數計算起止位址。

適用情境

  • 在寫入文件或設定前規範化 IPv6 位址。
  • 檢查 /64、/128 或其他 IPv6 前綴的起始和結束位址。

使用步驟

  1. 輸入不含 zone ID 的 IPv6 位址。
  2. 使用格式化模組查看展開形式和 RFC 5952 形式。
  3. 使用前綴模組查看起始位址、結束位址和精確位址數量。

實際範例

Documentation prefix

2001:db8::1 is recognized as documentation space and is not suitable for public lookup.

運作原理與規則

  • The parser expands :: once, converts eight 16-bit groups to a 128-bit BigInt, and compresses the longest zero run according to RFC 5952.

限制與注意事項

  • Zone IDs such as %en0 are not supported.
  • DNS, reverse DNS, and network lookup are not performed.
  • IPv4-mapped IPv6 is parsed but no X-forwarded or proxy interpretation is attempted.

常見問題

Can one zero group be compressed?

No. RFC 5952 avoids compressing a single 0000 group.

Does this page query the network?

No. IPv6 formatting and prefix calculations run locally in the browser.

參考資料

相關工具

提交工具回饋

郵件只包含頁面資訊,不會包含工具輸入或結果。

提交工具回饋