AfterAcademy Tech
•
29 Feb 2020

Every machine in the network has a unique identifier to identify it. Just as your house has an address so that you receive all the parcels, similarly, the computer uses a unique identifier over the internet to send the data. Without a specific address, information cannot be received. Most of the computers on the internet today use TCP/IP protocol for communication. This unique identifier in the TCP/IP protocol is called IP address. So, let's dive deep into this blog to know more about IP addresses.
The Internet Protocol(IP) address is a unique identifying number that helps in connecting your device with the devices over the internet or in the same network. This is a unique number for all devices like printer, router, modems, laptop, mobile, etc. An IP address is made of characters or numbers. Example: 203.90.105.206. There are two versions of IP standards that co-exist in the global world.
IP version 4 is the older version of IP. It uses 32 bits to create a single uniques address on the internet. IPv4 is limited to 4,294,967,296 addresses i.e. 2³² addresses. It consists of four numbers each of which can contain one to three digits ranging from 0 to 255 separated by a single dot(.). Here, each number is the decimal representation(base-10) for an 8 digit binary number(base-2). These IP addresses pretty much guarantee that our emails will come as go as expected, our google searches would take us to the website which we want.
Example of an IPv4 address: 63.171.234.171
Currently, most of the devices use IPv4 but these IP addresses are running out quickly. IPv6 solved this problem. It can accommodate up to trillions of users.
It is the replacement for IPv4. It uses 128 bits to create a uniques address. This means that there can be theoretically 2¹²⁸ uniques address i.e. 340,282,366,920,938,463,463,374,607,431,768,211,456 and this number will never run out. It consists of eight groups of hexadecimal numbers separated by a colon. The IPV4 version used numerical values, so, IPv6 adopted the hexadecimal numbers to avoid any conflict. If any group contains all zeros then the notation can be shortened by using a colon to replace the zeroes.
Example of an IPv6: adba:1925:0000:0000:0000:0000:8a2e:7334
In the above IP address, four groups contain only zeros. This zero can be replaced by a colon and can be re-written as adba:1925::8a2e:7334.
The IP address is assigned to your computer by the ISP. It can be static or dynamic. In most of the cases, it is a dynamic IP.
This type of IP address is one that is assigned to you by the ISP’s. This is fixed and can't change automatically. This is generally used by the server hosting websites, providing mails, databases, etc. The ISP’s charge an extra amount for static IP’s.
This type of IP address is dynamically assigned to you by the ISP. ISP assigns this IP address by using the DHCP(Dynamic Host Configuration Protocol) which typically runs on routers or dedicated DHCP servers. This dynamic IP address is assigned using a leasing system which means that this IP address would be assigned only for a fixed amount of time. When the lease time gets over then this IP address has to be revived. Mostly, DHCP reassigns the same IP address to the same machine but it may be possible that the DHCP is not able to give the same IP address to you again.
A static IP address is good for business which hosts their own websites whereas a dynamic IP address is good enough for the end customers.
No matter if you are using a static IP address or a dynamic IP address it is always vulnerable to hackers. So you should use a proxy server or a VPN to hide your IP address.
You might not know but you have two IP addresses. First, Public or external IP address and second, Private or internal IP address.

Google shows an IP address:203.90.104.203
This is your external IP address. We can also understand that it is an IP version 4 address.

This time your IP address is 192.168.0.113.
This is your Internal IP address.
The internal IP address used in your local internal network whereas the external IP address is used when trying to communicate with the systems on the Intenet.
That’s it for this blog. I hope you enjoyed reading this blog.
Do share this blog with your friends to spread the knowledge. Visit our YouTube channel for more content. You can read more blogs from here.
Keep Learning 🙂
Team AfterAcademy!
AfterAcademy Tech
In this blog, we will first learn about the MAC and IP addresses in brief. And then, we'll see the dissimilarities between the two.

AfterAcademy Tech
In this blog, we will learn what are the various types of classes in IPv4 and how we can differentiate among the classes on the basis of the number of bits present the network ID and the host ID of these classes.

AfterAcademy Tech
In this blog, we will mainly learn about the TCP/IP model and its working in detail. We'll focus on the features and working of each layer of the TCP/IP model.

AfterAcademy Tech
In this blog, we have described the similarities and dissimilarities between the OSI and TCP/IP models. We've also tried to tell which model is better for which scenario.
