designwithfocus

Domains, hosting & DNS

What Is an IP Address Used For on a Network?

By Design With Focus Team 5 min read
A packet labeled with a destination address moving toward a host on a network

Short answer

An IP address is used to identify a host so packets can be delivered. The address tells the network where that host is, which is separate from the hostname people type. RFC 791 fixes an IPv4 address at 4 octets, 32 bits. MDN still treats that 32-bit form as the usual meaning of IP address. A phone is another host.

Last verified against the sources listed below.

Key takeaways

  • An IP address identifies a host so routers can deliver packets to it.
  • IP stands for Internet Protocol, the rules for packet format and addressing.
  • A hostname is a name. DNS maps that name to a numeric address.
  • RFC 791 sets the address length at 4 octets, which is 32 bits.
  • A phone still needs an address. These sources do not give a change schedule.

What is ip address used for is a delivery question. The address identifies a host so packets can be sent to it. The rest of this guide is what the protocol documents and the glossaries actually say about that job.

How the internet works puts the address in a longer path, after a name lookup and before the request. This page stays on the address itself: what it is for, what the letters mean, and how it differs from a hostname.

What does an IP address do?

It identifies a host so packets can be delivered. RFC 791 says the purpose of Internet Protocol is to move datagrams through interconnected networks. Addressing is one of the two basic functions. Fragmentation is the other, used when a datagram is too large for the next network.

The internet modules use the addresses carried in the header to decide where a datagram goes. ICANN’s glossary describes the same job from the router’s side: the protocol specifies the addressing scheme routers use to transmit messages to their destinations.

MDN’s short definition matches that purpose. An IP address is a number used to address each device on an IP network uniquely. Unique here means the number distinguishes that device on the network, which is what makes delivery possible.

What do the letters stand for?

The letters stand for Internet Protocol. RFC 791 is titled Internet Protocol, and MDN’s glossary says IP stands for Internet Protocol, the protocol layer the address is associated with.

ICANN’s entry says the protocol is the set of rules for how devices communicate over the Internet. It specifies packet format. It also specifies the addressing scheme. The address is one part of those rules, not a separate product.

Two versions are in popular use, ICANN says: version 4 and version 6. MDN adds that the phrase IP address typically still refers to 32-bit IPv4 addresses until IPv6 is deployed more broadly. This guide follows the version 4 document, because that is the RFC opened here.

How is a hostname different?

A hostname is a name, and an IP address is where the host is. RFC 791 separates names, addresses, and routes. Higher-level protocols map names to addresses. The internet module then maps those addresses to local network addresses.

Routes are a lower-level concern.

Term in RFC 791 Role
Name What we seek. A hostname is this kind of label.
Address Where it is. That is the IP address, 4 octets, 32 bits.
Route How to get there. The protocol does not focus on routes.

MDN’s DNS glossary says the Domain Name System keeps domain names alongside resources such as IP addresses. The prominent function is translation from a human-friendly name to a numeric address. That translation is a DNS lookup. The reverse question, which name belongs to an address, is a reverse lookup.

The glossary does not print a schedule for when that number changes.

IP address and MAC address are different identifiers again. The IP address is the one Internet Protocol uses for delivery across networks. A hostname is neither of those numbers. It is the label people remember.

RFC 791 does not print a dotted example in the addressing section opened here. It does fix the length: addresses are 4 octets, 32 bits. An address begins with a network number, followed by a local address, which the text calls the rest field. MDN’s IP glossary calls the same object a 32-bit IPv4 address.

This guide does not add a sample number the RFC text did not print.

What about a mobile device?

A mobile device is another host that needs an address. MDN’s definition is per device on an IP network. A phone on that network is addressed so packets can reach it. The protocol job does not change because the device fits in a pocket.

Nothing on the RFC 791 page, the MDN IP glossary, or the ICANN Internet Protocol entry states that a phone’s address changes every hour. Dynamic assignment is a real operational topic, but it is not a timer in these documents. Leave the schedule out until a source states one.

Checking the address already in use on a Windows PC is a settings task. The clicks live in how to get to Internet Protocol version 4. Use that guide when you want the screen. This page only explains why the number exists.

How does a packet use it?

Each datagram carries the addressing information the next module needs. RFC 791 says the sending module is given a destination address and other parameters, chooses a local network address for that internet address, and hands the datagram onward. At the far side, the receiving module uses the internet address to see that the datagram is for a local host.

A single physical host can use several internet addresses, and a host can have several physical interfaces. The RFC calls that out so a machine is not assumed to be one number forever. Multi-homing is the case of several interfaces, each of which can have several logical addresses.

The address is not the route. RFC 791 is explicit: the protocol deals primarily with addresses, and lower-level procedures map local network addresses to routes. If a packet fails, the failure can be a bad address, a bad route, or a datagram that could not be fragmented. Those are different problems, and the address is only the “where.”

A site icon has nothing to do with that number. Building a favicon does not reveal or change the address of the server. Keep the protocol question on the host identifier, and keep the icon tool for the icon.

Frequently asked questions

What is an IP address used for in one sentence?

It identifies a host so a packet can be delivered to that host. RFC 791 says the purpose of Internet Protocol is to move datagrams, and that addressing is one of its two basic functions. The internet modules use the addresses carried in the header. ICANN's glossary says the protocol specifies the addressing scheme routers use to transmit messages to their destinations.

What do the letters IP stand for?

IP stands for Internet Protocol. That is the title of RFC 791, and MDN's IP address glossary says the same expansion. ICANN defines Internet Protocol as the set of rules that govern how devices communicate over the Internet, including packet format and the addressing scheme. The letters are the protocol, not a brand and not a physical street. IPv4 and IPv6 are versions of that protocol.

Is a hostname the same thing as an IP address?

No. RFC 791 draws a three-way line. A name indicates what we seek. An address indicates where it is. A route indicates how to get there. The protocol deals primarily with addresses. Mapping names to addresses is left to higher-level protocols. MDN's DNS glossary calls that mapping a DNS lookup: a human-friendly domain name is translated to a numeric IP address.

Does a phone have an IP address?

A phone that joins an IP network is a device, and MDN says an IP address is a number used to address each device on an IP network uniquely. The address is what lets packets for that phone be aimed at it, the same way packets are aimed at any other host.

Where is the IPv4 address shown on Windows?

Windows settings for Internet Protocol version 4 are covered in a separate guide that follows Microsoft's current network article. That guide is the place to look when you want the settings screen and the address already in use on the PC. This page does not repeat those clicks. Viewing the address is not the same task as editing it.

Sources