IP Address is a unique address through which you are uniquely identified in this large pool of network.
Let’s understand it better…
We all have names right. we all have our unique identity by which we are known to our family, relatives and other people. Let’s apply the same concept to computers or any other device that are connected to each other.
Whenever you are called by your friend or any other person you look at him understand what he wants to know and then reply to him with an answer.
Same goes with computers, one computer calls to another computer by its IP address or we can say that one device calls another device with the help of its IP address if there are in a network.
Fine, now you know what the IP address is…
Let us dive deeper into this topic and try to learn more interesting things about an IP address.
So there are 759.43 crores people in the world according to google and most of them are using the internet today. But the IP address that we have seen above is IPv4 address which means IP version 4.
What Is IPv4?
IPv4 addresses (IP version 4) have 4 fields separated by dots. Each field has 8bits it means that there are in total 32 numbers either 0 or 1 in an IP address. For representation, we write the address in Decimal form. Like 192 is a decimal number and it converted into Binary form of 8bits. Same goes with other numbers that are shown below.
32 bits long = 4 octets
So there are 2^32 addresses that give us 4294967296 unique addresses.
It means now we can connect this 4294967296 number of people together…
But we have a huge population how should we connect them?
So here is the solution…
IPv6 – IP version 6.
What Is IPv6?
As we all know that IPv6 is the successor to the IPv4 it can connect a large number of people. An IPv6 address looks like this
Hey, it is too long…
Yes, but to serve worlds population we need this. So let us understand this
IPv6 Addresses have 8 Blocks separated by colons and each block have 16 bits it means there are total 8 X 16 bits that mean 128bits.
128 bits long = 8 hextets
So now we know that an IPv6 address has 128 bits, unlike IPv4 that has 32bits. IPv6 address is in hexadecimals. Let’s take a look at hexadecimal conversion table
So here I have shown you how IPv6 that is in Hexadecimal is converted into binary equivalent with the help of the above table.
Let’s conclude the entire lesson that we have learned so far
IPv4 addresses are not enough to connect the huge world’s population so we invented IPv6.
Then we learned IPv4 addresses contain 4 blocks separated by dots and each block has 8 bits.
And then we learned IPv6 Addresses that contain 8 Blocks separated by colons and each block has 16 bit.
IPv4 – 4 blocks 8bits each block – Written in Decimal Form
IPv6 – 8 blocks 16bits each block – Written in Hexadecimal Form
I hope that you understood everything.