Introduction to IP Address and IPv4

What is IP Address?

IP addresses are essentially unique addresses that are used to connect two devices. These addresses now specify the device from which you are communicating and the device to which you wish to communicate.

The Internet Protocol (IP) is a network layer protocol used to deliver packets of data within a computer network. It provides a connection-less, datagram delivery service.

As with conventional addresses, they assist packets or communication in determining where they are supposed to go and where they are supposed to place requests and receive responses. Thus, when we discuss IP addresses, we typically refer to three things: the IP addresses themselves, something called the subnet mask, and finally, a gateway.

Thus, if you’ve ever attempted to configure or enter an IP address into one of your devices, such as your laptops, you’ll have encountered these three items. Thus, what do they imply? Thus, IP addresses, as we all know, are unique addresses assigned to your system over the network.

When it comes to the subnet mask, this basic address or these digits define whether this IP address and the others are part of the same network. Thus, a computer can determine whether 192 168 dot 0 dot 2 or any other IP address with this subnet mask is part of the same network as 192 168 dot 0 dot 2. How? We’ll take a look at it later. And gateway is the router’s IP address.

What is IPv4?

The IPv4 (Internet Protocol Version 4) Address is the address of a computer within the Internet. This address is the same for all computers on the Internet. This address is used by the client to send an IP message to the server. The IP message informs the server that the server should handle a given task. The message contains two things:

What is a router, after all?

A router is a network device that physically divides or terminates networks. Thus, a router’s function is to link two networks together. Therefore, the gateway serves as the network’s router. For instance, if you have a WiFi router at home, the router connects you to your internet service provider, which may be a different company.

Thus, what are Internet Protocol (IP) addresses? As you saw, they are made up of four digits, or four octets. Why are octets used instead of hexadecimal? Thus, as is well known, computers communicate in binary code. Thus, each number is represented by eight digits, one of which must be a zero or a one.

Thus, we say that the 192s representation in octet form is 1 1 and all the 0s. How are you going to obtain that? As an example, consider the following.

Thus, you multiply 2 to the power 0 by 1, 2 to the power 1 by 2, and similarly, if you calculate all of these and then multiply whatever value here by whatever value here. Thus, 128 and 64 are created, and when all of these are added together, 192 is created.

Thus, this is a crude method of determining what the respective binary values are or how to obtain a value from a binary value.

Consider the remaining numbers in the address, which were 192, 168, 0, 1, and 255. Thus, these are the equivalents to the other numbers. As a result, an octet can represent a value ranging from 0 to 255. What does this mean in practical terms?

This means that each octet can contain an IP address ranging from 0 to 255, or two hundred and fifty-six numbers. Likewise with the remaining octet. Utilizing this addressing scheme, we can have up to 255 to power 4 unique addresses. However, don’t you believe that when we consider the entire internet, these addresses are a bit fewer in number? Without a doubt!

Thus, we now have something called IP v 6, which is a completely different topic that needs to be discussed, and there is another concept known as public and private addresses that we will investigate in different post.

Exit mobile version