./prontouso.com
WEB & MẠNG

Tính Toán & Chia Mạng Con IP (Subnet)

Phân tích địa chỉ IPv4 theo ký hiệu CIDR: tính địa chỉ mạng Network IP, Broadcast IP, mặt nạ mạng Subnet Mask, dải IP máy chủ khả dụng và tổng số host.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

IPv4 CIDR

Initial support for IPv4.

Subnet

Mask
255.255.255.0
Network
192.168.1.0
Broadcast
192.168.1.255
First host
192.168.1.1
Last host
192.168.1.254
Addresses
256
Usable hosts
254

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Tính Toán & Chia Mạng Con IP (Subnet) là gì?

Enter an IPv4 CIDR block to see the subnet mask, network address, broadcast address, host range, and address counts.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How to calculate IPv4 subnets

CIDR input

Use the format address/prefix, such as 192.168.1.10/24. Each octet must be between 0 and 255, and the prefix length must be between 0 and 32.

Host ranges

For most subnets, the first usable host is one address after the network and the last usable host is one before broadcast. /31 is treated as a two-address point-to-point link, and /32 as a single host route.

What to use it for

  • Check network and broadcast addresses before configuring a device.
  • Estimate usable host capacity for an IPv4 subnet.
  • Verify whether a CIDR block is too broad or too narrow for a planned range.

CIDR example

Mask
cidr = 24 -> 255.255.255.0
Usable hosts
/24 -> 2^(32 - 24) - 2

192.168.1.10/24

Network is 192.168.1.0, broadcast is 192.168.1.255, and usable hosts run from .1 to .254.

2^8 - 2 = 254 usable hosts

Subnet notes

The calculator covers IPv4 CIDR only. IPv6 planning needs a different subnet model and is not part of this tool.

Các Câu Hỏi Thường Gặp (FAQ)

Does it support IPv6?

No. This version is focused on IPv4 CIDR blocks.

Why does /31 show two usable hosts?

A /31 is commonly used for point-to-point links under RFC 3021, where both addresses can be used.

What does /32 mean?

It represents exactly one IPv4 address, often used as a host route.

Can I enter a range without CIDR?

No. Enter one IPv4 address with a CIDR prefix, such as 10.0.0.15/28.

Công Cụ Liên Quan