Communication Networks · Visualized
IP Addressing & Subnetting
Addressing & Names
How devices get numbers, find each other on the LAN, and turn human-readable names into addresses.
7 interactive subtopics — each one animated, step-through and explained.
IP Addressing & Subnetting
Addressing & NamesAn IPv4 address is a 32-bit number split into a network part and a host part; the subnet mask (or CIDR suffix like /24) marks where the split happens. ANDing an address with its mask yields the network address — routers compare that against their routing table to decide where to forward. Subnetting borrows host bits to carve one big network into several smaller ones.
How IP Addressing & Subnetting Works
- Write the address in binary; the /n suffix says the first n bits are the network.
- AND the address with the mask → the network address (all host bits 0).
- Host bits all 1s give the broadcast address; everything between is usable for hosts.
- A /24 leaves 8 host bits → 254 usable addresses (0 is the network, 255 is broadcast).
- Borrowing one more bit (a /25) splits it into two halves of 126 usable hosts each.
IP Addressing & Subnetting Worked Example
Try it: Is 192.168.1.130/25 in the same subnet as 192.168.1.10?
/25 mask = 255.255.255.128. AND 192.168.1.130 → 192.168.1.128; AND 192.168.1.10 → 192.168.1.0. Different networks! A router (or a /25-aware gateway) is needed between them — this is exactly how routers make forwarding decisions.
IP Addressing & Subnetting: Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.