IPv4 網絡工具箱

本機計算 IPv4 子網、遮罩、主機容量、範圍、位址轉換和同子網判斷。

輸入內容只留在瀏覽器

互動式工具

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

IPv4 網絡工具箱把子網計算、遮罩轉換、主機容量規劃、範圍轉 CIDR、IPv4 表示形式轉換、本機分類和同子網判斷放在一個規範頁面。每個模組保留自己的輸入、驗證、結果、複製和重置狀態。

適用情境

  • 設定路由器或防火牆前規劃局域網前綴和可用主機數。
  • 在不離開瀏覽器的情況下轉換位址範圍、遮罩和 IPv4 表示形式。

使用步驟

  1. 從子網模組開始,可試用 192.168.1.10/24。
  2. 使用錨點導覽切換到遮罩、主機、範圍、轉換或同子網模組。
  3. 分別查看各模組結果;修正某個模組不會清除或覆蓋其他模組。

實際範例

Subnet and range planning

192.168.1.10/24 reports the 192.168.1.0 network, 255.255.255.0 mask, 254 usable hosts, and range boundaries.

運作原理與規則

  • IPv4 addresses are converted to unsigned 32-bit integers. Masks must be contiguous, ranges are summarized exactly, and /31 follows RFC 3021 point-to-point behavior.

限制與注意事項

  • Classful networking is not used.
  • Ambiguous leading-zero IPv4 octets and non-contiguous masks are rejected.
  • The page does not contact DNS or any external network service.

常見問題

Why are several IPv4 functions on one page?

They share the same IPv4 addressing model, so grouping them avoids duplicate pages while keeping each module independent.

Does range-to-CIDR approximate?

No. Returned CIDR blocks do not cover addresses outside the requested IPv4 range.

參考資料

相關工具

提交工具回饋

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

提交工具回饋