2 Subnetting
2 Subnetting
com/@techwithravish
Subnetting: -
One goal of a subnet is to split a large network into a
grouping of smaller, interconnected networks to help
minimize traffic.
Advantages of Subnetting:
• Reduce Network Traffic
• Optimized Network Performance
• Simplified Management
• Facilitated Spanning of Large geographical distance.
• Bandwidth Utilization will increase
How to Prevent wastage of IP Address?
Because of IPV4 addresses are Limited we have
some methods to save the IP Address: -
• Using Private IP Addresses
• Using the Subnetting
• IPV6 Addresses
https://www.youtube.com/@techwithravish
https://www.youtube.com/@techwithravish
Why Need Subnetting?
Host Available in Class A, Class B and Class C:
Class C: 256 Fixed
Class B: 65,536 Fixed
Class A: 16,777,216 Fixed
Let us take some example,
Need 2 IP Address but provide 256 IP, Waste 254
Need 4 IP Address but provide 256 IP, Waste 250
Need 60 IP Address but provide 256 IP, Waste 296
From 0-254 Address 256 IP will be allotted
This is result of wastage of IP
https://www.youtube.com/@techwithravish
Why Need Subnetting?
In Case of Class B, Number of Host = 65536
so,
If Need 500 IP Address but provide 65536 IP
If Need 1000 IP Address but provide 65536 IP,
If Need 2000 IP Address but provide 65536 IP,
11111111.11111111.11111111.11000000
Customized Subnet Mask: 255.255.255.192
Count the 1s in the above bit format,
CIDR Value = /26
https://www.youtube.com/@techwithravish
https://www.youtube.com/@techwithravish
Step 3: Block Size = 2^n = 2^6=64
11111111.11111111.11111111.11100000
Customized Subnet Mask: 255.255.255.224
Count the 1s in the above bit format,
CIDR Value = /27
https://www.youtube.com/@techwithravish
https://www.youtube.com/@techwithravish
Step 3: Block Size = 2^n = 2^5=32
11111111.11111111.11111111.11111100
Customized Subnet Mask: 255.255.255.252
Count the 1s in the above bit format,
CIDR Value = /30
https://www.youtube.com/@techwithravish
https://www.youtube.com/@techwithravish
Step 3: Block Size = 2^n = 2^2 = 4
11111111.11111111.11111110.00000000
Customized Subnet Mask: 255.255.254.0
Count the 1s in the above bit format,
CIDR Value = /23
https://www.youtube.com/@techwithravish
https://www.youtube.com/@techwithravish
Step 3: Block Size = 2^n = 2^9=512
Allotting the IP Address:
172.17.0.0/23 Network IP
172.17.0.1/23
.
172.17.0.255/23 Valid IP Addresses = 510
172.17.1.0/23
.
172.17.1.254/23
172.17.1.255/23 Broadcast IP
Wastage = 510 – 500 = 10 (This wastage cannot be saved)