Prerequisite: Please find the subnetting part-1 blog click here.
Classless addressing:
In our previous blog we focused more on Classful addressing, fixed length subnet mask and Variable length subnet mask (VLSM).
Why Classless addressing? To reduce the wastages of IP addresses in network.
Note: I hope you read have refer to Subnetting part1
Ex: In Classful address we divide a class as a into 4 departments based on fixed length subnet mask, to provide flexibility (Suppose you need 3 or 5 departments) we go for Variable length subnet masking.
Note: Fixed length subnet mask and Variable length subnet mask comes under Classful addressing.
Classful address types are Class A, Class B, Class C, Class D and Class E.
Class A: 2^24 (consist 16777216 host or device).
Class B: 2^16(consist 65536 host or device).
Class C: 2^8 (consist 256 host or device)
Imagine you need 20 host addresses if will you go for Classful addressing? Ans: No, because classful address subnet length is static. Ex: Can a 7 year’s old kid able to eat double size pizza? Imagine you need only 20 host if you choose classful address you will be wasting 236 host address or IP address.
Now the same kid will be able to eat small piece in that Double size pizza right! The size depends upon that kid, like that the user can use the host address for their requirement. To reduce the wastage of IP address classless or (CIDR) address came in to picture.
How to find the network ID and host in Classless addressing? By using CIDR representation.
HOST_ADDRESS: 2^8 Therefore 256 IP address available for your use.
Example:2
HOST_ADDRESS: 2^15 Therefore 32768 IP address available for your use.
0 Response to "Subnetting part-2: Classless subnetting complete explanation "
Post a Comment