logo svg
logo

November 6, 2026

Updated: November 6, 2026

What Is an IP Address? Types and Security Risks

Public vs private, IPv4 vs IPv6, static vs dynamic, what your address reveals, how to find it, and when it becomes a security risk.

Mohammed Khalil

Mohammed Khalil

Featured Image

What is an IP address? It is the number that tells the internet where to send data for your device or network, much like the address on an envelope. Your phone, laptop and router all use them, and the devices in a home usually share one public address. This guide explains public and private addresses, IPv4 and IPv6, and static and dynamic assignment. It also covers what your address does and doesn't reveal, how to find it, and when an exposed address becomes a security risk.

What Is an IP Address?

An IP (Internet Protocol) address is a numeric label given to a network connection so that data can be sent to it and received from it. It comes in two formats: IPv4, such as 192.0.2.53, and IPv6, such as 2001:db8:582:ae33::29.

The original Internet Protocol specification from 1981 puts the job simply: "A name indicates what we seek. An address indicates where it is." You type a name like deepstrike.io. Computers use the address.

You don't pick your public address. IANA, the body that coordinates global addressing, hands large pools to five regional internet registries. In the U.S., that registry is ARIN. Registries allocate addresses to internet service providers (ISPs), and your ISP assigns one to you.

Two common descriptions need correcting:

How an IP Address Works

Data on the internet travels in small chunks called packets. Each packet carries a source address and a destination address. Here is what happens when you open a website from home:

  1. Name lookup. Your device asks the Domain Name System (DNS) for the site's IP address. Because this step comes first, attackers sometimes target it, a technique explained in our guide to DNS spoofing.
  2. Packets leave your device. The source is your private address and the destination is the website's public address.
  3. Your router translates. Network Address Translation, or NAT, replaces your private address with the home's public address and remembers which device asked.
  4. Routers forward it. Your ISP and other networks read the destination and pass the packet along, one hop at a time.
  5. The reply comes back. The website answers your public address, and your router sends the reply to the right device.
How an IP address works: home devices share a public address through a router to reach a website and get a reply

The address gets data to the right machine. A port number then gets it to the right service, such as a web server or a remote desktop tool. Ports matter more for security than the address does.

Types of IP Addresses

Every address fits several labels at once. Your laptop's might be private, IPv4 and dynamic all at the same time.

PairThe differenceWhere you'll meet it
Public vs privateReachable across the internet vs used only inside a local networkRouter status page vs your device's Wi-Fi settings
IPv4 vs IPv632-bit address vs 128-bit addressMost devices today have one or both
Static vs dynamicStays the same vs leased and able to changeServers and business lines vs most home connections
Dedicated vs sharedOne customer or site vs many behind one addressBusiness plans vs mobile networks and shared web hosting

Public vs private IP addresses

A public IP address is the one the rest of the internet sees. Your ISP assigns it, and it usually sits on your router. A private IP address only works inside your local network. Your router hands these out, and anyone can use the three reserved private ranges without asking for permission.

So is your IP address just your Wi-Fi? Partly. On home Wi-Fi, every device shares the router's public address but has its own private one. Switch your phone to cellular data and it uses your carrier's network and a different address.

Use this table to decode a number you've found:

If it starts withTypeWhat it means
10.PrivateLocal network, not reachable directly from the internet
172.16. through 172.31.PrivateLocal network, common in offices
192.168.PrivateLocal network, common in homes
100.64. through 100.127.SharedYour provider shares a public address among customers (carrier-grade NAT)
127.LoopbackYour device talking to itself; 127.0.0.1 is the usual example
169.254.Link-localYour device assigned this itself, usually because no router gave it an address
Any other IPv4 numberLikely publicReachable on the internet, subject to firewalls
::1IPv6 loopbackYour device talking to itself
fe80:IPv6 link-localNormal; works only on the local link
fc or fdIPv6 unique localThe IPv6 counterpart to private addressing
2 or 3IPv6 globalPublic IPv6 address

These meanings come from IANA's IPv4 special-purpose registry, RFC 6598 on shared address space, RFC 3927 on 169.254 addresses, RFC 4193 on IPv6 local addresses and IANA's IPv6 address space table. Addresses like 192.0.2.53 in this article come from ranges reserved for documentation and don't belong to anyone.

IPv4 vs IPv6

IPv4 is the older format and IPv6 is its replacement. They aren't directly compatible, so many networks run both side by side.

FeatureIPv4IPv6
Address length32 bits128 bits
Possible addressesAbout 4.3 billionAbout 3.4 × 10^38
Looks like192.0.2.532001:db8:582:ae33::29
DeploymentJanuary 1, 1983Began in 1999
Address translationNAT is very commonDesigned so NAT isn't needed

IPv4 simply ran short. IANA's free pool was depleted on February 3, 2011, and ARIN's followed on September 24, 2015. That shortage is why NAT and shared addresses are everywhere. The move to IPv6 is still underway: Google measured 46.86% of its users reaching it over IPv6 on November 4, 2026.

IPv6 changes two things worth knowing. Without NAT in the way (RFC 4864 explains why it isn't needed), a device can hold a globally routable address, so firewall rules do the protecting. And because an address built from a stable identifier could make a device easier to follow, devices can use temporary IPv6 addresses that change over time. Networks running both versions need security rules for both. The NSA warned in January 2023 that dual-stacked networks have an increased attack surface.

Static vs dynamic IP addresses

A dynamic IP address is leased automatically and can change. On local networks this is handled by DHCP, which gives out an address for a limited time so it can be reused later. A static IP address stays the same until someone changes it, which is why servers, VPN gateways and email systems normally use one.

Dynamic doesn't mean an address changes every time you connect. How long you keep one depends on your provider. It also isn't a security control. A changing address may slow casual tracking, but it doesn't fix anything that's exposed.

What Your IP Address Reveals and What It Doesn't

An IP address tells people less than most assume, but it isn't meaningless.

What it can show:

What it doesn't show:

What an IP address can show, what it does not show, and who can link it to a customer account

Who can connect an address to a person

Your ISP is the link. In the U.S., 18 U.S.C. § 2703(c)(2) lets the government obtain subscriber records from a provider, including name, address and any temporarily assigned network address, with an administrative, grand jury or trial subpoena. A stranger can't simply demand those records. It takes legal process.

Even then, an address points to an account, not a person. In Cobbler Nevada v. Gonzales, decided August 27, 2018, the Ninth Circuit held that a bare allegation that someone was the registered subscriber of an IP address wasn't enough to state a copyright infringement claim. Shared addressing muddies this further. RFC 6269 explains that once providers share addresses, an IPv4 address alone no longer identifies a single subscriber.

Privacy law treats addresses seriously anyway. In the EU, GDPR Recital 30 lists internet protocol addresses among online identifiers, and the EU Court of Justice ruled on October 19, 2016 that a dynamic address can be personal data when a website operator has legal means to identify the visitor through the ISP. This is general information, not legal advice.

If someone threatens you over your computer

The FTC describes blackmail emails that claim the sender hacked your computer and recorded you, then demand Bitcoin. It calls the threats empty and says the password some messages quote likely came from a data breach. Knowing an IP address wouldn't give a sender that access either. The FTC's steps:

  1. Don't pay anything, and delete the message.
  2. If it quotes a password you use, change that password, and consider changing your others.
  3. Report it at ReportFraud.ftc.gov.

Is an IP Address a Security Risk?

On its own, rarely. An address is like a street address: knowing it doesn't open the door. The risk comes from what answers at that address. Your public address is already visible to every site you visit, so hiding it matters less than making sure nothing weak is exposed there.

RiskWhat happensWhat helps
Exposed servicesScanners find a login page, camera or remote desktop tool reachable at your addressClose what you don't need; change default passwords; update
Denial of serviceSomeone floods the address with traffic until the connection failsContact your ISP; for businesses, use a protection service
IP spoofingA sender forges the source address on packets, often to disguise a floodProvider filtering; never treat an address alone as proof of identity
Shared-address blockingAnother customer's abuse gets a shared address blockedContact the blocking service or your provider
TrackingSites connect visits using the address, with cookies and other dataBrowser and app privacy settings; a VPN shifts what sites see

Sources: CISA on denial-of-service attacks, which notes that slow networks can also have ordinary causes, MITRE ATT&CK Active Scanning, BCP 38 on forged addresses and RFC 6269 on shared-address blocking. For more on floods, see what a DDoS attack is.

Two well-documented cases show why exposure matters more than the address itself:

Four steps from a found IP address to a break-in, with the home and workplace control that stops each step

How to Protect Your Connection

Most of the protection is on your router, not in hiding the number. These steps come from the FTC's guide to securing a home Wi-Fi network:

  1. Set encryption to WPA3 Personal or WPA2 Personal.
  2. Change the router's default admin username and password, plus the network name and Wi-Fi password.
  3. Keep router software updated, and ask your ISP whether it sends updates if it supplied the router.
  4. Turn off remote management, WPS and UPnP.
  5. Turn on the router's firewall.
  6. Set up a guest network, so visitors stay off your main one.
  7. Log out as administrator when you're done.

If your connection seems under attack, CISA advises contacting your ISP, which can tell you whether there's an outage or an attack.

Hiding your address. A VPN routes your traffic through its provider's servers, so sites see that server instead of you. The FTC's 2018 guidance warns that this generally won't make you entirely anonymous. It shifts your trust to the provider, not all apps encrypt everything, and free apps may rely on ads or data sharing, so research any app and its permissions first. Our comparison of proxies, VPNs and Tor covers the differences. Private browsing doesn't do this job: the FTC notes it doesn't block websites from seeing your activity.

Public Wi-Fi. The FTC says public Wi-Fi is usually safe because most websites now encrypt traffic, but check for https, and remember that a scam site can be encrypted too. Your wider public trail is a separate issue, covered in our guide to your digital footprint.

How to Find Your IP Address

You have two addresses to check, and they answer different questions.

How to find your private IP address

How to find your public IP address

Search for "what is my IP" and use a well-known site, or log in to your router and look for its WAN or internet address. A VPN changes what a website shows, so turn it off if you want your real connection's address.

Here's a useful check. Compare the router's WAN address with what a website reports. If they match, your router holds the public address. If the router shows a private address or one from 100.64 through 100.127, your provider is likely sharing a public address among customers. That explains why some inbound services, such as hosting a game server, may not work from home.

For Organizations: How Exposed IP Addresses Get Tested

For a business, public IP addresses are part of the attack surface. MITRE notes that gathering them is hard to stop with preventive controls, because it happens outside your network. So the practical goal is controlling what those addresses expose.

CISA's Internet Exposure Reduction Guidance, revised August 21, 2026, gives a clear sequence:

  1. Identify which assets the internet can reach, including those run by integrators and vendors, and track changes to their external addresses.
  2. Decide which assets really need that access, and remove or restrict the rest.
  3. For what stays exposed, change default passwords, patch, replace unsupported systems, monitor traffic and enforce MFA where possible.
  4. Scan your own public ranges regularly, investigate unexpected open ports, and repeat as the environment changes.

CISA's Binding Operational Directive 23-02, issued June 13, 2023, gives federal agencies 14 days to take internet-exposed management interfaces off the public internet or put them behind zero-trust access controls. It doesn't bind private companies, but it's a sensible benchmark. CISA's ransomware guide likewise says not to expose services such as remote desktop on the web.

Addresses are also weak identity evidence. If you run public services, RFC 6269 recommends logging the source port, because an address alone may not identify a user behind shared addressing.

Scanning shows what's open. Testing shows what it means. An authorized external penetration test or broader network penetration test should prove:

Only scan or test addresses you own or have written permission to assess.

Frequently Asked Questions

Does each device have an IP address?

Each device on a network has its own private address on that network. Devices on the same home network usually share one public IPv4 address. With IPv6, each device can have its own global address.

Can someone find my home address from my IP address?

Not from the address alone. Geolocation usually points to a broad area and can be wrong, sometimes by a wide margin. Your ISP has your account details, but it generally releases them only through legal process.

Can someone hack me with just my IP address?

The address alone gives no access to your files or accounts. An attacker would still need a weakness at that address, such as an exposed service with a default password or an unpatched flaw. A firewall, updates and changed passwords remove most of that risk. A flood of traffic is a different problem: it can disrupt your connection without breaking into anything.

Does a VPN hide my IP address?

It hides your address from the sites you visit, which see the VPN server instead. Your VPN provider can still see your real address, and sites can still track you through accounts and other data you share.

How do I change my IP address?

Your ISP controls your public address. Restarting your router may produce a new one, but that isn't guaranteed, and some providers only change it on request. Connecting to a different network, or a VPN, also changes the address sites see.

What is the difference between an IP address and a MAC address?

An IP address identifies a connection on a network and can change as you move. A MAC address identifies a network adapter on the local network, and it doesn't normally travel across the internet. Many phones now use a private Wi-Fi address instead of the hardware one.

Next Step: Check What Answers at Your Address

An IP address is directions to a connection. At home, know your addresses, secure the router, and don't panic if someone quotes your IP. At work, know every public address you hold and what each one exposes.

If you want that exposure tested, DeepStrike's penetration testing services use manual testing, with reports and actionable fix recommendations. To talk through scope, contact DeepStrike.

About The Author

Mohammed Khalil is a Cybersecurity Architect at DeepStrike, specializing in advanced penetration testing and offensive security operations. With certifications including CISSP, OSCP, and OSWE, he has led numerous red team engagements, focusing on cloud security, application vulnerabilities, and adversary emulation. His work involves dissecting complex attack chains and developing resilient defense strategies for clients in the finance, healthcare, and technology sectors.

Sources and References

background
Let's hack you before real hackers do

Stay secure with DeepStrike penetration testing services. Reach out for a quote or customized technical proposal today

Contact Us