ホーム 暮らし What is an IP address? An explanation for beginners

What is an IP address? An explanation for beginners

藤崎 健人 藤崎 健人 • 更新: • 公開: • 読了約 15 分
目次
Introduction

When using the internet, you may hear the term "IP address."

However,

"What is an IP address in the first place?"

"What kind of number is 192.168.1.1?"

"How is it different from a MAC address?"

Many people may have these questions.

In this article, I will summarize what an IP address is using easy-to-understand examples.

1. What is an IP address?

An IP address (Internet Protocol Address) is a number used to identify computers connected to a network. Simply put, it is an address that indicates the location of a computer on a network. Just as there are no two identical addresses in the real world, IP addresses, which serve as addresses in the internet world, must not be duplicated. To ensure that IP addresses do not overlap globally, they are managed by a management organization in the United States called "ICANN".

2. Differences between IPv4 and IPv6

There are two types of IP addresses: IPv4 and IPv6. These two are different versions of the "rules (standards)" for communicating using IP addresses.

IPv4

This is the IP address standard we usually use, which divides 32 bits into four 8-bit segments and expresses them in decimal, taking a form like "192.168.1.1".
Binary 11000000 10101000 00000001 00000001
↓ ↓ ↓ ↓
Decimal 192 168 1 1
The number of addresses that can be represented by IPv4 is 4.3 billion. In other words, we can assign addresses to computers up to 4.3 billion.

IPv6

IPv6 divides 128 bits into eight 16-bit segments and expresses them in hexadecimal, taking a form like "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
.
The number of addresses that can be represented by IPv6 is significantly larger than the 4.3 billion of IPv4, and it is said to be more than the number of stones scattered across the world.

Why did IPv6 become necessary?

IPv4 can provide up to 4.3 billion IP addresses, which are the addresses of the internet world. However, the global internet population is said to be approximately 6 billion, meaning that even if each person uses only one device, there are not enough IP addresses. This is called the "IP address exhaustion problem," and IPv6 was created to solve this.

However, the reason why IPv6 has only spread slowly is that IPv4 can be extended using certain methods, and transitioning requires checking and changing routers, servers, and various other things, which costs money and effort.

If you want to learn more about methods for extending the life of IPv4 or the exhaustion problem, watching the video titled "Will the Internet become unusable? The IP address exhaustion problem" by the YouTube channel Yuru Computer Science Radio is a fun and entertaining way to learn the details.



3. How is it different from a MAC address?

MAC addresses and IP addresses have similar properties, which can be confusing.

A MAC address is a device-specific number used to identify hardware, while an

IP address is a number used to identify a computer connected to a network.

They are similar, but to explain it simply, an IP address indicates the communication partner, while a MAC address represents the next intermediate point.

In the real world, if Person A in Tokyo sends a letter to Person B in Hokkaido, the IP address corresponds to B's address. The MAC address represents the next intermediate points, such as from A's local post office to a large post office in Tokyo, then to a large post office in Hokkaido, and finally to B's local post office.



4. Global IP addresses and private IP addresses

IP addresses are broadly divided into "global IP addresses" and "private IP addresses".


Global IP address

A global IP address is an IP address used when communicating over the Internet.

To communicate with other networks on the Internet, you need an IP address that is managed so that it does not overlap anywhere in the world. These are assigned to devices like home routers.

Private IP address

A private IP address is an IP address used within internal networks such as homes or companies.

These are not IP addresses for direct use on the Internet, but are used to identify devices within a network like a home or company. Using a company extension as an analogy, the sales department and the human resources department might both have an extension number 1, but they are different things—the sales department's extension 1 and the HR department's extension 1. Private IP addresses are the same; since these IP addresses belong to a single organization, there is no problem even if the same one exists elsewhere in the world.

When we communicate on the Internet from home, we are assigned a private IP address. When communicating, the router receives the communication from our terminal, converts the private IP address into the global IP address assigned to the router, and sends it out into the sea of the Internet.


Summary

ne71a75d39a71

This time, I looked into IP addresses.

To summarize briefly,

  • What is an IP address?[Like an address for identifying communication partners on a network]

  • What is IPv4?[An IP address standard consisting of 32 bits, represented by four decimal numbers]

  • What is IPv6?[A standard consisting of 128 bits that allows for more IP addresses than IPv4]

  • What is a global IP address?[An IP address used on the internet that is managed globally]

  • What is a private IP address?[An IP address used within internal networks such as homes or offices]

  • What is the difference from a MAC address?[While an IP address indicates the destination of communication, a MAC address indicates which device to deliver it to next]


同じカテゴリの記事

藤崎 健人

芸能取材歴10年のデスク。所属事務所の公式リリース、番組公式サイト、配信サービスの告知を一次情報として採用し、裏付けの取れない内容は記事にしていません。

おすすめの関連記事