Skip to main content

IP Address

Internet Protocol Address

In Turkish
IP Adresi
Updated 2 min read

Share this page

Send the link, quote the definition with a link back, or show it as a card on your own site.

https://softwaredictionary.org/terms/ip-address

In short

An IP address is a numeric label assigned to each device on a network so that data can be routed to it, much like a postal address for a house.

What is an IP address?

An IP address is a unique identifier given to every device that connects to a network using the Internet Protocol, such as a laptop, phone, server, or router. It tells other machines where to send data and where incoming data came from. Without IP addresses, computers on the internet would have no way to find each other.

Two versions are in use today. IPv4 addresses are 32-bit numbers written as four decimal parts, like 192.168.1.10, which allows about 4.3 billion addresses. IPv6 addresses are 128-bit numbers written in hexadecimal, like 2001:db8::1, and were introduced because the world was running out of IPv4 addresses. Routers read the destination IP address on each packet and forward it step by step toward its target.

Think of an IP address like a street address: the postal service does not care who lives in the house, only where to deliver the letter. Addresses can be public, meaning reachable from the internet, or private, such as 10.0.0.5 or 192.168.0.2, which work only inside a home or office network. A router using network address translation (NAT) lets many private devices share one public address.

IP addresses are often confused with domain names. A domain name like example.com is a human-friendly label, and DNS translates it into the IP address that computers actually use. An IP address is also different from a MAC address, which is a hardware identifier for a network card that is only used on the local network.

At a glance

An IPv4 address such as 192.168.1.42 is four numbers from 0 to 255, eight bits each; with /24, the first three name the network and the last one the device on it.19211000000168101010001000000014200101010...network · the streetdevice · the house4 numbers × 8 bits = 32 bits · /24: the first 24 bits are the network
Routers read the network part to get data to the right network, and that network hands it to the device, like a street and a house number. IPv6 works the same way with 128 bits.

Key takeaways

  • An IP address identifies a device on a network so data can be routed to it.
  • IPv4 uses 32-bit addresses like 192.168.1.10; IPv6 uses 128-bit addresses like 2001:db8::1.
  • Private addresses work only inside a local network; public addresses are reachable from the internet.
  • DNS translates human-friendly domain names into IP addresses.
  • Many devices receive their IP address automatically, so it can change over time.

Example

Working with IP addresses on the command linebash
# Show the IP addresses of this machine (Linux)
ip addr show

# Look up the IP address behind a domain name
dig +short example.com

# Check whether a device on the local network is reachable
ping -c 3 192.168.1.1

Readers ask

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit addresses, which allows about 4.3 billion unique addresses, while IPv6 uses 128-bit addresses, which allows vastly more. IPv6 was created because IPv4 addresses ran out, and today most networks support both.

What is the difference between a public and a private IP address?

A public IP address is reachable from the internet and is unique worldwide. A private IP address, such as 192.168.1.20, is used only inside a local network, and the router translates it to a public address when traffic goes out.

Can two devices have the same IP address?

Not on the same network at the same time, because data would not know which device to reach. However, the same private address, such as 192.168.1.2, is reused in millions of separate home networks.

See also

Sources

Spotted a mistake or something missing on this page?Suggest an edit

Read a random page
Open today's review
Switch to the dark theme
Read this page in Türkçe

More

Settings