An address is a unique label that identifies where something is located on a network

When you connect a device to the internet or to a local network, that device gets an address — a string of numbers and sometimes letters that works like a mailing address for data. Just as the postal service uses your street address to deliver mail to your house, networks use addresses to send information to the right device. Without an address, your computer, phone, or printer would be invisible to other devices on the network, and nothing could find it to send data.

There are two main types of addresses you will encounter: IP addresses, which identify devices on the internet or a local network, and MAC addresses, which identify devices on the specific network they are physically connected to. Both serve the same basic purpose — they tell other devices where to send information — but they work at different levels and in different ways.

Key Takeaways

  • An IP address is a set of numbers separated by periods (like 192.168.1.5) that identifies your device on a network so other devices can send data to it.
  • Your device usually gets an IP address automatically from your router or network, a process called DHCP, so you rarely have to set one manually.
  • A MAC address is a longer identifier built into your device's network hardware that works only on the local network you are physically connected to.
  • You can find your device's IP address in your network settings, and knowing it helps when you need to troubleshoot connection problems or set up devices.

How IP addresses work and what they look like

An IP address (Internet Protocol address) is written as four numbers separated by periods, like 192.168.1.5 or 10.0.0.42. Each number can range from 0 to 255, which gives billions of possible combinations. When your device connects to a network, it either receives an IP address automatically or you assign one manually. Most home networks use automatic assignment, which means your router hands out addresses to devices as they connect.

IP addresses come in two versions: IPv4 (the older, four-number format you see most often) and IPv6 (a newer format with more numbers and letters, designed because we are running out of IPv4 addresses). For everyday use, you will almost always work with IPv4. The address tells the network where your device is, and when another device wants to send you data — a webpage, an email, a file — it uses your IP address to route that information to you.

Your IP address can change. If you unplug your router and plug it back in, or if you move your device to a different network, you may get a different address. This is normal and expected. Some devices, like servers that need to stay in one place for other devices to find them, use a static IP address that does not change. Most personal devices use a dynamic IP address that can change, and that is fine for everyday use.

Where your device gets its address

When you connect to a network, your device does not pick an address on its own. Instead, a service running on your router called DHCP (Dynamic Host Configuration Protocol) assigns one. DHCP is like a receptionist handing out room numbers to guests as they arrive. Your device sends out a request that says "I am here, I need an address," and DHCP responds with an available address and tells your device how long it can use that address.

This process happens in the background without you doing anything. You turn on your device, it connects to the network, and within seconds it has an address and can send and receive data. If you need to set a static address — which is rare for personal devices but common for printers or network cameras — you can do that in your device's network settings, but you have to know what address to assign and make sure it does not conflict with addresses DHCP might hand out.

MAC addresses and how they differ from IP addresses

A MAC address (Media Access Control address) is a different kind of identifier built into your device's network hardware. It looks like six pairs of letters and numbers separated by colons, such as 00:1A:2B:3C:4D:5E. Unlike an IP address, which can change, your MAC address is permanent — it is burned into your network card when the device is manufactured. Every device with a network connection has one: your laptop, your phone, your printer, your smart TV.

MAC addresses work only on the local network you are physically connected to. They do not travel across the internet. When your device is on your home WiFi network, other devices on that same network can use the MAC address to find it. The router uses MAC addresses to keep track of which devices are connected and to hand out IP addresses through DHCP. Some routers let you filter devices by MAC address, allowing only certain devices to connect — a security feature called MAC filtering.

You rarely need to know your MAC address unless you are setting up a new device, configuring network security, or troubleshooting a connection problem. But it is useful to understand that it exists and that it is different from your IP address. The IP address is how devices find you on the network; the MAC address is how your local network hardware identifies you.

How to find your device's IP address

On Windows, open the Command Prompt (search for "cmd" in the Start menu) and type ipconfig, then press Enter. Look for the line that says "IPv4 Address" — that is your current IP address. On Mac, open System Preferences, go to Network, select your connection (WiFi or Ethernet), and click Advanced. Your IP address appears under the TCP/IP tab. On iPhone or iPad, go to Settings, tap WiFi, and tap the information icon next to your network name. On Android, go to Settings, tap About Phone, then tap Status, and scroll down to find your IP address.

Write down your IP address if you need it for troubleshooting or setting up a device. Keep in mind that it may change the next time you restart your router or reconnect to the network. If you see an address that starts with 169.254, your device did not receive an address from DHCP — disconnect and reconnect to the network, or restart your device.

Why addresses matter when things go wrong

When a device stops connecting to the network or cannot reach the internet, the problem often involves addresses. If your device has no IP address, it cannot communicate. If two devices accidentally get the same IP address, both will have trouble. If your device has an address but cannot reach a specific server, the problem might be with how the address is being routed, not with the address itself.

Knowing your device's IP address helps you troubleshoot. You can ping another device (send a test message to see if it responds) using its IP address. You can log into your router using its IP address (usually 192.168.1.1 or 192.168.0.1) to see which devices are connected and what addresses they have. You can restart your router to force it to hand out new addresses if something has gotten stuck. Understanding that addresses exist and how they work makes these troubleshooting steps make sense.

Frequently Asked Questions

Can someone find me using my IP address?

An IP address shows your general location (city or region) and your internet service provider, but not your street address or name. Websites you visit can see your IP address, which is why some people use a VPN to hide it. Your IP address alone does not expose your identity, but combined with other information it can narrow down who you are.

Why does my IP address keep changing?

Your router's DHCP service hands out addresses for a limited time, then reclaims them when devices disconnect or the lease expires. When you reconnect, you get a new address from the available pool. This is normal. If you need a device to keep the same address, you can set a static IP in your device settings or reserve an address in your router.

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

A private IP address (like 192.168.1.5) works only on your local network and is not visible on the internet. A public IP address is assigned by your internet service provider and is how the internet identifies your home or business. Your router translates between them, so devices on your local network can reach the internet without exposing their private addresses.

Do I need to know my MAC address?

Most of the time, no. Your MAC address is useful if you are setting up MAC filtering for security, reserving an IP address for a specific device, or troubleshooting a connection problem. You can find it in your device's network settings if you ever need it, but you do not need to memorize it.