What is an IP address? How many types are there?

In an era where the internet has become an integral part of daily life—whether it’s using the internet at home, working through online systems, or communicating via smart devices—all of these activities rely on an efficient computer network system. One of the fundamental components that enables this communication is the IP Address, which allows data to travel accurately and precisely from one point to another.


What is an IP Address?

An IP Address (Internet Protocol Address) is a unique identifier for devices connected to a computer network, whether it’s the internet or an internal organizational network. It can be compared to a “home address” for various devices such as computers, mobile phones, or IoT (Internet of Things) devices. An IP Address serves to identify which device is located where within the network and functions as the address for sending and receiving data between devices.

When one device needs to communicate with another device on a network, the data must be attached with the recipient’s IP Address so that the information can travel to the correct destination. The IP Address system is therefore considered the fundamental infrastructure for functioning on the current Internet network.


Types of IP Addresses by Version

IPv4: The original format that is still widely used

IPv4, or Internet Protocol version 4, is a format of IP Address developed since the 1980s with a 32-bit structure, displayed as four sets of numbers separated by periods (.). For example, 192.168.1.1, where each set consists of values from 0 to 255. This means that IPv4 can support approximately 4.3 billion unique addresses. (2^32)

However, with the proliferation of internet-enabled devices such as smartphones, CCTV cameras, IoT devices, and cloud systems, IPv4 addresses have become insufficient to meet demand. Various techniques have been implemented to address this issue, including Network Address Translation (NAT) and the assignment of private IP addresses within local networks.

Limitations of IPv4:

  • Limited availability
  • There is no built-in security system.
  • Not suitable for accommodating a large number of devices in the future.

Despite limitations, IPv4 remains a widely used standard in most networks around the world.


IPv6: The New Standard for the Future of the Internet

IPv6, or Internet Protocol version 6, was developed by the IETF (Internet Engineering Task Force) to address the shortage of IP addresses in IPv4. It has a 128-bit structure, displayed in hexadecimal format separated by colons (:), such as 2001:0db8:. 85a3:0000:0000:8a2e:0370:7334 This enables the creation of up to 3.4 x 10^38 addresses.

IPv6 not only greatly increases the number of available addresses but is also designed to be more efficient and secure than the previous system, such as network-level encryption (IPsec) and more efficient routing management.

Advantages of IPv6:

  • Supports a vast number of addresses
  • Reduce the burden of NAT usage
  • Support end-to-end connectivity.
  • Integrated security system
  • Improve the routing process.

Although the adoption of IPv6 is not yet as widespread as IPv4, there is a growing push from internet service providers and technology organizations worldwide to ensure readiness for future demand.


The Structure and Function of IP Addresses

An IP address consists of two main components: the Network Address and the Host Address. The Network Address is used to identify the source or destination network, while the Host Address is used to identify the specific device within that network. When a device needs to send data to another device, the data is attached with the destination IP address and then transmitted through routers and switches to reach the correct destination.

Additionally, an IP Address works in conjunction with the DNS (Domain Name System) to convert human-readable domain names, such as www.example.com, into IP Addresses that computers can understand, like 203.113.0.1.


Classification of IP Addresses Based on Usage Characteristics

  1. A Public IP Address is an address that can be accessed from outside a network. Devices with a Public IP can communicate with other devices worldwide, such as websites and online servers.
  2. A private IP address is used within a private network, such as at home or within an organization. Examples of private IP ranges include 192.168.0.0 – 192.168.255.255, which cannot be accessed directly from an external network.
  3. A Dynamic IP Address is an address automatically assigned by a DHCP Server and may change each time you connect to the network. It is commonly used in typical home internet systems.
  4. A static IP address is a permanent address that does not change. It is suitable for applications that require stability, such as server configuration, web hosting, or CCTV systems.

“Map of Regional Internet Registries” by Sémhur, CC BY-SA 3.0

IP Address Allocation and the Role of RIRs

An IP address is a global resource that requires systematic management to ensure widespread and efficient use. The allocation of IP addresses worldwide falls under the responsibility of an organization called IANA (Internet Assigned Numbers Authority), which operates under the oversight of ICANN (Internet Corporation for Assigned Names and Numbers).

IANA allocates IP address ranges to the RIRs (Regional Internet Registries), which are five regional organizations worldwide. Each RIR is responsible for managing IP resources and Autonomous System Numbers (ASNs) within its respective region as follows:

  1. APNIC (Asia-Pacific Network Information Centre)
    For the Asia-Pacific region, including Thailand, China, Japan, Australia, India, and Southeast Asian countries.
  2. ARIN (American Registry for Internet Numbers)
    For the North American region, this includes the United States, Canada, and certain areas in the Caribbean Sea.
  3. RIPE NCC (Réseaux IP Européens Network Coordination Centre)
    For the Europe, Middle East, and certain countries in Central Asia regions.
  4. LACNIC (Latin America and Caribbean Network Information Center)
    For the Latin America and the Caribbean region, except for countries under ARIN’s jurisdiction
  5. AFRINIC (African Network Information Centre)
    For the African continent specifically

These RIR agencies play a role in:

  • Distribute IP addresses to Internet Service Providers (ISPs), organizations, and government or private sector agencies in each region.
  • Manage the IP Address registration database.
  • Support knowledge, understanding, and network development in the region.
  • Coordinate the use of internet resources in accordance with global policies.

Managing IP resources in this manner ensures transparency, prevents redundancy, and allows for clear tracking and auditing.


The Importance of IP Addresses in Network Systems

An IP address is more than just a number used to identify devices on a network; it is a fundamental mechanism for communication, management, and data security in the online world. The key roles of an IP address are as follows:

  • Responsible for identifying and authenticating each device on the network, whether it is a computer, server, or IoT device.
  • Use this information to verify, analyze, and manage network traffic so that the system can operate efficiently.
  • It is a key component of online services such as cloud systems, web servers, email, and applications that require user location identification.
  • Supports the recording and monitoring of user behavior from a technical perspective, which is essential for both security and compliance with legal requirements.

In summary, an IP address is a mechanism that enables a network system to operate in an organized, secure manner and to expand to accommodate larger-scale usage.


Summary:

An IP address is a fundamental component that enables the internet network to communicate and function correctly, whether in a small system within a home or a global network.

As the digital world rapidly expands, the number of internet-connected devices continues to grow. The transition from IPv4 to IPv6 is therefore a crucial step in supporting the future of network systems, which must accommodate everything from automation devices and smart homes to smart cities, the Internet of Things (IoT), and technological infrastructure.