Class C IP Analysis
Nerd Cafe | نرد کافه
Let’s do a step-by-step IP analysis of:
IP: 192.168.1.10/24We will find:
Network IP
Broadcast IP
First IP (usable)
Last IP (usable)
Number of available IPs (hosts)
Subnet mask
Write IP in binary
Break down each octet to binary:
1
192
11000000
2
168
10101000
3
1
00000001
4
10
00001010
Full IP in binary:
11000000.10101000.00000001.000010101. Subnet Mask in binary
Means:
24 bits for network (all 1’s)
8 bits for host (all 0’s)
1
255
11111111
2
255
11111111
3
255
11111111
4
0
00000000
Subnet mask:
Binary:
Meaning:
First 24 bits = Network part
Last 8 bits = Host part
2. Find Network Address
Rule:
IP in binary:
Subnet Mask:
Bitwise AND:
Convert to decimal:
1
11000000
192
2
10101000
168
3
00000001
1
4
00000000
0
Network Address
3. Find Broadcast Address
Rule:
Broadcast = Network Address with all host bits = 1
Network bits (first 24) stay the same
Host bits (last 8) all 1
Binary:
Decimal:
1
11000000
192
2
10101000
168
3
00000001
1
4
11111111
255
Broadcast Address
4. First Usable IP
Rule:
First Usable = Network Address + 1
Network Address: 192.168.1.0
Add 1 to last octet:
Binary:
First Usable IP
5. Last Usable IP
Rule:
Last Usable = Broadcast - 1
Broadcast Address: 192.168.1.255
Subtract 1 from last octet:
Binary:
Last Usable IP
6. Number of Usable IPs
Rule:
Host bits = 8 (since /24)
Calculation:
Number of usable IP
Final Answer in Table (with Binary)
Subnet Mask
255.255.255.0
11111111.11111111.11111111.00000000
Network Address
192.168.1.0
11000000.10101000.00000001.00000000
Broadcast Address
192.168.1.255
11000000.10101000.00000001.11111111
First Usable IP
192.168.1.1
11000000.10101000.00000001.00000001
Last Usable IP
192.168.1.254
11000000.10101000.00000001.11111110
Number of Usable IPs
254
(2^8)-2
💖 Support Our Work
If you find this post helpful and would like to support my work, you can send a donation via TRC-20 (USDT). Your contributions help us keep creating and sharing more valuable content.
TRC-20 Address: TAAVVf9ZxUpbyvTa6Gd5SGPmctBdy4PQwf
Thank you for your generosity! 🙏
Keywords
Network IP , Broadcast IP , First IP (usable) , Last IP (usable) , Number of available IPs (hosts) , Subnet mask , Nerd Cafe , نرد کافه
Channel Overview
🌐 Website: www.nerd-cafe.ir
🌐 Website: www.nerd-cafe.ir
📺 YouTube: @nerd-cafe
🎥 Aparat: nerd_cafe
📌 Pinterest: nerd_cafe
📱 Telegram: @nerd_cafe
📝 Blog: Nerd Café on Virgool
💻 GitHub: nerd-cafe
Last updated