Professional Documents
Culture Documents
Have you been faced with a task laced with many prefixes you find intimidating?
Well, you are in the right place at the right time to improve your understanding of
subnetting once and for all.
You can read more on the subject broadly from Cisco’s website here.
1: You have been given an IP Address 10.20.4.13/29 and been asked to find out
the following pieces;
1. Subnet Address
2. First Valid Host Address
3. Last Valid Host Address
4. Broadcast Address
5. Subnet Mask
32-29=3
You might be asking why 8 Bits, 8 Bits are required for each octet.
128 64 32 16 8 4 2 1
1 1 1 1 1 0 0 0
128 + 64 + 32 + 16 + 8 = 248
Raise 2 to the power of deduction (8-3 =5 Bits). Let’s call the bits n!
2*2*2 = 8
Note: 8 is the block size for the subnet so for example, the increments will now be 0
8 16 32 40 and so on!
Subnet Size – 1
(2**3) – 1 = (8-1) = 7
13 falls between 8 and 16 and therefore the address is in the valid host range of
the subnet 10.20.4.8/29
Step 5: Calculate Valid Hosts | How to calculate number of hosts in the subnet
2**3 – 2 = (8-2) = 6
There you have it. A simple 6 step by step guide to subnetting effectively.
Variable Length Subnets Mask Table
/1 128.0.0.0 2,147,483,646
/2 192.0.0.0 1,073,741,822
/3 224.0.0.0 536,870,910
/4 240.0.0.0 268,435,454
/5 248.0.0.0 134,217,726
/6 252.0.0.0 67,108,862
/7 254.0.0.0 33,554,430
Class A
/8 255.0.0.0 16,777,214
/9 255.128.0.0 8,388,606
Class B
Class C
/26 255.255.255.192 62
/27 255.255.255.224 30
/28 255.255.255.240 14
/29 255.255.255.248 6
/30 255.255.255.252 2
/31 255.255.255.254 0
/32 255.255.255.255 0
Related Posts:
Previous Post
Network Segmentation Best Practices to Create Secured Enterprise Environment
Next Post
How to Troubleshoot DHCP Misconfigurations Step by Step
Sponsored
Sponsored
Expert Posts
Categories
Cloud
Configuring
Containers
Design
Docker
Electronics
Installing and Configuring
Labs
Linux
Micro-services
Networking
Python
Routing
Security
Subnetting
Switching
Troubleshooting
Virtualisation