Tool Hub

子網路計算器

IPv4/IPv6 CIDR — 網路位址、廣播位址、主機範圍、遮罩、可用主機數

從 CIDR 表示法計算子網路邊界。IPv4 回傳網路/廣播/可用主機範圍及子網路遮罩;IPv6 回傳網路位址及總位址數 (BigInt)。

子網路資訊
網路位址
192.168.1.0⎘
廣播位址
192.168.1.255⎘
子網路遮罩
255.255.255.0⎘
第一個主機
192.168.1.1
最後一個主機
192.168.1.254
總主機數

256

可用主機數

254

使用方法

  1. Select IPv4 or IPv6 using the segmented control。
  2. Enter an IP address with a CIDR prefix in the input field (e.g. 192.168.1.10/24 or 2001:db8::/32)。
  3. Read the results: network address, broadcast address, netmask, usable host range, and total/usable host count。
  4. Share the pre-filled calculation via the share link。
  5. All computation runs in your browser。

範例

  • Entering 192.168.1.10/24 shows network 192.168.1.0, broadcast 192.168.1.255, netmask 255.255.255.0, and 254 usable hosts。
  • Entering 10.0.0.0/8 shows a class A network with over 16 million usable host addresses。

生產環境使用前請驗證輸出。無擔保 — 參見 條款.