RevealTheme logo

Máy tính Mạng con (Subnet)

Tính địa chỉ mạng, địa chỉ quảng bá, dải host và số lượng host từ bất kỳ CIDR IPv4 nào.

network192.168.1.0
broadcast192.168.1.255
mask255.255.255.0
firstHost192.168.1.1
lastHost192.168.1.254
hosts254
total256

Cách sử dụng công cụ này

  1. 1

    Type an IPv4 address with a prefix length into the box, for example 192.168.1.0/24. The field is pre-filled with that example to start.

  2. 2

    Read the results table as you type. The network and broadcast addresses, dotted-decimal subnet mask, first and last usable host, usable host count, and total address count appear immediately.

  3. 3

    Adjust the prefix length (the number after the slash) to widen or narrow the subnet and watch the host counts change.

  4. 4

    If you see an Invalid CIDR or Invalid IP message, fix the input. The prefix must be 0 to 32 and each of the four octets must be 0 to 255.

Máy tính Mạng con (Subnet) là gì?

Ký pháp CIDR (Classless Inter-Domain Routing) biểu diễn một mạng con dưới dạng IP/bit; ví dụ, 192.168.1.0/24 có nghĩa là 24 bit đầu tiên xác định mạng, để lại 8 bit (256 địa chỉ) cho các host. Công cụ này tính toán mọi thứ bạn cần biết về một mạng con: địa chỉ mạng, địa chỉ quảng bá, dải host khả dụng và tổng số địa chỉ.

Các trường hợp sử dụng phổ biến

  • Sizing a subnet for an office VLAN by checking how many usable hosts a /26 or /25 provides before you assign it.

  • Finding the network and broadcast addresses you must exclude when configuring a static DHCP address pool.

  • Translating a CIDR prefix into the dotted-decimal subnet mask a router or firewall interface expects, for example /22 to 255.255.252.0.

  • Confirming the usable host range when writing an access-control list or firewall rule for a specific subnet.

  • Verifying that a /31 point-to-point link between two routers gives you exactly two usable addresses with no broadcast waste.

  • Teaching or studying subnetting for a networking course or a CCNA exam by experimenting with prefixes and seeing host math update live.

Câu hỏi thường gặp

/31 và /32 là gì?
/31 là một mạng con gồm 2 địa chỉ (liên kết điểm-điểm, không có địa chỉ quảng bá). /32 là một host đơn lẻ.

Công cụ liên quan