Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between a local and global ip address?

Computers
0

What is the difference between a local and global ip address?

0
Demi Cameron0

Global IP is public but if you want to use a local IP address, you need a VPN Service or it is used inside a private network. If you need more info, you should visit this homepage

0
Mohit Sethia

Public IP address, external IP address and global IP address mean the same. This is normally your ISP/VPN/Proxy address seen by the outside World

Private IP address, internal IP address and local IP address mean the same. This is assigned by ISP/VPN/Router etc to your device and is not easily accessible to the outside World.

First we need to understand why we have two addresses, i.e. Public and Private. In IPv4, each address is represented using 4 bytes(32 bits). So the number of unique IP addresses we can generate is 2^32 or 4,294,967,296 which is about 4.3 billion. Though this may seem like a very big number, the number of devices connected to the internet is much larger ( about 8.7 billion in 2012 itself). So how do we assign an unique IP address to each device connected to the internet?

One of the solution to this question was the introduction of IPv6 which uses 128 bits for addressing. So we can have 2^128 or 3.4*10^38 unique IP addresses to uniquely identify a device on the internet. But since routers were initially designed to work with IPv4, replacing or upgrading them takes time.

So, we have two types of addresses to overcome the problem. A private address is assigned to devices within your network. This IP address is used to uniquely identify your device within the network. So, most addresses we see, have the IP address starting with 192.168.x.x. These are the private IP addresses. The devices outside your network cannot see your private address.

To communicate with the rest of the world, all the devices in your network have a single public address (which is configured in your router). So anyone outside your network communicates with you using your public address. But, all the devices in the network have a common public address. So, how will the message reach the correct device? This is done by your router which maps your public address with that of your private address. This process is known as NAT( Network Address Translation)

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.