IP Address is a logical Address and it is a Network Layer Address.. There are two types of IP:
IPV4 Version is a 32 bit address
IPv6 version is 128 bit address
Note: The difference between these to is nothing but Bit. Some people may say that speed and other but that is completely wrong.
Bit represented by 0 or 1 that is binary and IP address is in binary form.
What is Octet?
We all know that that remembering IP address is very difficult task so that, Octet comes into picture. As we know that Every octet contains 8 bit. So we are putting dot symbol after a octet complete.
But this format is also very difficult to remember. so IP is converted into Decimal form to make it simple. And Decimal Form is looks like
Now a very common question is here,
Who is managing IP Address?
And the Answer is IANA (Internet Address Number authority).
Let's see how we are calculate IP address from Binary to Decimal.
IP Address Calculation
If there all bit of four octet is 0 then
If There all bits of four octet is 1 then
IP Address Classification
IP address is divided into five classes. They are:
- Class A
- Class B
- Class C
- Class D
- Class E
Class A, B, C is used for LAN and WAN where D is reserved for Multi-casting and E is for Research and Development team.
Priority Bit is used for IP Address Classification. The most Significant bit from the first Octet are selected for Priority bit.
- Class A Priority Bit 0
- Class B Priority Bit 1 0
- Class C Priority Bit 1 1 0
- Class D Priority Bit 1 1 1 0
- Class E Priority Bit 1 1 1 1 1
Note: I will calculate Class A Minimum and Maximum Range And rest You do from yourself.
Calculation Of Class A Ranges:
Maximum Range Calculation:Minimum Range Value Calculation: