IP addressing is how every device on a network is identified, and subnetting is how large networks are divided into efficient, manageable pieces.
IP Addressing & Subnetting
How one address splits into a network part and a host part.
Tap or hover a part to learn more.
Identifies the network.
In 192.168.1.0/24 the first 24 bits (192.168.1) are the network portion — every device on this network shares them. All hosts in the same subnet have an identical network part.
Check your understanding
1. How many usable hosts are in a /24?
2. What does the /24 in 192.168.1.0/24 represent?
The core idea
- IPv4 (e.g. 192.168.1.10) is 32-bit; IPv6 (e.g. 2001:db8::1) is 128-bit for far more addresses.
- Private ranges (10.x, 172.16–31.x, 192.168.x) are reused inside networks; public IPs are globally unique.
- A subnet mask (or CIDR /24) splits an address into network and host portions.
How it works in practice
- /24 = 256 addresses (254 usable); /25 splits that in half.
- The gateway is usually the first usable address in the subnet.
- APIPA (169.254.x.x) means DHCP failed to assign an address.
Common mistakes
- Confusing the network address and the usable host range.
- Overlapping subnets that cause routing problems.
- Assuming a device with an APIPA address has a working connection.
Why it matters for your career
Subnetting is a classic interview and exam topic — being able to work out ranges quickly is a strong signal for any networking role.
Technical interview questions
- What is the difference between a private and public IP?
- What does a /24 subnet mask mean?
- How many usable hosts are in a /24?
Practice questions
- How many usable hosts in a /24? (254)
- Is 10.0.0.5 public or private? (Private)
- What does 169.254.x.x indicate? (DHCP failure (APIPA))
Where this fits in your networking journey
This is one concept in the Networking Fundamentals path, which leads into CompTIA Network+ and Cisco CCNA. When this clicks, review Ethernet & Switching Basics and continue with Switching & VLANs.
Practise with Missiora
- AI Interview™ — rehearse networking interview questions with scored feedback.
- Career Coach™ — build a fundamentals → certification → job plan.
- Job Intelligence™ — see which networking skills real adverts demand.
