Subnet Mask And Cidr Explained is an essential topic for IT professionals, help desk staff, system administrators, and anyone starting a networking career. This beginner-friendly tutorial explains the concept in plain English and shows how to apply it in real troubleshooting situations.
- The core concept in simple language
- Common real-world problems
- Useful commands and examples
- A practical troubleshooting checklist
What is a subnet mask?
A subnet mask tells a device which part of an IP address represents the network and which part represents the host. In simple terms, it helps your computer decide whether traffic should stay inside the local network or go to the router.
What is CIDR notation?
CIDR notation is a shorter way to write a subnet mask. For example, 192.168.1.10/24 means the IP address is 192.168.1.10 and the first 24 bits are used for the network portion. /24 is the same as 255.255.255.0.
Common subnet examples
A /24 network usually gives 254 usable host addresses. A /25 gives 126 usable hosts. A /26 gives 62 usable hosts. These values matter when you design office networks, VLANs, lab networks, or cloud subnets.
Practical example
If your laptop has IP 192.168.1.25 with subnet mask 255.255.255.0, it belongs to network 192.168.1.0/24. Devices from 192.168.1.1 to 192.168.1.254 are usually in the same local network.
Why IT professionals should know this
Subnetting helps with troubleshooting, firewall rules, VLAN planning, VPN configuration, cloud networking, and security segmentation. You do not need to be a network engineer to benefit from this skill.
Useful commands
ipconfig /all
ip addr show
route print
ip route
Quick troubleshooting checklist
- Confirm the issue: one device, many devices, or one website/service?
- Check IP address, subnet mask, gateway, and DNS settings.
- Test local connectivity before testing internet connectivity.
- Record the error message and command output before making changes.
- Apply one fix at a time and test again.
Final thoughts
Networking becomes easier when you follow a clear troubleshooting process. Save this guide, practice the commands in a safe lab, and build confidence step by step.
Educational note: This tutorial is for learning purposes. Test changes carefully in your own environment and avoid applying commands to production systems without proper approval and backup.



