Subnetting Tools
Divide networks efficiently, optimize address allocation, and master network design with our comprehensive subnetting toolkit.
IPv4 Subnet Calculator
Calculate subnet information, network addresses, broadcast addresses, and host ranges with visual network analysis
IPv6 Subnet Calculator
Calculate IPv6 subnets with 128-bit addressing and modern network prefix planning
VLSM Calculator
Variable Length Subnet Mask calculator to break networks into multiple smaller subnets with optimal allocation
Supernet Calculator
Aggregate multiple networks into supernets for route summarization and efficient routing table management
Subnet Planner
Design VLSM networks with drag-and-drop subnet planning and optimize address allocation strategies
What's Subnetting?
Subnetting is the process of splitting a large network into smaller, easier-to-manage pieces. Each subnet has its own network address and range of IPs, which helps organize devices, improve security, and reduce wasted addresses. It's core to network planning (both small home labs, or managing a large office or campus).
These tools aim to make this easier for you, handling the math and planning for you. They calculate network and broadcast addresses, host ranges, and help design or summarize networks so you can focus on building, not IP crunching.
Essential Concepts
Network & Host Bits
The subnet mask determines which bits identify the network vs individual hosts
/24 = 24 network bits, 8 host bits
CIDR Notation
Shorthand for subnet masks using a slash and number of network bits
192.168.1.0/24 instead of 255.255.255.0
Broadcast Domain
Each subnet creates its own broadcast domain, reducing network congestion
Subnet Zero & All-Ones
Modern networks can use all subnets including the first and last ones
Subnetting Techniques
Fixed-Length Subnetting
All subnets use the same mask size. Simple but can waste addresses.
VLSM
Variable-length masks optimize address usage for different subnet sizes.
Supernetting
Combine multiple networks into larger blocks for route aggregation.
Common Subnet Masks
CIDR | Subnet Mask | Hosts | Subnets |
---|---|---|---|
/8 | 255.0.0.0 | 16,777,214 | 1 |
/16 | 255.255.0.0 | 65,534 | 256 |
/24 | 255.255.255.0 | 254 | 65,536 |
/25 | 255.255.255.128 | 126 | 131,072 |
/26 | 255.255.255.192 | 62 | 262,144 |
/27 | 255.255.255.224 | 30 | 524,288 |
/28 | 255.255.255.240 | 14 | 1,048,576 |
/29 | 255.255.255.248 | 6 | 2,097,152 |
/30 | 255.255.255.252 | 2 | 4,194,304 |
Best Practices
- Always plan for growth - allocate more addresses than immediately needed
- Use /30 networks for point-to-point links to conserve addresses
- Document your subnet allocation to prevent overlaps
- Consider using private address space (RFC 1918) for internal networks
- Plan hierarchically - use summary routes where possible
Common Mistakes
- Forgetting to account for network and broadcast addresses
- Using overlapping subnet ranges
- Not planning for future growth
- Inconsistent subnet sizing without good reason