Network | Usable Min | Usable Max | Broadcast | Copy |
---|---|---|---|---|
{{ s.networkAddress }} | {{ s.usableMin }} | {{ s.usableMax }} | {{ s.broadcastAddress }} |
Internet address blocks define how devices share a common network and how traffic is routed between neighbors. Splitting a larger block into equal parts helps organize teams and services so that growth is predictable and troubleshooting stays simple.
Subnet planning shows the base range, the first and last usable hosts, and the broadcast for each child block, which makes allocations and change reviews faster. A typical use is to divide a campus range into smaller segments for labs or virtual LANs while keeping room for future moves.
Provide a base address and two mask lengths, then read the summary and the full list of child networks. For example, planning a classroom lab may call for four equal ranges for separate groups so collisions are avoided and resets are quick.
Keep inputs consistent and double check mask order for clean results. Values near boundaries can be tricky, so confirm the first and last host before rollout.
The topic is Internet Protocol version 4 (IPv4) subnetting. The quantities of interest are the base network address, broadcast address, usable host range, child subnet size, and the number of equal child networks derived from two mask lengths using Classless Inter‑Domain Routing (CIDR).
The computation converts the dotted‑decimal address to a 32‑bit unsigned integer, applies a bit mask from the current mask length, and derives the broadcast by setting host bits. Child subnet size comes from the target mask length. The results matter because they define addressing boundaries that routing and host configuration must respect.
Results are read as ranges. Crossing from one child range into another changes the broadcast and the first and last usable hosts. Values at the edges indicate either the network identifier or the broadcast identifier, which are not assigned to hosts in this model.
Comparisons assume a single IPv4 block at steady state. The approach is arithmetic only and does not infer routing policy, reservations, or device counts.
Symbol | Meaning | Unit/Datatype | Source |
---|---|---|---|
IP | Input address | dotted‑decimal | Input |
L | Current mask length | integer | Input |
Lnew | Target mask length | integer | Input |
M | Bit mask from L | 32‑bit unsigned | Derived |
N | Network address | dotted‑decimal | Derived |
B | Broadcast address | dotted‑decimal | Derived |
S | Child subnet size | integer | Derived |
K | Child subnet count | integer | Derived |
Worked example: base 192.168.0.1
, current /24
, target /26
.
First child range: 192.168.0.0
to 192.168.0.63
, usable 192.168.0.1
to 192.168.0.62
, broadcast 192.168.0.63
.
All arithmetic uses 32‑bit unsigned integers. No floating‑point rounding is applied. Dotted‑decimal strings are parsed into octets from 0 to 255.
Field | Type | Min | Max | Step/Pattern | Error Text | Default |
---|---|---|---|---|---|---|
IP address | string | 0.0.0.0 | 255.255.255.255 | ^(25[0-5]|2[0-4]\\d|1?\\d{1,2})(\\.(25[0-5]|2[0-4]\\d|1?\\d{1,2})){3}$ |
Invalid IPv4 address | 192.168.0.1 |
Current CIDR | integer | 1 | 30 | step 1 | Current CIDR must be between /1 and /30 | 24 |
Target CIDR | integer | L+1 | 30 | step 1 | Target CIDR must be larger than current and ≤ /30 | 26 |
CSV header | boolean | — | — | switch | — | true |
CSV filename | string | — | — | free text | — | subnets.csv |
Input | Accepted Families | Output | Encoding/Precision | Rounding |
---|---|---|---|---|
IP address | IPv4 dotted‑decimal | Network, usable min, usable max, broadcast | exact integer arithmetic | not applicable |
Mask lengths | integers /1 to /30 | Child subnet count and size | powers of two | not applicable |
Dataset | — | Tabular view and JSON payload | UTF‑8 text | not applicable |
Processing is browser‑based. No data is transmitted or stored on a server. Clipboard copies remain on your device, and downloads are generated locally.
The behavior aligns with IPv4 addressing practice and CIDR representation. Integer bit‑masking follows conventional binary arithmetic on 32‑bit values.
IPv4 subnet splitting yields equal child ranges from a base network for structured allocations.
Example: /24 to /26 yields four equal ranges of 64 addresses each, with 62 usable hosts per child.
Apply the chosen range to devices or VLANs and keep the rest for future growth.
No. All calculations and copies occur on your device. Nothing is sent to a server.
Clipboard content remains local to your system.It is exact integer arithmetic on 32‑bit values. Network and broadcast are computed by masking and setting host bits deterministically.
Inputs are IPv4 dotted‑decimal addresses and integer mask lengths. Outputs include a table view and a JSON representation of inputs and results.
No. Masks are limited to /1 through /30 to retain a usable host range in each child subnet.
Yes. Computation runs in the browser. Copy and download features depend on standard browser capabilities.
A larger mask length has more leading ones in the mask, which creates more but smaller child subnets.
The count is 2 to the power of the difference between target and current mask lengths.
The first is the network identifier and the last is the broadcast identifier, so neither is assigned to hosts in this model.