Let’s find out what the IP address is the address used by devices on the Internet to connect to your device, and it works to distinguish each device from the other, so the IP address of one device cannot be similar to another.
As for the usefulness of this address, it is numerous, for example, government agencies use it to determine the geographical locations of Internet users or to know the data on their devices. Some saboteurs also use it to steal other people’s data on the Internet. An IP address consists of serial numbers consisting of four characters. Example of an IP address: (188.8.131.52). In this topic, we will learn how to know your IP address, so let’s get to know together with some step-by-step methods.
Your IP address is something you may seldom think of, but very important while you are online. Without an IP address, you will not be able to get the daily information that you find intuitive every day such as contacting your friends, sending emails, knowing the weather today, checking the latest news, or watching videos. Why? Because without your IP address, websites and online services will not know what you want to provide and send, meaning they will not be able to connect to your device.
The best way to find out our IP address is:
Through IP detection sites:
Many sites provide us with this service, so once you visit the site, you will be presented with some information about your device, including your IP address and your geographic location. Let us know the steps to know the IP through these sites, as follows:
1-We go to the website link to reveal the IP address, which is: www.My’s-ip-address.net or the nine sites on this page at the top.
2-Once you enter the website interface; you will find the information for your IP address as in the picture.
Detect your IP address using some programs:
There are many programs that we were able to detect our IP address, but we will not explain it due to the security risks that these programs can pose to our devices.
– Detect the IP address without any programs:
We will explain how to display the IP address without using any sites or programs. Let us follow the explanation step by step:
1- We go to the start bar, then select All Programs, then choose.
2- Windows system tools, then we choose Run.
3-After opening the command port (Run), we write the following cod command and then press OK.
4- A quick command execution window (cmd), or as it is called, will open for us, and we use it to enter commands on the Windows system.
5-We write the following command ipconfig into the command execution window, then press the Enter button.
6-We will notice that our IP address appears as in the picture. In front of the following information line: ipv4 address, as shown in the picture.
How does your computer get its IP address?
The IP address can be dynamic or static. A static address is an address that you create yourself by editing computer network settings. This type of address is rare, and it can create network problems if you use it without a good understanding of the TCP / IP protocol.
Dynamic titles are the most popular. They are assigned by Dynamic Host Configuration Protocol (DHCP), which is a service that runs on the network. DHCP usually works on network devices such as routers or dedicated DHCP servers.
Dynamic IP addresses are issued using a leasing scheme, which means an IP address is only active for a limited time. If the lease expires, the computer will automatically request a new lease agreement. Sometimes, this means that the computer will obtain a new IP address
Especially if the computer is not connected to the network between the leases
Typically, this process is transparent to the user unless the computer warns of an IP address conflict on the network (two computers have the same IP address). Address collision is rare, and today’s technology resolves the issue automatically.
Internet addresses and sub-addresses
Here is an example of a subnet IP address you might have on your computer at home if you were using a router (wireless or wired) between your ISP connection and your computer:
IP address: 192.168.1.102
Subnet Mask: 255.255.255.0
Twenty-four bits (three octets) are reserved for the network identity
Eight bits (one octet) are reserved for nodes
Subnet identity based on subnet mask (first address): 192.168.1.0
Reserved subnet broadcast address (last address): 192.168.1.255
Example addresses on the same network: 192.168.1.1, 192.168.1.103
Example addresses are not on the same network: 192.168.2.1, 192.168.2.103
Besides reserving IP addresses, IANA is also responsible for assigning blocks of IP addresses to specific entities, usually commercial or governmental organizations. The Internet Service Provider (ISP) may be one of these entities, or it may be part of a larger bloc under the control of one of these entities. To be able to connect to the Internet, your internet service provider will assign one of these addresses. You can see a complete list of IANA assignments and reservations to IPv4 addresses here.
If you only connect one computer to the internet, that computer can use the address from your internet service provider. Many homes today use routers to share a single Internet connection between multiple computers. Wireless routers have become especially popular in recent years, avoiding the need to run network cables between rooms.
If you use a router to share an Internet connection, the router will get the IP address issued directly by your ISP. Then, it creates and manages a subnet for all computers connected to this router. If your computer’s address is in one of the previously listed reserved subnet domains, you are going through a router instead of directly connecting to the Internet.
Parts of an IP address
IP addresses have a subnet that has two parts: a network and a node. The network portion defines the subnet itself. A node, also called a host, is a single piece of computer hardware connected to a network that requires a unique address. Every computer knows how to separate the two parts of an IP address using a subnet mask. The subnet mask is somewhat similar to an IP address, but it is actually just a filter used to determine which part of the IP address the network and node are.
The subnet mask consists of a series of 1 bit followed by a series of 0 bits. Bits 1 denotes which bits should block the network bits in the IP address, and only reveals the bits that define a unique node on that network. In the IPv4 standard, the most commonly used subnet masks have full octets of 1 second and 0 seconds as follows:
255.0.0.0.0 = 11111111.00000000.00000000.00000000 = Eight bits for networks, 24 bits for nodes
255.255.0.0 = 11111111.11111111.00000000.00000000 = 16 bits for networks, 16 bits for nodes
255.255.255.0 = 11111111. 11111111.11111111.00000000 = 24 bits for networks, eight bits for nodes
People setting up large networks determine which subnet mask works best based on the number of subnets or nodes required. For more subnets, use more network bits; the more nodes per subnet, the more node bits.
This could mean using non-standard mask values. For example, if you were to use 10 bits for networks and 22 for nodes, then the subnet mask value would need to use 11000000 per second, resulting in the subnet mask value of 255.192.0.0.