PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 网络与 IT 基础设施

VLSM 子网划分计算器.

按每个子网所需的主机数,把 IPv4 地址块划分为不同大小的子网,给出完整分配表和剩余空间。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
Subnets
Subnets allocated6 / 6192.168.0.0/22
Block size
1,024 addresses
Allocated
548 addresses
Free
476 addresses
Block used
53.5 %
Hosts requested
507
Free blocks
192.168.2.36/30, 192.168.2.40/29, 192.168.2.48/28, 192.168.2.64/26, 192.168.2.128/25, 192.168.3.0/24

Allocation plan

NameHosts neededSubnetMaskFirst hostLast hostBroadcastUsableSpare
Guests Wi-Fi250192.168.0.0/24255.255.255.0192.168.0.1192.168.0.254192.168.0.2552544
Sales120192.168.1.0/25255.255.255.128192.168.1.1192.168.1.126192.168.1.1271266
Engineering60192.168.1.128/26255.255.255.192192.168.1.129192.168.1.190192.168.1.191622
Voice50192.168.1.192/26255.255.255.192192.168.1.193192.168.1.254192.168.1.2556212
Servers25192.168.2.0/27255.255.255.224192.168.2.1192.168.2.30192.168.2.31305
WAN link2192.168.2.32/30255.255.255.252192.168.2.33192.168.2.34192.168.2.3520
  • Hosts needed should include the gateway and any addresses reserved for routers or HA pairs.
  • Every subnet starts on a multiple of its own size, as routing requires.

使用VLSM 子网划分计算器的步骤

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

IPv4 only, up to 200 subnets. Subnets that do not fit are listed as such rather than overlapping. Everything is calculated in your browser; nothing is sent or probed on the network.

Each subnet gets the smallest prefix whose usable addresses cover its hosts. Largest subnets are placed first, each aligned on a multiple of its own size, so no address is wasted between them. The remaining space is summarised as CIDR blocks.

192.168.0.0/22 split for 250, 120, 60, 50, 25 and 2 hosts gives /24, /25, /26, /26, /27 and /30 with 476 addresses left.