X
Tech
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to change your IP address, why you'd want to - and when you shouldn't

Looking for more privacy or easier access to a network device? Here are the steps for every operating system, and how to avoid address conflicts.
Written by Jack Wallen, Contributing Writer
Cat5 ethernet cable
Jack Wallen/ZDNET

Security and privacy have been hot topics for a long time (and that's not going to change any time soon). One means of achieving privacy on the internet is to either change or obfuscate your IP address, so evildoers and/or third parties aren't able to track you or keep a history of your browsing traffic.

Also: The best VPN services of 2024

Changing your IP address might sound like a task that requires a computer science degree -- but it's not. It's easier than you think. I want to show you how you can accomplish this without a struggle.

Before we get started, some explanation is in order. 

What is an IP address? 

An IP address is a series of numbers (in the form 192.168.1.100) assigned to every device connected to a network that serves to identify a host/device, allows the devices to send and receive data, and determines the approximate geolocation of a device. Think of an IP address like the address of your home. With that number and street name, other people can find where you live. Without either piece of that puzzle, it would be incredibly challenging to locate your home (for those who've never been there). 

Also: Do you need antivirus on Linux?

There are two types of IP addresses: IPv4 and IPv6. IPv4 is the most widely used because of its simplicity. IPv6 addresses are longer and more complicated and look like this: 2345:0425:2CA1:0000:0000:0567:5673:23b5. IP addresses can be dynamic (assigned to a device by a router) or static (manually assigned by a user or administrator). Static IP addresses remain constant, whereas dynamic addresses automatically change at certain intervals. Without IP addresses, the internet would fail to function.

Different IP addresses

One of the first things to understand is the difference between an internal and external IP address. On your home network, you have one external IP address (which is assigned to the modem/router your service provider gave you). This IP address is what you see if you open a browser and go to What Is My IP Address

This address is the one seen by the outside world -- and it's one you cannot change permanently. However, you can make it appear to be different from what it is. Why would you want to do that? Changing the IP address as seen by the outside world makes it harder for others to track you, especially if you change it randomly. Perhaps you need to transmit sensitive data and you want the IP address to appear as though it's in a different location  -- even a different country.

Also: 5 ways to improve your Chrome browser's security

On the other hand, you have several internal IP addresses -- the addresses assigned by your router \to the various devices on your network (desktops, laptops, phones, tablets, TVs, etc.). You can change those addresses manually. If you have the skill (and the ability to access your router's configuration window), you can even change the IP address scheme from something like 192.168.1.0 to 10.0.1.0. 

Changing your internal IP address isn't nearly as important as how your device is seen by the outside world via your external IP address. Why would you want to change an internal IP address? In a word, convenience. Here's a personal example: I have a Samba share on my network and I want to ensure that this machine has an IP address that I can easily remember and an address that won't ever change.  

A caution is in order: It's not always a good idea to change these internal IP addresses. There's a little thing called an IP address conflict, which happens when more than one device on a network has the same address. When this happens, a device might have difficulty accessing the internet or it could cause slowdowns on your network.

Also: What are passkeys? Experience the life-changing magic of going passwordless

Your internal IP addresses are assigned by your router. Unless you configure your router manually to only assign from a specific pool of addresses (say 192.168.1.1-192.168.1.50) and then only configure manual addresses from 192.168.1.51 and up, you might run into IP address conflicts. To that end, it's best to only change internal IP addresses if you know what you're doing. 

So, read on!

How to change your internal IP address manually

Here are the steps for different operating systems.

Linux

How you do this will depend on your desktop environment, so I'll walk you through how it's done on the GNOME desktop environment (which will be similar to other desktops) :

  1. Open the Settings app.
  2. Locate Network.
  3. Click the gear icon associated with either Wired or Wireless.
  4. Select the IPv4 tab.
  5. Click Manual.
  6. Fill out the necessary information (Address, Netmask, Gateway, DNS) and click Apply.
Show more

MacOS

  1. Open System Settings.
  2. Go to Wi-Fi (if connected wirelessly).
  3. Locate your current wireless connection and click Details.
  4. Click TCP/IP.
  5. Select Manually from the Configure IPv4 drop-down.
  6. Fill out the necessary information (Address, Netmask, Gateway, DNS) and click Apply.
  7. Click OK.
Show more

Windows 11

  1. Open Settings.
  2. Go to Network & Internet.
  3. Select your connection type (Ethernet or Wi-Fi).
  4. Click Manage and then click Edit.
  5. Select Manual under Edit Network IP.
  6. Fill out the necessary information (Address, Netmask, Gateway, DNS) and click Apply.
  7. Click Save.
Show more

Android

  1. Open Settings.
  2. Tap Network & Internet.
  3. Tap the gear icon associated with the wireless network you're using.
  4. Tap the pencil icon in the upper right corner.
  5. Tap Advanced options.
  6. Select Static from the IP Settings drop-down.
  7. Fill out the necessary information (Address, Netmask, Gateway, DNS) and click Apply.
  8. Click Save.
Show more

iOS

  1. Open Settings.
  2. Select Wi-Fi
  3. Tap the icon to the right of the wireless network you're using.
  4. Select Manual from the Configure IP drop-down.
  5. Fill out the necessary information (Address, Netmask, Gateway, DNS) and click Apply.
  6. Click Save
Show more
    Remember, changing your internal IP address does nothing to your external address.

How to change your external IP address

As I mentioned, you won't be doing this manually or permanently. What you can do, however, is use a service to masquerade your true external IP address as something else. For this, you can obfuscate your external IP address in three different ways.

1. VPN

Most modern VPN services not only mask your external IP address but also encrypt your traffic. This is probably the easiest method to hide your external IP address. You'll find VPN services for every platform you use (Linux, MacOS, Windows, Android, and iOS). Popular VPNs include NordVPN, ExpressVPN, Surfshark VPN, Private Internet Access, and Proton VPN. You can read more about how these services rate (and what features they offer) here. Most VPNs do have an associated cost.

2. Tor Browser

If you don't want to have to either pay for a VPN or go through the process of installing and configuring such a service, you could always use Tor Browser. Tor Browser does everything a VPN does, only with more layers of security. The only caveat to using Tor Browser is that it only works for your web browser traffic, which means it won't obfuscate your external IP address for other network-based services.

Also: How to use Tor browser

3. Proxy Server

This is the most complicated process because it requires installing and configuring the service, which is often more challenging than using either a VPN or Tor Browser. On top of that, if you opt for a Proxy Server, you also have to configure any machine on your network to connect through the proxy server. I wouldn't recommend going this route as the complications it adds can be quite frustrating. 

And there you have it: The various ways you can change your internal and external IP address. Do keep in mind that when changing your internal IP address you want to make sure you're not changing it to one that is already in use (otherwise, you'll wind up with IP Address conflict errors). As for your external address, your best bet is to go with either a VPN or Tor Browser to obfuscate your external address, which not only prevents third parties from locating (and even tracking) you but also encrypts your network traffic.

Editorial standards