AAckLab

Start

OverviewLearn

Explore

LabsProtocolsOSI Map

Current Labs

Subnet VisualizerBinary ConverterTCP HandshakeOSI ModelDNS FlowRoutingARP Broadcast

Reference

Tools

Local MVP mode

Mock data only. Auth, payments, storage, and APIs are represented by contracts.

Learning workspace

IPv4 addressing

Subnet Visualizer

Understand how an IP address is split into network and host portions.

Interactive workspace

Change the address or prefix length and watch the network and host portions separate.

Try an address

Start with an IP address and choose how many leading bits identify the network.

/24
/0/16/32

Examples

Bits breakdown

The first 24 bits are the network prefix. The remaining 8 bits are host space.

Network prefixHost space

Octet 1

1
1
0
0
0
0
0
0

Octet 2

1
0
1
0
1
0
0
0

Octet 3

0
0
0
0
1
0
1
0

Octet 4

0
0
1
0
1
0
1
0

/24 means the first 24 bits identify the network. The remaining 8 bits are available for host addresses inside that network.

Result

Network address and host range for this subnet.

Network address

192.168.10.0

Usable host range

192.168.10.1
to 192.168.10.254

Subnet mask
255.255.255.0
Broadcast
192.168.10.255
Total hosts
256
Usable hosts
254

What to notice

The CIDR prefix fixes the network portion of the address. Every host in 192.168.10.0/24 shares those prefix bits, while the host bits change to identify devices.

Quick practice

Change the prefix from /24 to /25. What happens to the usable host count and why?