What is an IP address?

An IP address, or Internet Protocol address, is a unique identifier assigned to each device connected to a network. It’s used by computers to communicate with each other and to access the Internet.

An IP address is like a mailing address, but for computers. Connected devices don’t send letters; they send packets of data, using the IP address to identify both the sender and the recipient. Every device connected to your home network has a local IP address.

IP addresses are generally formatted as a series of four numbers separated by dots (for example, 192.168.1.1). In your home, all IP addresses probably start the same way, with only the last number changing for each device.

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now

Join Our Community!

Connect, learn, and grow with other Raspberry Pi enthusiasts. Support RaspberryTips and enjoy an ad-free reading experience. Get exclusive monthly video tutorials and many other benefits.

Learn more

Difference between local IP address and public

In various Raspberry Pi and Linux projects, you may notice that you can have two different types of IP addresses:

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now
  • Local IP addresses are used on your private network, such as your home Wi-Fi. They are assigned by your router to each device connected to it (computers, TVs, smartphones, etc.). This allows them to communicate internally.
  • Public IP addresses are how the outside world sees every device connected to the Internet from your home network. They all use the same one, the one assigned by your ISP (Internet Service Provider).

In short, the principle is the same, it’s just a different network. The Internet is simply a huge network with the whole world connected to it.

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now

Difference between IPv4 and IPv6

IP addresses can exist in two different formats (versions): IPv4 or IPv6.

IPv4 is the most commonly used, with the format I mentioned earlier (like 192.168.1.1). The problem is that this is limited, with “only” 4 billion unique addresses possible, which is no longer enough for the whole world.

That’s why IPv6 addresses were created, they are much longer and offer a virtually unlimited number of addresses (like 2001:db8:3333:4444:5555:6666:7777:8888).

Download Your Essential Linux Commands Guide!
It's a free PDF guide containing every Raspberry Pi Linux command you should know!
Download now

🛠 This tutorial doesn't work anymore? Report the issue here, so that I can update it!

If you are looking for exclusive tutorials, I post a new course each month, available for premium members only. Join the community to get access to all of them right now!

Related articles and tutorials