Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

What Is IPv4? Meaning, How It Works & Limits

· 6 min read · Home Tech

In this article
  1. What Does IPv4 Actually Do?
  2. Where Did IPv4 Come From?
  3. How IPv4 Addresses Are Structured
  4. Why IPv4 Is Running Out
  5. IPv4 vs. IPv6: What’s the Difference?
  6. How to Find Your IPv4 Address
  7. Common IPv4 Problems and Fixes
  8. Frequently Asked Questions

IPv4 (Internet Protocol version 4) is the fourth version of the Internet Protocol, and it is the standard system used to identify devices on a network with a unique numeric address. In simple terms, an IPv4 address is a 32-bit number, usually written as four decimal numbers separated by dots (for example, 192.168.1.1), that lets routers and computers know where to send data. Even though a newer version (IPv6) exists, IPv4 still carries most of the world's internet traffic today.

What Does IPv4 Actually Do?

IPv4 is the addressing system of the internet. When you send a request to load a website, your device uses its IPv4 address as the “return address” so the server knows where to send the response. The protocol also defines how data is broken into packets, how each packet is labeled with source and destination addresses, and how routers forward those packets across networks.

Each IPv4 address is unique within its network. For example, your home router probably assigns your phone an address like 192.168.1.5, while your laptop gets 192.168.1.6. These are private addresses that only work inside your local network. When you go online, your router translates them to your public IPv4 address—the one the rest of the internet sees.

Where Did IPv4 Come From?

IPv4 was developed in the early 1980s as part of the ARPANET project, the precursor to the internet. It was standardized in 1981 in RFC 791 (Request for Comments), a technical document that defines how the protocol works. The designers chose a 32-bit address space because it seemed more than enough at the time—it allows for about 4.3 billion unique addresses. No one anticipated the explosive growth of the internet, so by the 1990s it became clear that the address pool would run out.

How IPv4 Addresses Are Structured

An IPv4 address is a 32-bit binary number, but humans usually write it in dotted decimal notation. For instance, the binary address 11000000 10101000 00000001 00000001 is written as 192.168.1.1. Each of the four numbers (called octets) ranges from 0 to 255.

IPv4 addresses are divided into two parts: the network portion and the host portion. The network portion identifies the network, and the host portion identifies a specific device on that network. A subnet mask (like 255.255.255.0) tells routers how to split the address. For example, in the address 192.168.1.100 with a mask of 255.255.255.0, the first three octets (192.168.1) are the network, and the last octet (100) is the host.

There are also special IPv4 addresses you should know:

  • Private addresses – ranges like 192.168.0.0 to 192.168.255.255, 10.0.0.0 to 10.255.255.255, and 172.16.0.0 to 172.31.255.255 are used inside home and business networks. They are not routable on the public internet.
  • Loopback address – 127.0.0.1 always refers to your own device. It is used for testing network software.
  • Broadcast address – the last address in a network (like 192.168.1.255) sends data to all devices on that network.

Why IPv4 Is Running Out

The IPv4 address space is 32 bits, which gives 2^32 = 4,294,967,296 possible addresses. That sounds like a lot, but the internet grew faster than anyone expected. The Internet Assigned Numbers Authority (IANA) allocated the last remaining IPv4 blocks in 2011, and regional registries have been running out since then. To cope, ISPs and network administrators use techniques like Network Address Translation (NAT), which lets many devices share a single public IPv4 address. Your home router uses NAT to give each device a private address and then translates outgoing traffic to your one public IP.

Because of NAT, most people never notice the shortage. But it has driven the adoption of IPv6, which has a 128-bit address space—enough for every grain of sand on Earth to have its own address.

IPv4 vs. IPv6: What’s the Difference?

The main difference is the address size. IPv4 uses 32-bit addresses, while IPv6 uses 128-bit addresses. IPv6 addresses are written in hexadecimal, like 2001:0db8:85a3:0000:0000:8a2e:0370:7334, and they are much longer.

IPv6 also has built-in security features (IPsec) and does not need NAT because there are enough addresses. However, IPv4 is still more common because the transition is costly and slow. Most devices support both, and your home network likely uses IPv4 for internal communication and IPv6 for external connections if your ISP offers it.

How to Find Your IPv4 Address

You can find your device's IPv4 address in a few steps:

  1. On Windows: Open Command Prompt and type ipconfig. Look for “IPv4 Address” under your active network adapter.
  2. On macOS: Go to System Settings > Network, select your connection, and look for “IP address.”
  3. On Android: Go to Settings > Wi-Fi, tap your connected network, and look for “IP address.”
  4. On iPhone: Go to Settings > Wi-Fi, tap the “i” icon next to your network, and you’ll see the IP address.

To see your public IPv4 address (the one the internet sees), you can visit a website like whatismyip.com or just search “what is my IP” on Google.

Common IPv4 Problems and Fixes

If you see an error like “No valid IP address” or “IP address conflict,” it usually means your device cannot get an address from the router. Here are some simple troubleshooting steps:

  • Restart your router and device. This clears most temporary glitches.
  • Check if DHCP is enabled. Most home networks use DHCP to automatically assign IP addresses. If it’s off, your device may not get an address.
  • Renew your IP address. On Windows, type ipconfig /release then ipconfig /renew in Command Prompt. On macOS, you can turn Wi-Fi off and on.
  • Reset your network settings. On phones, you can go to Settings > General > Reset > Reset Network Settings (iPhone) or Settings > System > Reset options > Reset Wi-Fi, mobile & Bluetooth (Android). This clears saved Wi-Fi networks and passwords, so use it as a last resort.

If the problem persists, contact your ISP—they may be having an outage in your area.

Frequently Asked Questions

Is IPv4 the same as an IP address?

No. An IP address is a general term for any address used in the Internet Protocol. IPv4 is one specific version that uses 32-bit addresses. IPv6 is another version with 128-bit addresses. So every IPv4 address is an IP address, but not every IP address is IPv4.

Why do I still see IPv4 if IPv6 exists?

Because IPv4 is deeply embedded in the internet’s infrastructure. Many websites, ISPs, and devices still rely on IPv4, and the transition to IPv6 is gradual. Most networks run both protocols simultaneously (dual-stack), so you continue to see IPv4 addresses.

Can I change my IPv4 address?

Yes, but it depends on the type. Your private IPv4 address (assigned by your router) can be changed by renewing the DHCP lease or setting a static IP in your device’s network settings. Your public IPv4 address is assigned by your ISP and usually changes only when you restart your modem or if your ISP uses dynamic IPs. You cannot choose a public IP yourself; you’d need to request a static IP from your ISP.

Is it safe to share my IPv4 address?

Your public IPv4 address is visible to every website you visit, so it’s not secret. However, sharing it publicly can make you more vulnerable to targeted attacks like DDoS or hacking attempts. Your private IPv4 address (like 192.168.x.x) is only visible inside your home network, so it’s safe to share with people on the same Wi-Fi.

What happens when IPv4 runs out completely?

It already has, in a sense—the last blocks were allocated in 2011. But because of NAT and address reuse, IPv4 continues to work. ISPs now use carrier-grade NAT (CGNAT) to share public addresses among many customers. In the long term, the internet will shift to IPv6, but there’s no date for when IPv4 will be fully retired.