What Is an IP Address?

James July 24, 2018

What Is an IP Address?

An IP address (Internet Protocol address) is a standardized address format defined by the Internet Protocol. It assigns a logical address to every network and every host on the internet, allowing devices to communicate with each other while abstracting differences in underlying physical hardware.

IP addresses are used to identify computers (or smartphones) on the internet. In everyday situations, every device connected to a network must have an IP address in order to communicate properly. A useful analogy is to compare a personal computer to a telephone: the IP address is like a telephone number, while routers on the internet function like switching systems that route calls to the correct destination.

An IP address is the foundation of communication in TCP/IP networking. Every device connected to a network must have an IP address.

The IPv4 addresses most commonly used today are 32 bits long and are typically divided into four 8-bit binary numbers (that is, four bytes). IP addresses are usually represented in dotted-decimal notation in the form a.b.c.d, where a, b, c, and d are decimal integers ranging from 0 to 255.

For example, the dotted-decimal IP address 100.4.5.6 represents the following 32-bit binary number:

01100100.00000100.00000101.00000110

IPv4 and IPv6

Common IP addresses fall into two main categories: IPv4 and IPv6.

· IPv4 uses a 32-bit address length and consists of four numeric segments, each with a maximum value of 255.
· IPv6 uses a 128-bit address length, providing a much larger address space.

IP Address Format

An IP address can be described in the following ways:

· IP address = network address + host address
· IP address = network address + subnet information + host address

A simple IP address contains two essential pieces of information: the network address and the host address.

Example: 192.168.1.100

Take the IPv4 address 192.168.1.100 as an example. In this case, the address can be interpreted as:

· Network address: 192.168.1 (the first three segments)
· Host address: 100 (the last segment)

If subnetting is applied, the structure of an IPv4 address becomes more complex. For example, when a subnet mask of 255.255.255.0 is used, the address can be interpreted as:

· Network address: 192.168.1
· Subnet range: defined by the subnet mask
· Host address: 100

The above illustrates a simple IPv4 addressing example. In real networks, subnetting can be more complex, and IP address structures may vary. IPv6 addresses use a different representation, but the basic principles are similar.

IP Address Classes (A/B/C/D/E)

Based on the network ID, IP addresses were traditionally divided into five classes:

· Class A – Used for very large networks. IP addresses with a first octet ranging from 1 to 126 belong to this class.
· Class B – Used for medium-sized networks. IP addresses with a first octet ranging from 128 to 191 belong to this class.
· Class C – Used for small to medium-sized networks. IP addresses with a first octet ranging from 192 to 223 belong to this class.
· Class D – Used for multicast. These addresses have the first three bits set to 1 and the fourth bit set to 0.
· Class E – Reserved for experimental purposes. These addresses are similar to Class D, but the fourth bit is also set to 1.

Note: In modern networks, IP address allocation and routing are based on CIDR and subnet prefixes rather than address classes. However, the A/B/C/D/E classification is still widely used for learning and general discussion.

For a deeper understanding of IP addresses and answers to common questions, see our IP Address FAQ.

What are public IP addresses, private IP addresses and reserved IP addresses?

What are public IP addresses, private IP addresses and reserved IP addresses?

What’s a reserved IP address?What’s a private

more
What is reverse DNS of an IP address?

What is reverse DNS of an IP address?

What is reverse DNS of an IP address? DNS is the acronym for Domain Name System.

more
What is the use of IP address locating?

What is the use of IP address locating?

The main function of the IP address location is to query the IP address

more
What are the use types of IP addresses?

What are the use types of IP addresses?

What are the use types of IP addresses? In the Internet age, surfing the Internet is almost a thin

more

📚 Comment

Languages