子网计算器
计算 IPv4 子网信息,包括网络地址、广播地址、可用主机和 CIDR 表示法。
/0/8/16/24/32
Common:
About Subnetting
- • CIDR (Classless Inter-Domain Routing) notation specifies the network portion of an IP
- • /24 means 24 bits for network, 8 bits for hosts (256 addresses, 254 usable)
- • Network address is the first address, broadcast is the last
- • Usable hosts exclude network and broadcast addresses (except /31 and /32)
IP Subnetting - 技术详情
Subnetting divides IP networks into smaller segments. CIDR notation (e.g., /24) indicates how many bits are used for the network portion. Understanding subnets is essential for network design and security.
命令行替代方案
# Check your subnet on Linux/macOS\nip addr show # Linux\nifconfig | grep netmask # macOS\n\n# Calculate with ipcalc\nipcalc 192.168.1.0/24