site logo

How To Change Your IP Address On Windows 10 (& Why You’d Want To)

We'll help you properly configure your network

Author avatar

When you connect to a local network, the device you’re using is given an IP address, allowing other devices to find and communicate with it, as well as signifying that the device itself has correctly authenticated. The larger the network, the more IP addresses that will be in use, which can cause some allocation issues.

In most cases, IP address allocation is determined by your local router, so to change your IP address on a Windows 10 PC, you’ll need to configure your network as a whole. Alternatively, you may want to set a static IP address , or change your public IP address for all your devices. To change your IP, here’s what you’ll need to do.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 1

Why Change Your IP Address On Windows?

There are a couple of reasons why you might want to change your IP address.

Typically, a local network router will allocate a temporary IP address to your device when you connect using DHCP (the protocol used to assign IP addresses), giving it a temporary lease to that address. When the lease runs out, it will need to be renewed, otherwise you could be allocated a new address.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 2

While this usually happens automatically, problems can sometimes occur. A poorly configured or busy local network, along with misconfigured devices, might result in the same IP address being allocated twice, causing conflicts. 

If this happens, you may wish to set a static IP address, giving your device a permanent address. You’ll want to do this for devices that are regularly accessed by other devices, such as home servers or network attached storage devices .

These all apply for local networks, but you may want to change the IP address given to you by your internet service provider. This can be trickier to do, but there are a few ways to change this address if your ISP allows it.

Configuring Your Network Router DHCP Settings

One of the easiest ways to change your IP address is to configure your network router to assign a new IP address. To do this, you should configure the DHCP settings on your router to assign IP addresses differently.

You could, for instance, set a static allocation for your Windows PC. When your device connects, your router will always assign the same IP address to it by using your device’s MAC address to identify it.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 3

If you don’t want to do this, you could also change the IP range used by your local router. This means that your local IP address may still change from time to time, but the range of addresses will be different. Your IP address may change from 192.168.0.10 to 192.168.10.10 , for instance.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 4

To do this, you’ll need to access your router’s administration page. This will vary by device, but typically, many local routers can be accessed by typing http://192.168.0.1 or http://192.168.1.1 from your web browser. Consult your user manual for the correct username and password to use here.

The steps to change your DHCP settings will also vary, but you’ll typically find DHCP settings listed under its own section (eg. DHCP ), while fixed IP allocations can be found under address allocation or similar.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 5

Releasing DHCP Lease and Resetting Your Dynamic IP

Any changes you make to your router’s DHCP settings may require you to release or renew your Windows IP address using the Windows PowerShell.

  • To do this from the Windows PowerShell, right-click the Start menu and click the Windows PowerShell (Admin) option.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 6

  • In the PowerShell terminal window, type ipconfig /release to release your DHCP lease and disconnect. With your new settings in place, type ipconfig /renew to reconnect.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 7

If your router settings have been correctly changed, releasing your DHCP lease and resetting your IP will result in a new IP address being allocated to your device.

Setting a Static IP Address On Windows 10

A static IP address can be achieved through a fixed DHCP allocation, but you can also set this manually in your Windows 10 settings. You may want to do this if you’re making a direct connection to another device. 

This may also work with your local router, but as your device is already being assigned an IP using DHCP, an IP conflict may occur. In this case, it’s better to use a fixed IP allocation to do this instead.

  • To set a static IP address, open your network settings by right-clicking the Start menu and clicking the Network Connections option.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 8

  • In the Network Connections settings menu, press the Change connection properties option.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 9

  • Under the IP Settings category, press the Edit option.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 10

  • Change the IP allocation type to Manual . Enable either IPv4 or IPv6 , then type the static IP settings you wish to apply. An example configuration for an static IPv4 IP address would include 192.168.0.10 for IP address, 24 for subnet prefix length, and 192.168.0.1 for gateway (referring to your local router) and preferred DNS server. Click Save once you’re done.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 11

Once saved, your IP address settings will be applied automatically. You may need to release your existing IP using the steps above or restart your PC for the changes to take effect fully.

Change Your Public IP Address On Windows 10

Your public IP address is the address assigned by your internet service provider, giving you access to the internet. This is assigned to your modem (which is usually combined with your network router, but not always), allowing all other connected network devices to the internet, too.

Changing this address can sometimes be difficult. You’ll need to check if you’re assigned a dynamic (temporary) or static IP address by your ISP first. If you’re assigned a static public IP, your ISP will need to change this for you.

How To Change Your IP Address On Windows 10 (& Why You’d Want To) image 12

For dynamic IP addresses, you can usually reset this by switching your network modem off for a period of time. By doing this, you’re disconnecting your device from your ISP.

As with your local network, your public IP lease will eventually run out, meaning you may be allocated a new IP address at this point. However, this isn’t guaranteed to work, and you may need to try another method.

If your public IP address won’t change, there are other methods you could try. Using a virtual private network , will hide your public IP as you browse online, for instance.

Configuring Your Network On Windows 10

Whether you’re configuring a server for your network (or for wider internet users), or you just want to free up allocations for other devices, it’s an easy process to change your IP address on Windows 10, although much of the work relies on being able to access your router to properly configure your network.

If your network configuration is causing problems, you may wish to reset your network router to wipe the slate clean and start again. IP allocation issues might be why you’re struggling with network connection issues, but thankfully, there are several ways to fix unidentified network problems on Windows 10.

' src=

Ben Stockton is a freelance technology writer based in the United Kingdom. In a past life, Ben was a college lecturer in the UK, training teens and adults. Since leaving the classroom, Ben has taken his teaching experience and applied it to writing tech how-to guides and tutorials, specialising in Linux, Windows, and Android. He has a degree in History and a postgraduate qualification in Computing. Read Ben's Full Bio

Read More Posts:

how to change ip pc

Leave a Reply

Your email address will not be published. Required fields are marked *

  • All about AI
  • Google Bard
  • Inflection AI Pi Chatbot
  • Anthropic Claude
  • Generative AI
  • AI Image Generation
  • AI Regulation
  • AI Research
  • Large Language Models (LLM)
  • Surface Pro
  • Surface Laptop
  • Surface Book
  • Surface Duo
  • Surface Neo
  • Surface Studio
  • Surface Hub
  • Surface Pen
  • Surface Headphones
  • Surface Earbuds
  • About WinBuzzer
  • Follow Us: PUSH, Feeds, Social
  • Write for Us
  • Cookie Policy and Privacy Policy
  • Terms of Service

How to Change Your IP Address on Windows 10 (3 Methods)

We show you how to change your IP address in Windows 10 using the Settings app, Control Panel, and Command Prompt.

Featured - 3 ways to change the IP address in Windows 10

Table of Contents:

IP addresses are one of the primary ways services identify a user. Though your IP address may change automatically from time to time, if you've been assigned the wrong IP by your router or want something more static, you need to know how to change your IP address on Windows 10 manually.

What is an IP address?

An IP address is a series of numbers that identifies your device and therefore allows information to be sent between devices. Without IP addresses, computers on the internet and your local network would not be able to differentiate between different devices, routers, websites, etc.

However, IP addresses also come with some downsides. For starters, somebody may be able to use your IP address to get a general idea of your location. Services may also utilize your IP address to track you across the web.

Unfortunately, changing your IP address will with the methods outlined below will not disguise your location. As the IP address will still be connected to your ISP, it can still be traced to their nearest networking hub. It will also not help if you have been banned by a service – you're only changing the IP address on your local network, not the one the internet sees. For that kind of protection, you should consider using Tor or a VPN.

That said, if you do want to change IP address on Windows 10, you'll need to have access to your administrator account. If you do have access, you can learn how to change IP by following the steps below:

How to Change IP Address in Windows 10 via Settings

Unsurprisingly, the simplest way to change your IP address in Windows 10 is via the in-built settings app, but there are a few things you need to look out for when it comes to choosing your new IP:

Press the Start button, then click the settings cog, above the power button. Alternatively, press Windows + I .

Windows 10 - Open Settings

If your IP address is currently set manually and you're running into issues, you can change the dropdown in “Edit network IP settings” to “Automatic (DHCP)” and press “Save” .

Windows 10 - Settings - Network & Internet - Wifi - Edit IP Assignment - Automatic

When you change your IP address, it's important to make sure the information you enter is correct. Before you start, it's useful to gather:

– Your current IP address – Your subnet mask – Your gateway (router IP)

If you don't know these details, you can run the ipconfig command in Command Prompt to obtain them.

Ideally, your new IP address should be of the same format as your old one. For example, if your current IP address is 10.0.0.1, you'll probably want to keep the 10.0.0.x format. Make sure you don't set your IP to the same as your gateway or other devices on your network.

Once you're done, press “Save” .

Windows 10 - Settings - Network & Internet - Wifi - Edit IP Assignment - Manual - Fill it

How to Change your Windows 10 IP Address in Control Panel

If you prefer the old-school way of doing things, the Control Panel may be better suited to you. In some ways, its interface is easier to navigate when it comes to IP editing. Here's how you can use it for that purpose:

Press Start and then type “Control Panel” . Click the top result.

Windows 10 - Open Control Panel

At this point, you'll likely have to authenticate yourself as an administrator.

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties

If your IP address is currently manually assigned and you're running into issues, you can tick “Obtain an IP address automatically” here instead and click “Save” .

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties - Check Internet Protocol Version 4 - IP Automatically

Once you're done, press “OK” . You can leave the DNS fields blank, though it's worth noting that there are advantages to changing them.

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties - Check Internet Protocol Version 4 - IP Manual

How to Change IP in CMD (Command Prompt)

The command-line is often the fastest way to get things done, and this is no exception. You can change your IP in Command Prompt in under a minute if you need to. Here's how:

Press Start and type “Command Prompt” , then click “Run as administrator” on the right-hand side.

Windows 10 - Open Elevated Command Prompt

Before you change your IP, you need to know the name of your interface. This will likely be “Wi-Fi” if you're on a Wi-Fi network or “Ethernet” if you're on Ethernet.

You can check yours with netsh interface IP show config . While you're there, note down its default gateway and subnet mask.

Windows 10 - Elevated Command Prompt - Enter the Command - Identify the Network Adapter

If you set your manual IP previously, you can revert it to automatic assignment via DHCP with the following command:

Remember to replace “Wi-Fi” with whatever your interface is called.

Windows 10 - Elevated Command Prompt - Command for Dinamic IP

If you'd rather set your IP address manually, you can instead use the following command:

Windows 10 - Elevated Command Prompt - Command for Static IP

Now that you know how to change your IP address on Windows 10, you may be interested in learning more about your network. Here's how you can change your network name or disable a Wi-Fi or Ethernet adapter .

Last Updated on February 14, 2022 7:43 pm CET

  • Change IP address
  • how to change ip address on pc
  • how to change ip address on windows 10
  • how to find ip address windows 10
  • windows 10 change ip address

Recent News

Cortana Skills Kit preview could be coming soon

Microsoft to Pay $242 Million in Patent Case Over Cortana

how to change ip pc

OpenAI Denies Search Engine Rumors, Focuses on ChatGPT Enhancements

Subscribe to WinBuzzer on Google News

how to change ip pc

How to change your IP address

Ever wondered if it’s possible to change your IP address? The good news is that you can—and I’ll show you how.

An IP address on a screen of code, representing an article about how to change your IP address

Changing your IP address: the easy way

Changing your ip address: with a vpn, how to automatically update your ip address: windows, how to automatically update your ip address: macos, how to manually change your ip address: windows, how to manually change your ip address: macos.

If you're concerned about your digital privacy, well, you have every right to be—third-party snoopers, hackers, and other online nasties are all hungry for your data, after all. Luckily, changing your IP address can help shore up your security, and it's not all that difficult to do.

All of your traffic is tied back to your device's IP address—all of your gadgets have one, including your PC, laptop, mobile, and even your router. Your internet service provider (ISP) can use your IP address to keep tabs on what you get up to online and build up a profile of your habits (that is, if you're not using one of the best VPNs in the biz). Unfortunately, this can then be used to generate creepy, invasive, targeted ads. Changing your IP address ensures that nobody can watch over your shoulder.

If you change your IP address to one located in another country, however, you'll also be able to check out region-specific content—like Netflix shows that are only available in the US or exclusive sporting events. That's especially handy if you're traveling overseas and want to keep up with your favorite series, or if you just need a new digital boxset to binge.

So, let's get stuck in—here's how you can change your IP address on a computer running either Windows 11 or macOS.

A Motorola modem, representing the easy way to change your IP address

The simplest way to change your IP address is to unplug your modem. Keep in mind that this may not work on the first try. It’s even possible that you’ll need to leave your router unplugged overnight.

  • Check your IP address . Our guide on how to find your IP address details the steps.
  • Unplug your router for five minutes. This may take longer depending on your ISP.
  • Plug your router back in and check to see if your IP has changed. If not, repeat the steps.

ExpressVPN vs NordVPN

ExpressVPN currently sits at the top of my VPN rankings—and for good reason. It's wickedly quick, unblocks pretty much every streaming platform, and makes changing your IP address as simple as hitting a button. Oh, and you can get an extra 3 months free if you pick up a 12-month plan.

If you want another super-easy, super-reliable way to change your IP address, you'll want to recruit the help of a secure VPN . Because VPNs route your traffic through a secure server, and encrypt your data, they prevent your ISP (and other nosy onlookers) from monitoring your browsing sessions.

VPNs also make it incredibly easy to change your location. You can take your pick of servers, usually scattered across the globe, and fool the sites you visit into thinking you're really there (when you're actually still on your couch with your cat). Then, you'll have unfettered access to streaming content, be able to bypass pesky blocks, and even snag the best deals on region-specific sales.

Sign up to get the BEST of Tom’s Guide direct to your inbox.

Upgrade your life with a daily dose of the biggest tech news, lifestyle hacks and our curated analysis. Be the first to know about cutting-edge gadgets and the hottest deals.

  • Open your VPN application . If you've never used it before, you'll need to run through a quick installation process and input your login details.
  • Choose a server . If you’re after increased privacy, choose one in your home country. If you want to access content from another country, pick one in your desired location.
  • Press the connect button .
  • Wait a few seconds for the VPN to connect . You'll now be using a new IP address.
  • Press Win + R on your keyboard to open the Run box.
  • Type "cmd" in the search bar then hit Enter to open the command prompt box.

A screenshot showing the Windows CMD prompt

  • Type "ipconfig /release" . Be sure to include the space between "ipconfig" and "/release". Hit Enter. A wall of text will flood the screen.

A screenshot showing the Windows command prompt

  • Type "ipconfig /renew" and hit Enter. Close the command prompt window afterward.

A screenshot showing the Windows Command Prompt

  • Click the Apple icon in the upper left corner of the screen. Click System Preferences.

A screenshot demonstrating how to change IP address on a Mac

2. Select Network .

  • Select Network.

A screenshot demonstrating how to change IP address on a Mac

  • Click Advanced.

A screenshot demonstrating how to change IP address on a Mac

  • Click TCP/IP on the following screen then click Renew DHCP Lease.

A screenshot demonstrating how to change IP address on a Mac

If you already have an IP address you'd like to use, and want to take matters into your own hands, here's how you can manually set your IP address on a Windows device.

  • Press the Start icon in the taskbar. Alternatively, click on the search icon.

A screenshot showing the Windows Start menu

  • Type "settings".

A screenshot of the Windows Start menu showing the Settings app

  • Click Network & Internet .

A screenshot showing the Windows Network & internet menu

  • Select your network (either Wi-Fi or Ethernet).

A screenshot showing the Windows Network & internet menu

  • Find IP assignment and click Edit.

A screenshot showing the Windows Network & internet menu

  • Click on the drop-down menu and select Manual.

A screenshot showing the Windows Network & internet menu

  • Toggle IPv4 on.

A screenshot showing the Windows Network & internet menu

  • Set your IP address on the following screen, along with Subnet mask, Gateway and Preferred DNS. You can also select Alternate DNS. Click save.

A screenshot showing the Windows Network & internet menu

On the other hand, you have an IP address you want to use and a Mac device, this is how you can manually set it on macOS.

  • Click the Apple icon in the upper left corner of the desktop and select System Preferences. On the System Preferences window that appears, click Network.
  • Click your current network and select Advanced.
  • Click the TCP/IP tab. Choose Manually from Configure IPv4.

A screenshot demonstrating how to change IP address on a Mac

  • Type a new IP Address . Click OK and then Apply.

A screenshot demonstrating how to change IP address on a Mac

Tony is a computing writer at Tom’s Guide covering laptops, tablets, Windows, and iOS. During his off-hours, Tony enjoys reading comic books, playing video games, reading speculative fiction novels, and spending too much time on X/Twitter. His non-nerdy pursuits involve attending Hard Rock/Heavy Metal concerts and going to NYC bars with friends and colleagues. His work has appeared in publications such as Laptop Mag, PC Mag, and various independent gaming sites.

Don't download XNXubd VPN Browser – it's dangerous

This Android malware is stealing passwords by impersonating popular apps like Instagram and Snapchat — how to stay safe

Lomachenko vs Kambosos Jr live stream: How to watch boxing online, fight card, start time, odds

Most Popular

  • 2 Apple iPhone 16 Pro tipped to get this major display upgrade
  • 3 Apple could unveil revamped Siri with generative AI at WWDC — here’s the key upgrades
  • 4 Plush queen mattress vs firm queen mattress: Which is best for your budget and sleep?
  • 5 How to watch Google I/O 2024: Android 15, Gemini and more

how to change ip pc

  • Alexa vs. Google Assistant
  • Amazon Prime Tech Deals!

How to Change Your IP Address

If you need to spoof your IP address, there are a few ways to do it

  • Massachusetts Institute of Technology
  • University of Illinois

how to change ip pc

  • The Wireless Connection
  • Routers & Firewalls
  • Network Hubs
  • Installing & Upgrading
  • Wi-Fi & Wireless

What to Know

  • Windows: Control Panel > Network and Sharing Center > Change adapter settings and follow the instructions below.
  • Mac: System Preferences > Network . Select a network > Advanced . Go to the TCP/IP tab and select Manually . Enter info.
  • iOS: Open Settings > Wi-Fi , tap the circled i next to the network, select Configure IP > Manual . Set up the new IP.

This article explains how to change your IP address manually by switching from the router's assigned DHCP address to a static one on Windows, Mac, iOS, and Android. It also covers how to change your router's public IP address, which appears as the public IP address of every device on the network unless you use a VPN.

You can also get a new IP by releasing and renewing your IP .

Change a Windows Computer's IP Address

If your Windows computer has the IP address set up as a static one, change the IP address as follows:

Open Control Panel and select Network and Sharing Center . If you don't see it, first select Network and Internet .

Choose Change adapter settings .

Double-click the connection that you want to change the IP address on. For example, to change the wireless adapter's IP address, double-click the one that mentions Wi-Fi.

Select Properties .

Select Internet Protocol Version 4 (TCP/IPv4) .

Either alter the IP address or select Obtain an IP address automatically to have the router control the IP address.

If you leave the setting to obtain an IP address automatically, the router automatically assigns an IP address to the computer. However, when you enter the IP address information, the computer's IP address stays static.

Leave Obtain DNS server address automatically selected. Otherwise, your DNS server settings remain empty, which may cause other connection issues.

Change a Mac Computer's IP Address

Here's how to change the IP address on a Mac.

Open the System Preferences app on the Mac and select Network .

Select your Wi-Fi network in the left panel and click Advanced .

Select the TCP/IP tab.

Select Manually in the drop-down menu next to Configure IPv6 (or iPv4) and enter the information for the new IP.

Change a Phone's IP Address on iPhone

You can also change the IP address on a mobile device such as the Apple iPhone as follows:

Open the  Settings  app and select Wi-Fi .

Tap the small ( i ) next to the network and select Configure IP .

Choose Manual . Enter the network details manually, such as your IP address and DNS information.

The choice of a specific local IP address does not affect the network performance in any meaningful way.

Change a Phone's IP Address on Android

It's also possible to change an Android device's IP to a static IP on your network.

Android phones can vary depending on the manufacturer of the device. Some manufacturers alter the Android OS to meet their specifications, which means the steps you need to follow may differ slightly from those listed here. These steps should apply to most Android devices.

Go to Settings > Network & internet > Wi-Fi .

Tap the network that you want to change the IP address for.

Select Forget .

Tap the network from the list of available Wi-Fi networks.

Select Advanced options .

Choose Static .

Scroll down and fill out the IP address fields.

Enter the Wi-Fi password at the top of the screen.

Select Connect .

Change a Router's IP Address

To change the router's IP address, log in to the router as an administrator. From the control panel, change the IP address to whatever you like. However, this IP address is usually changed when there's a problem with it. The default IP address should suffice for most situations.

How to Change Your Public IP Address

An external public IP address is the address used to communicate with networks outside of your own, such as those on the internet. Use a VPN to mask or hide your real IP address. You can also use a web proxy to mask your public IP.

Why Change Your IP Address?

Some ISPs assign static IP addresses to their subscribers. Home users are commonly configured with a dynamic IP address . Either way, you may be able to contact your ISP to request a new static IP or a dynamic IP change. You can't change your external internet IP address on your own.

Some people change their public external IP address to avoid online bans or bypass country location restrictions that some sites impose on video content.

Changing the IP address of a client computer, phone, or router is useful when:

  • An invalid address is accidentally configured, such as a static IP address in the wrong numeric range.
  • A malfunctioning router provides bad addresses, such as an address used by another computer on the network.
  • Installing a new router and reconfiguring a home network to use its default IP address range.

No. There are many reasons someone may want to change their IP address. However, if you're on a work setup or have a home network running, messing with IP addresses can sometimes cause headaches, so make sure you know what you're doing.

It's possible but not probable. If you're power-cycling your router , the address likely won't change. Still, if you reset your router to factory defaults, it's more likely the device will assign new addresses.

Yes, you can. However, you need third-party software. A VPN , or virtual private network, gives you unique IP addresses in places anywhere on earth.

Get the Latest Tech News Delivered Every Day

  • How to Find Your IP Address on Windows 10
  • How to Find Your Default Gateway IP Address
  • How to Connect to Your Home Router as an Administrator
  • NETGEAR Default Password List (May 2024)
  • How to Fix It When There's No Internet Connection
  • How to Change the IP Address on a Mac
  • What Is a Public IP Address? (and How to Find Yours)
  • How to Find the IP Address on a Mac
  • How to Find Your IP Address in Windows
  • What Is an IP Address?
  • What Is a Static IP Address?
  • How to Find Your IP Address
  • How to Find a Modem's IP Address
  • How to Change the IP Address on Your Android
  • 3 Ways to Find Your Roku IP Address (With or Without the Remote)
  • What Is a NETGEAR Router's Default IP Address?
  • PRO Courses Guides New Tech Help Pro Expert Videos About wikiHow Pro Upgrade Sign In
  • EDIT Edit this Article
  • EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard This Or That Game Popular Categories Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Youth Personal Care School Stuff Dating All Categories Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
  • Browse Articles
  • Learn Something New
  • Quizzes Hot
  • This Or That Game
  • Train Your Brain
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
  • Computers and Electronics
  • Computer Networking
  • IP Addresses

How to Change Your IP Address

Last Updated: October 27, 2022 Tested

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 20 people, some anonymous, worked to edit and improve it over time. The wikiHow Tech Team also followed the article's instructions and verified that they work. This article has been viewed 250,078 times. Learn more...

There are many reasons why a person would want to change his or her IP address. This tutorial will show you how to change the IP address of a wired or wireless computer, not the IP address of an internet connection. (To do this, you need to contact your service provider.) Read on to find out how to change your IP address on both a Windows and Mac computer.

Changing Your IP Address on Windows

Step 1 Disable your internet connection.

  • Press the Windows key and R to get to the Run dialog.
  • Then press Command and Enter .
  • Finally, type in "ipconfig /release" and press Enter .

Step 2 Open the Control Panel.

  • 7 Understand that a dialog box may pop up. A dialog box saying "Since this connection is currently active, some settings will not take effect until the next time you dial it" may pop up. This is normal. Click "ok."Image:Change Your IP Address Step 7.jpg

Step 8 Right-click again on your local connection, selecting

Changing Your IP Address on Mac OS

Step 1 Open your Safari browser.

  • Connection time

Step 8 Find an appropriate web proxy and type in the proxy IP address into the Web Proxy Server box in your network preferences.

Community Q&A

Community Answer

  • This is a helpful website to see your IP address and to see if it actually worked: http://whatismyipaddress.com/ Thanks Helpful 0 Not Helpful 1

how to change ip pc

  • Sometimes, if they're really lucky (or you're really unlucky and got a bad IP address) they might even pinpoint your district! Thanks Helpful 3 Not Helpful 1
  • For Windows 7 only. Other OS users such as Mac and Linux try another website. Thanks Helpful 3 Not Helpful 1
  • Sadly, however many times you change your IP address, websites can still pinpoint your country and (if lucky) your city. Thanks Helpful 5 Not Helpful 4
  • It might not work every time. This is why you need to check using the website shown at Tips. Thanks Helpful 5 Not Helpful 4

You Might Also Like

Find a Website's IP Address

  • http://www.tomshardware.com/forum/25949-42-change-address-windows
  • http://osxdaily.com/2010/01/26/how-to-set-a-manual-ip-address-in-mac-os-x/

About This Article

1. Disable your internet connection. 2. Open Control Panel. 3. Open Network and Sharing Center . 4. Right-click the connection and select Properties . 5. Open TCP/IP IPv4 properties. 6. Specify 111.111.111.111 as the IP. 7. Press the Tab key and then click OK . 8. Re-open TCP/IP IPv4 properties. 9. Select "Obtain an IP address automatically." 10. Click OK . Did this summary help you? Yes No

  • Send fan mail to authors

Is this article up to date?

Am I a Narcissist or an Empath Quiz

Featured Articles

Take Better Care of Yourself

Trending Articles

Confront a Cheater

Watch Articles

Make Sugar Cookies

  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info

wikiHow Tech Help:

Tech troubles got you down? We've got the tips you need

  • Meta Quest 4
  • Google Pixel 9
  • Google Pixel 8a
  • Apple Vision Pro 2
  • Nintendo Switch 2
  • Samsung Galaxy Ring
  • Yellowstone Season 6
  • Recall an Email in Outlook
  • Stranger Things Season 5

How to change your IP address on Mac and Windows

Switch your ip address to one you want with just a few quick steps.

Your IP address is kind of like your computer’s networkable name-tag. It’s the numeric identifier your internet connection uses to catalogue your desktop or laptop, on top of all your mobile devices and other web-connected gear. By default, your Windows or MacOS machine will assign an IP address to your peripheral, but you also have the ability to change that identifier, along with some other networking info.

Changing your private IP address in Windows 11

Changing your ip address in macos, changing your public ip address, what you need.

A Windows or MacOS computer

Doing so isn’t too complicated either. And to help you along the way, we’ve put together this guide for changing your IP address in Windows and MacOS. We also have a section toward the end on how changing your public IP address.

Your private IP address is the one that your local network — be it your home or office — uses to identify your system. It’s probably some variation on 192.168.0.XXX, with the latter few numbers being the main differentiator between your PC and your phone or other device connected to the network. You can find out your current IP address by searching for CMD in the Windows 11 search bar and selecting the corresponding result. Then type IPConfig and hit Enter in the Command Prompt window. The numbers next to IPv4 Address are your IP address. It’s a good idea to note this down, along with your Subnet Mask and Default Gateway, as those will be important if you want to change your IP address manually.

For more tips on finding out your IP address, we have a guide just for that .

If you don’t care about what your IP address is — just not that one — then you can reset your router . It should reassign IP addresses to all connected devices once it comes back online. If it doesn’t, or you want a specific IP address instead, follow these steps.

Step 1: Click Start , then click Settings > Network & internet .

Step 2: If you’re using a Wi-Fi network, click Wi-Fi > Manage known networks . If you’re using an Ethernet connection, choose Ethernet .

  • How to keep your Microsoft Teams status active
  • How to allow pop-ups on a Mac
  • How to change where screenshots are saved on a Mac

Step 3: Click the Edit button next to IP assignment .

Step 4: You should see two options: Edit network IP settings and Edit IP settings . Choose one of these, then click Manual . Then, toggle on IPv4 .

Step 5: Type in your new address, then click Save .

We would recommend sticking to a similar numbering convention as the one you have automatically supplied by your router, but change the final number to whatever you want between 0 and 255 (some routers may specify a different range, so consider sticking to the lower end of it).

You must then put in your network’s Subnet Mask and Default Gateway, which we learned to find earlier in this guide. Finally, set your Preferred DNS server to the same as your Default Gateway, unless you have another DNS server in mind. Then press OK and OK again to confirm your settings.

Step 6: To confirm your IP address has changed, run IPConfig in a Command Prompt window again. When you’ve definitely changed your IP, try loading up a website to make sure that you’re still able to get online. If you can, congratulations, you’ve changed your IP address. If you can’t, make sure you’ve input the right information. In the worst case, set everything back to how it was, and you’ll be able to get online again.

The process for changing your IP address on MacOS is different but no more complicated than it is on Windows. You jump through similar hoops to find out what your IP address is on MacOS, so we’ll dive right into the steps.

Step 1: To gain access to your network settings on MacOS, select the Apple logo in the top left-hand corner and choose System Settings from the drop-down menu. Then, click the Network icon in the left-hand column.

Next, select your network — Wi-Fi or Ethernet depending on your connection type.

Step 2: Click the Details button, then click open the TCP/IP tab.

Step 3: Click open the dropdown menu next to the Configure IPv4 option. Then, click Manually . Now, enter your new IP address. We recommend sticking to the numbering convention that your router initially assigned you.

Step 4: When you’re happy with your selection, confirm it, and select Apply to complete the settings. Then see if you can connect to the internet. If you can, congratulations — you’ve changed your IP address. If you can’t, then go back and double-check to see if you missed a step along the way. If you’re stuck, set everything back the way it was, and once you can get back online, try again to see if you can spot the problem.

Whether you’re running a Windows or MacOS machine, changing your public IP address is a little more complicated. Internet service providers typically determine the IP addresses they distribute to their users, so it’s not something the customer has the ability to change on their own. Most will offer a Static IP service that allows you to choose your public-facing IP address, but often they charge for the privilege. If you want to permanently change your public IP address, your best bet is to contact your ISP and inquire about it.

On the plus side, if you were trying to change your IP address for privacy, you can just opt to hide it instead. Hiding your IP address will also let you access websites from different countries, like if you want to see shows from a different version of Netflix. To learn about hiding your IP address, using a Proxy, or going through the Tor network, check out our guide about how to do so .

A more permanent solution is to use a VPN service. We have a list of favorites that range from free to a few dollars per month, but they all give you the ability to change your public IP address to one found in an entirely different country of your choice, with myriad server options to help you fine-tune it. While you won’t determine the numbers yourself, you’ll get an entirely new address, which is the whole purpose.

Editors' Recommendations

  • The best MacBook to buy in 2024
  • How to transfer photos from an iPhone to a computer
  • How to change the login picture on a Mac
  • How to change your MAC address on Windows and Mac
  • How to check the storage space on your Mac
  • How-To Guides
  • Microsoft Windows
  • Windows Guides

Jon Martindale

You can only know if you have enough RAM, if you know how to check how much you have. Fortunately, doing so is super quick and easy and then you can decide whether you want to upgrade your memory -- here's how to choose new memory sticks -- or whether you have enough for what you need to do.

You certainly don't need to buy more or new RAM just for the sake of it, and if you have enough for what you need, more memory won't make much difference anyway.

A bibliography is an important part of any well-structured college essay, dissertation, article, or other researched writing sample. It lets your readers know what sources you used as building blocks for your work, and isn’t too difficult to make without a template tool. Still, if you’d like to skip a few steps, there’s a terrific bibliography generator built right into Microsoft Word.

One of the best ways to keep your many email inboxes safe and secure is by frequently changing your password. While this may sound inconsequential, periodic login updates end up being one of the biggest deterrents against hackers and other malcontents. If Yahoo is your email platform of choice, we’ve put together this guide to teach you how to update your account password in just a few simple steps.

How to change your IP address to troubleshoot your internet connection or protect your privacy

  • You can change your local IP address from the network settings controls menu on a PC, Mac, or phone.
  • Your public IP address can be changed by resetting your router or connecting to a VPN.
  • You might need to change your IP address for technical or security reasons.

Your computer, like every device that connects to the internet, has an IP (Internet Protocol) address. It's a series of numbers interspersed with decimal points (for example, "198.169.0.101"), and acts like a home address that identifies where other devices can find your computer. 

It's rare that you need to know your computer's IP address, but should you need it, it's easy to find (for details, see our articles on how to find the IP address for Windows or the IP address on a Mac) .

Here's everything to know about changing both your local and public IP addresses.

How to change your public IP address

No matter what kind of computer you have — Windows or Mac — it's pretty easy to change your public IP address.

Your public IP address is usually set by your internet service provider (ISP), and you can't choose it yourself. However, you can "coax" it to change in any of several different ways:

  • Change your network or location : Your public IP address will change based on where and how you connect to the internet. If you have a phone with LTE, for example, turning off Wi-Fi so it uses that LTE signal will compel it to use a different IP address. You can also connect to a different Wi-Fi network.
  • Reboot your internet modem : When you reboot the modem (turn it off, wait two to three minutes, then turn it back on) it'll refresh all the IP addresses on the network. 
  • Connect with a VPN : A VPN (Virtual Private Network) hides your public IP address, and connects you to a server in a different location with a different IP address. When you use a VPN, you don't get to choose the IP address directly, but you can usually choose what geographic region you want to appear to come from, which will determine what IP addresses the VPN software will use to identify you.  

If all else fails, contact your ISP and ask them to change your IP address. They might not be able to do it, but there's no harm in asking.

How to change your local IP address in Windows

1. Click the Start button and then click "Settings."

2. Click "Network & Internet."

3. In the navigation pane on the left, click "Wi-Fi" and then click the name of your Wi-Fi network. If you're connected with an Ethernet cable, select "Ethernet."

4. On the details page for your Wi-Fi network, scroll down to the IP settings section and click "Edit." With Ethernet, click "Properties."

5. Finally, in the Edit IP settings dialog box, click "Automatic (DHCP)" and choose "Manual." Then turn on IPv4 by swiping the button to the right and enter the details of the new IP address. Click "Save."

How to change your local IP address on a Mac

1. In the Apple menu, click "System Preferences."

2. Click "Network."

3. In the pane on the left, select the network you're connected to, and then click "Advanced" at the bottom right of the window. 

4. Click the "TCP/IP" tab at the top. 

5. In the Configure using IPv4 section, click "Using DHCP" and then choose "Manually."

6. Finally, enter the details of the new IP address. Click "OK."

How to change the local IP address on a mobile device

Like any internet-connected device, your phone has its own IP address. If you have a compelling reason to, you can change your IP address for your phone as well.

For both iPhone and Android, you can customize the IP address from the Wi-Fi settings page. For step-by-step details on how to do this, see our articles " How to change the IP address on your iPhone " and " How to change the IP address on an Android phone ."

how to change ip pc

  • Main content

How to Change Your IP Address Quickly and Easily

Changing your IP address can help you bypass geo-blocks and maintain your privacy. Here's how to do it on iOS, Chrome OS, and Windows 10.

Whether you own a laptop, desktop PC, smartphone, or even a smartwatch, you'll be assigned an IP address. This is a unique line of numbers that identifies both your device and your geographical location. But should your IP always be kept the same, or is it important to change it every now and then?

Should You Change Your IP Address?

In short, yes. Changing your IP address semi-regularly is a good idea. But why exactly is this?

Firstly, changing your IP address can help in retaining your device's security and privacy levels during online browsing. Though it isn't widely common for an individual to take advantage of your IP address, this can be done to discover your geographical location.

So, if this is a concern for you, or you'd simply rather avoid the possibility in any case, changing your IP address is a great idea. Additionally, changing your IP address can be great in troubleshooting when you're experiencing internet connection issues.

Lastly, changing your IP address can help you bypass geo-blocking . This is a technology that restricts certain content depending on your location. As you may guess, your IP address is used to determine your location in the process of geo-blocking. This can be particularly helpful if you regularly use streaming services and want to watch TV shows and movies that aren't currently available in your area.

So, if you want to change your IP address, how can it be done?

How to Change Your IP Address

The process of changing your IP address will differ slightly depending on the kind of operating system you're using on your device. Because of this, we'll be providing instructions for iOS, Windows, and Chrome OS.

How to Change Your IP Address on iOS

Here's how to change your IP address on an iOS device.

On a Mac or MacBook , you can access your connection settings via the Wi-Fi logo in the top bar of the screen, or via your settings. It's typically easier to use the former method, but you can access your connection settings via your settings app by clicking on the Network option.

In this window, you'll be able to view and change your current IP address, which you should make note of for a later step. From here, click on the Advanced tab at the bottom right of the window, and then TCP/IP . Then, you'll need to use the dropdown list on the Configure IPv4 section, and select Manually .

After this, you'll see your IP address change to "0.0.0.0", meaning it has reset, and you now must manually type in the new one. Note that you cannot just type in any random set of numbers. Instead, you should take a look at the router address, shown two rows down, and copy that entirely up until the fourth set of numbers.

For example, if your router address is "123.456.78.9", your new IP address must start with "123.456.78" so that you're configured to the router. When it comes to the last set of figures, you can change it to any number between one and 55.

The process of changing your IP address on an iPhone or iPad will differ a little from the steps above. In this case, you'll need to access your settings, and head into your Wi-Fi settings. Then click the blue circular information icon next to the network you're currently connected to.

From here, the steps are similar. You need to change the Configure IPv4 setting to Manually , but you need to remember both your router and subnet mask addresses before you do this, as they will reset along with your IP address when you switch to manual configuration.

So, you'll have to re-enter your subnet mask and router addresses first, and then the process of entering a new IP is the same as that used for an iMac or MacBook.

How to Change Your IP Address on Windows 10

We'll be providing instructions for changing your IP address on Windows 10 specifically, given that it is currently the most popular OS version produced by Windows.

To change your IP on Windows 10, you'll first need to head to your settings via the Windows menu option on the bottom left of your screen. Once you're in your settings app, click the Network and Internet option, and then Network and Sharing Center .

On this page, you'll see an option on the left of the screen called "Change Adaptor Settings". Right-click on whichever connection you are using, be it wireless or cabled, and click the Properties option from the drop-down list. Then, select Internet Protocol Version 4 option so that it's highlighted, and then click on the Properties button on the right-hand side.

After this, you'll need to switch from the automatic to the manual IP configuration option named Use the following IP address . Now, you'll be able to enter a new IP. Make sure you know your subnet mask and router addresses before doing this so that you can re-enter them upon refresh.

This isn't the only way you can change your IP address on Windows 10. Alternatively, you can allow your device to reset your address for you automatically by going to your Windows menu and typing "command" into the search bar. Then, the Command Prompt app will show up .

After clicking on this, you'll see a black window with a few lines of code. Directly next to the last line, type in "ipconfig/release". Upon entering this, your internet connection will temporarily time out. You'll then see multiple new lines of code appear on the screen, but don't panic; this is normal.

At the bottom of this code, next to the last line, type in "ipconfig/renew". This will then prompt your device to renew your IP address without having to type it in manually.

How to Change Your IP Address on Chrome OS

Changing your IP address on Chrome OS is incredibly simple and starts with accessing your settings in your app menu.

Once in settings, you'll already be in the "Network" section. Here, you'll need to scroll down until you see the Network option. Click on this to view the drop-down list showing your IP, subnet mask, gateway, and IPv6 addresses. At the top of this list, you'll likely see that the Configure IP address automatically toggle is switched on. Switch this off to manually change your address.

Then, the process is the same as that required on an iMac or MacBook. You should take a look at the gateway address, shown under your subnet mask address, and copy that, up until the fourth set of numbers.

We'll use the same example here as shown in the iOS tutorial. If your router address is "123.456.78.9", your new IP address must start with "123.456.78" so that you're configured to the router. When it comes to the last set of figures, you can change it to any number between one and 55.

Now, your IP address should be different from what it was before.

Changing Your IP Address Can Help You Stay Safe Online

By changing your IP, you can up your internet security levels, troubleshoot connection problems, and bypass geo-blocking without having to go through a long and strenuous process. The methods by which you can change your IP address are pretty simple on any device, so you can get it done in no time regardless of how tech-savvy you are.

MiniTool

  • Disk & Data Manager
  • Partition Wizard
  • Power Data Recovery
  • ShadowMaker
  • Media Toolkit
  • uTube Downloader
  • Video Converter
  • Download Partition Wizard Free Edition: Download Pro Edition: Try Demo Server Edition: Try Demo
  • Partition Magic

How to Change IP Address on Windows 10 [Step-by-Step Guide]

Sometimes, we have to change IP address out of many reasons. How to change IP address on Windows 10? If you are also searching for the answer, you can follow this Windows 10 guide provided by MiniTool to change IP address.

Before You Do

How to change your IP address? In order to change IP address Windows 10 smoothly, it’s required to log in to Windows 10 using an administrator account. Besides, you need to find the IP address of your router and computer. To do so, follow the steps below.

Step 1. Press the Win + I keys to open the Settings app and go to the Network & Internet section.

Step 2. In the Status tab, scroll down the right sidebar and click on the View your network properties  option.

Step 3. Now, scroll down the new screen to find the Default gateway and IPv4 address sections. The router’s IP address is next to the Default gateway and the IPv4 address identifies your computer. Remember the IP addresses you have found.

find the IP addresses of the router and computer

Now, let’s see how to change IP address Windows 10 in the following part.

How to Port Forward Minecraft Server? – Here’s a Full Guide

Minecraft port forwarding is a heated topic among a great number of Minecraft fans. How to port forward Minecraft? Let’s this post tell you the answer.

How to Change My IP Address in Windows 10

Here we will walk you through 2 methods. Each method will be discussed in detail. Now, let’s start learning how to change IP address Windows 10.

Method 1. Change IP Address Windows 10 Using the Settings App

The first and simplest way to change IP address is to use the Settings app. Here’s a full guide for you:

Step 1. Open the Settings app by pressing Win + I keys and then click on Network & Internet .

Step 2. In the pop-up window, select the network type based on your situation. If your device connects to the Internet through a wireless card, select the Wi-Fi section. If your device is using a wired connection, select the Ethernet section.

click on Wifi

Step 3. Scroll down the right sidebar to locate the IP settings section and click on the Edit button.

Step 4. In the pop-up dialog box, select Manual from the drop-down menu and enable the IPv4 switch.

Step 5. Enter all the required details below including IP address , Subnet prefix length , Gateway , etc.

IP address : It refers to the static IP address that you want to use.

Subnet prefix length : It refers to the prefix length that determines the size of the subnet.

Gateway : It refers to the IP address of your router.

The Preferred DNS and Alternate DNS settings are not mandatory to enter. The setting will be automatically assigned by your router if they are blank.

Step 6. After the details are entered, click on the Save button to change IP address.

How to Open Ports on Your Windows 10 PC - Here’s a Full Guide

Method 2. Change IP Address Windows 10 in Control Panel

In addition to the above method, you can change IP address Windows 10 through the Control Panel. Here’s how to do that:

Step 1. Type control in the search window and select the Control Panel app from the best match.

Step 2. Change the View by to Category , and then click on View network status and tasks under the Network and Internet section.

click on View network status and tasks

Step 3. Navigate to the View your active networks tab and click on your Internet connection next to it.

click on your Internet connection

Step 4. In the pop-up window, click on Properties and then select the Internet Protocol Version 4 or IPv6 , which depends on the IP address that you’re ready to change. 

Step 5. Click on the  Properties button.

click on Properties

Step 6. In the Properties window, select the Use the following IP address option if you want to set a static IP address.

Step 7. Then you need to enter all the required details manually including IP address, subnet mask , and Default gateway . After that, click on OK to save the changes and exit the window.

change IP address

How to change your IP address in Windows 10? I believe that already have known detailed steps. Now, it’s your turn to have a try.

About The Author

Ariel

Position: Columnist

User Comments :

  • Editorial guidelines

Links on Super Easy may earn us a commission. Our Editorial Guideline .

How to change IP address Windows 10

' src=

Updated: December 28, 2022

122 Revisions

How to change IP address Windows 10

Whenever you go online, you need an IP address. But you don’t have to stick with the same one. If you’re wondering what an IP address is and how to change it, you’ve come to the right place!

In this article, we have covered…

  • What an IP address is
  • How to check the current IP address
  • How to change an IP address To change your public IP address To change your private IP address

Bonus Tip: Use a VPN to hide your real IP address

What is an IP address

IP address is short for Internet protocol address . It is a string of number that uniquely identifies a device on the network. Just like a pizza service that requires you to fill in your physical home address for the takeout to be delivered to your door, you’ll also need an IP address when going online so that websites and services know where you are and transmit data.

An IP address consists of two numbers, public IP address and private IP address . The public IP address is assigned to your router and it’s how devices outside your immediate internet network identify your local network. For example, if you’re connected to a WiFi network, you are probably sharing the same public IP address with everyone else connected to the same WiFi. Also, if you use your own mobile data, you may have your own public IP address.

The private IP address is used to identify each device that’s connected to the same network. For example, your printer, your computer, your phone, and your tablet share the same public IP address (assuming they’re connected to the same local network), but they have a private IP address to themselves.

There are two types of IP address, IPv4 and IPv6 . The IPv4 uses 32 bits in its number and has a total of 4.3 billion of addresses available in its form, whereas IPv6 adopts a 128-bit form and allows up to 340 trillion trillion trillion unique addresses, which is the solution for the long term growth of the Internet, with IPv4 addresses dying out.

Here are some examples of IPv4 and IPv6 addresses:

How to check your IP address

In order to know whether your IP address change is successful , you’ll need to check your device’s current IP address first.

how to change ip pc

How to change your IP address

Here are five different methods that would help you change an IP address. Just choose the ones you like.

To change your public IP address:

  • Restart your modem/router and restart your computer
  • Switch to a different network

To change your local/private IP address:

  • R enew your local IP address
  • Specify a static IP address manually

Method 1: Restart your modem/router and restart your computer

If your computer is connected to a network through a modem, the computer is usually automatically assigned a dynamic IP address by your ISP. These IP address belong to your modem for a specific period of time before your ISP refreshes it with a new one. You can sometimes speed up the process by restarting your modem/router and your computer.

Here is how to do it:

how to change ip pc

  • Wait 60 seconds for your modem (and your wireless router) to cool off.
  • Plug the network devices back in again and wait until the indicator lights are back to the normal state.
  • Restart your computer.
  • Check your IP address to see if it is changed.

Method 2: Switch to a different network

Another easy way to obtain a different public IP address is to connect to a different network. To do so, simply can take your computer to a friend’s place, a cafe, a library or anywhere that provides you with Internet access.

To change your private IP address

Method 1: renew your private ip address.

If you intend to change your private IP address, you can run the ipconfig /renew command. This nudges your DHCP client to negotiate a new IP address lease with the DHCP server.

Here is how to renew your private IP address:

how to change ip pc

  • When prompted for permission, click  Yes  to run Command Prompt.

how to change ip pc

  • Check your IP address to see if it’s a new one.

Method 2: Specify a static IP address manually

Sometimes the auto-generated IP addresses by your router may be a hassle when you want your PC to have a static, unchanging IP address. In this case, you can assign a static IP address to your device.

Here are the steps:

how to change ip pc

  • Click OK and then close the windows that open to configure the setting.
  • Now check your IP address to see if it’s changed.

Bonus tip: Use a VPN to hide your real IP address

As you probably have learnt from the above, everyone needs a public IP address in order to go on the Internet. So every time you connect to the Internet, you’re essentially sharing that IP address with every website you go to and app/service you use. This means that your IP address reveals lots about you – your location, your identity and your browsing activity. If you want a free, private and secured Internet surfing experience, we recommend that you use a VPN.

A VPN (Virtual Private Network) is a service that encrypts your Internet data and routes it through a server in a location of your choosing. In doing so, your online activity is scrambled, making it virtually impossible to trace what you have done online; at the same time, websites, online services and ISPs will recognize you as you were browsing from a location where the server is based instead of where you really are.

Here are some of the perks using a VPN:

  • Hide your real IP address.
  • Avoid ISP tracking.
  • Bypass geographical censorships and unblock contents that are otherwise unavailable to your region.
  • Protect yourself from snooping on untrustworthy Wi-Fi hotspots.
  • Gain some anonymity online by hiding your true location.
  • Protect yourself from being logged while torrenting.

You can set up a VPN connection manually, but this requires a lot of time, patience and computer skills. So it’s easier to use a VPN service, such as Nord VPN .

As a top-notch VPN service, NordVPN is very easy-to-use. It helps you set up a fast, stable and secure VPN connection to anywhere, all within a couple of clicks!

If you’re not sure whether NordVPN is right for you, you can try it out for 30 days free (In fact, Nord insists you do so). During the free trial, you can always choose to opt out or stick to the service.

Here is how to use NordVPN:

  • Download  and install NordVPN.

how to change ip pc

  • Once you’ve set up a VPN connection, you will find that your IP address has been replaced by the one where the chosen server is based.

That’s it – hopefully now you have successfully changed your IP address. If you have any questions, ideas or suggestions, feel free to drop us a comment below. Thanks for reading!

You may also like…

How to change IP address on your Mac

' src=

By Enya Zhang

Meet Enya – a passionate content writer who loves crafting insightful and helpful articles. Since 2018, she's built a reputation as a reliable source of knowledge. She explores topics far and wide, from online dating and people search tools to new streaming platforms to identity theft protection services and the latest tech.

When researching, Enya digs in deep. She sees to it that every article is backed by first-hand testing, rigorous analysis, and/or thorough investigation. Her commitment to in-depth research and comprehensive testing ensures her articles deliver trusted guidance readers can count on.

Embracing both quiet and thrill, Enya is a reserved extrovert who happily cruises between me time and socializing. Outside of writing, you can find her soaking up sights and sounds, chilling with friends or lost in a good book.

Certificate(s):

how to change ip pc

Related articles

How to Defrag on Windows 10

How to Defrag on Windows 10

how to change ip pc

How to Backup Files in Windows 10

How to Edit the Window 10 Context Menu

How to Edit the Window 10 Context Menu

How to force delete a file or folder on Windows 7/10/8.1

How to force delete a file or folder on Windows 7/10/8.1

How to install fonts in Windows 10 | quickly & easily!

How to install fonts in Windows 10 | quickly & easily!

Fix Low Disk Space Warning on Windows 10

Fix Low Disk Space Warning on Windows 10

Just published.

How to Watch Sex and the City on Netflix From Anywhere (UK Included)

How to Watch Sex and the City on Netflix From Anywhere (UK Included)

Best VPNs for Hulu (2024)

Best VPNs for Hulu (2024)

How to Watch Doctor Who from Anywhere (2024)

How to Watch Doctor Who from Anywhere (2024)

Best VPNs to unblock Netflix | Hands-on Test and Feedback 2024

Best VPNs to unblock Netflix | Hands-on Test and Feedback 2024

How to Watch BBC iPlayer from USA (and Beyond) in 2024

How to Watch BBC iPlayer from USA (and Beyond) in 2024

How to Hide Your IP Address (2024)

How to Hide Your IP Address (2024)

How to configure a static IP on Windows 10 or 11

Do you need to switch from a dynamic to a static IP address configuration on Windows 11 or 10? Here's how.

Windows 11 static IP

  • Windows 11 static IP
  • Windows 10 static IP

On Windows, the router's Dynamic Host Configuration Protocol (DHCP) server is (usually) responsible for assigning a dynamic Transmission Control Protocol/Internet Protocol (TCP/IP) configuration to every device in the network, including to your computer running Windows 11 or Windows 10.

Although a dynamic IP address is the recommended configuration for most situations, you may need to change to a static IP address if you're thinking about setting up a printer or file sharing, or you have to configure port forwarding on the router to your computer.

The reason is that a dynamic network configuration can change at any time after the lease from the DHCP expires and if the address changes, network resources you may have configured will stop working. Setting a static IP address will always stay the same on the computer, allowing a more reliable experience sharing resources in the network or forwarding ports.

Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt.

This guide will walk you through the different ways to configure a static network configuration on Windows 11 and 10.

How to set a static TCP/IP network configuration on Windows 11

On Windows 11, you can change your computer's dynamic IP configuration to static in at least two ways through the Settings app or commands.

Configure IP from Settings app

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

To assign a permanent TCP/IP configuration on Windows 11, use these steps:

  • Open  Settings .
  • Click on  Network & internet .
  • (Optional) Click on Advanced network settings .
  • Under the "More settings" section, click on Hardware and connection properties.
  • Note the current IPv4 ,  Subnet mask ,  Default Gateway , and  DNS server addresses to determine the new configuration, as it has to be in the same network scope.
  • Click the  Ethernet  or  Wi-Fi  page on the right side from the "Network & internet." page.

Ethernet settings

  • Quick note:  If you select the Wi-Fi page, you need to click on the connection properties to access the network settings.
  • Click on the  Edit  button for the "IP assignment" setting.

IP assignment

  • Select the  Manual  option from the drop-down menu.
  • Turn on the  IPv4  toggle switch.
  • Confirm the IP address for the computer – for example, 10.1.4.90.
  • Confirm the subnet mask for the configuration – for example, 255.255.255.0.
  • Confirm the default gateway address (usually your router's IP) – for example, 10.1.4.1.
  • Confirm the preferred DNS address – for example, 10.1.4.1.

Static IP configuration

  •   Quick note:  In a home network, you may also be able to use the router's IP address for the DNS configuration. You can also use third-party DNS services like Google Public DNS, Cloudflare, Cisco's OpenDNS, and others. 
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled unless you want to encrypted as well as unencrypted traffic or you're troubleshooting connectivity.
  • Quick note:  DNS over HTTPS (DoH) is a feature that encrypts the DNS queries over the HTTPS protocol to improve security and privacy on the internet. You only want to enable this feature if the DNS server supports this feature.
  • Confirm the alternate DNS address (if applicable).
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled.
  • Click the  Save  button.

Once you complete the steps, the computer will start using the static network configuration. If everything has been configured correctly, you should be able to open the web browser to access the internet.

If you entered an address (such as the DNS address) and then changed it, you probably won't be able to save the settings. If this is the case, cancel the configuration, start over, enter the correct configuration, and then try to save the settings.

Configure IP from Command Prompt

To set a static TCP/IP configuration on Windows 11, use these steps:

  • Open  Start .
  • Search for  Command Prompt , right-click the top result, and select the  Run as administrator  option.
  • Type the following command to see your current networking configuration and press  Enter : ipconfig /all
  • Confirm the name of the adapter and the networking configuration, including the IPv4 , Subnet mask , Default Gateway , and DNS Servers .

ipconfig command

  • Type the following command to configure a static TCP/IP address and press  Enter :  netsh interface ip set address name= "ADAPTER-NAME" static IP-ADDRESS SUBNET-ADDRESS DEFAULT-GATEWAY-ADDRESS

In the above command, replace  ADAPTER-NAME  with the name of your network adapter. Change  IP-ADDRESS SUBNET-ADDRESS    DEFAULT-GATEWAY-ADDRESS  with the device IP address, subnet mask, and default gateway addresses you want. For example, this command sets the 10.1.4.90, 255.255.255.0, 10.1.4.1 configuration:  netsh interface ip set address name="Ethernet 10Gb" static 10.1.4.90 255.255.255.0 10.1.4.1

Command Prompt configure IP address

  • Type the following command to set a DNS server address and press  Enter :  netsh interface ip set dns name="ADAPTER-NAME" static DNS-ADDRESS  

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name="Ethernet 10Gb" static 10.1.4.1

  • Type the following command to set an alternate DNS server address and press  Enter :  netsh interface ip add dns name="ADAPTER-NAME" DNS-ADDRESS index=2

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet 10Gb" 1.1.1.1 index=2

After you complete the steps, the commands will set a static network configuration on Windows 11.

How to set a static TCP/IP network configuration on Windows 10

On Windows 10, you can also use the Settings app and Command Prompt to set up a static IP network configuration.

To assign a permanent TCP/IP configuration on Windows 10, use these steps:

  • Click on  Ethernet  or  Wi-Fi .
  • Click on the active connection on the right side.

Network properties

  • Click the  Edit  button for the "IP assignment" setting.

Windows 10 IP assignment

  • Select the  Manual  option.
  • Confirm the subnet prefix length (subnet mask) for the configuration – for example, 24 to specify the 255.255.255.0 subnet mask.

Windows 10 static IP address

  • Quick tip:  It's important to use the number that represents the network instead of the subnet mask. Otherwise, the configuration won't save. If you don't know the subnet prefix length for your subnet mask, you can use any  online subnet calculator  to find out.

Once you complete the steps, Windows 10 will start using the static IP configuration. If you lose network connectivity, restart the computer to regain access to the local network and internet.

To change from dynamic to static IP address with commands on Windows 10, use these steps:

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name=" Ethernet 10Gb" static 10.1.4.1

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet0" 1.1.1.1 index=2

After you complete the steps, the network configuration will switch from dynamic to static on Windows 10.

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

  • 2 OpenAI won't launch a Google Search competitor or GPT-5 in the next few days, but we should expect new projects that "feel like magic" to CEO Sam Altman
  • 3 Reports indicate that Microsoft may lift the freeze on specific employee salaries while emphasizing 'more' accountability for top executives
  • 4 Every Dark Souls game gets rare sale for huge discounts ahead of Elden Ring's Shadow of the Erdtree DLC
  • 5 Days after Sony's Helldivers 2 PSN debacle, Ghosts of Tsushima's PC release gets delisted from Steam in over 170 countries

how to change ip pc

AVG

  • Security Tips
  • Social Media
  • Privacy Tips
  • Performance Tips

AVG

Easy Ways to Change Your IP Address

Your IP address is how the internet — and anyone who tracks you — identifies you. You can’t go online without an IP address, but it can be unsettling to think you’re being watched. Learn how to change your IP address on a phone or computer. Or, get a VPN to change your IP address automatically and encrypt your connection while you browse.

Get it for Android , iOS , Mac

Get it for iOS , Android , PC

Get it for PC , Mac , iOS

Get it for Mac , PC , Android

Signal-Easy-Ways-to-Change-Your-IP-Address-Hero

How to change your IP address automatically

You can change your device’s IP address automatically by connecting to a VPN or a proxy server. Your device’s IP address will change, but the IP address for any other devices on your network won’t. Changing your device’s IP address through a VPN or proxy doesn’t affect your router settings either.

Don’t worry about what happens if you change your IP address. An IP is like the address to your house — it’s just a number that lets others know where you are. Changing your IP address is like changing the number on your mailbox: you'll confuse strangers, but your friends will still know how to reach you.

Change your IP address with a VPN

Changing your IP address with a VPN is one of the easiest ways to keep online trackers off your trail. Here’s how to do it:

Install a reliable VPN like AVG Secure VPN .

Open the app and toggle on the VPN. Your device’s IP address will change and you’ll be connected to the fastest server location available.

AVG Secure VPN connected to its optimal server location to change an Android's IP address.

Here are some pros and cons to consider when changing your IP address with a VPN:

Pros to using a VPN:

Lets you browse anonymously.

Secures traffic data to and from your device.

Helps you bypass geo-blocked websites and access content.

Encrypts your internet connection.

Prevents internet throttling from your ISP.

Cons to using a VPN:

Slows your normal internet connection speeds.

Some websites don’t allow access with a VPN.

If the VPN is untrustworthy, it may collect your data.

A quality VPN allows you to change your IP address location to almost anywhere in the world, and it will find the best server location possible. However, a VPN connection might be a bit slower than your usual internet connection, because the traffic coming in and out has an extra layer of protection to get through.

You can change your IP address by using a VPN on Windows and Android, and you can set up a VPN on Mac and iOS devices just as easily.

Change your IP address with a proxy server

While a VPN is like changing your house number, a proxy server is like setting up a safehouse to communicate on your behalf. The website server sends information to your safehouse (the proxy server) instead of to your device directly. The safehouse then forwards the information to your real address.

Pros to connecting via proxy:

Unlocks geo-blocked content or sites blocked at work or school.

No installation necessary.

Strengthens the security of your network connection.

Cons to connecting via proxy:

Doesn’t encrypt your connection.

Crowded proxy servers can cause slow internet speeds.

Some untrustworthy proxies can reroute you to unsafe websites or collect your data.

After you get comfortable setting up a proxy or using a VPN to change your IP address, you can experiment with different configurations and uses, such as using a Smart DNS proxy server vs a VPN .

How to change your IP address manually

Learning how to change an IP address manually allows you to make permanent changes to your device’s virtual location. Or you can change between a static IP address — which is great for remote workers or gamers that use Zoom or other VoIP services — and a dynamic IP address that keeps hackers guessing.

Changing your IP manually can be tricky. But if you decide to change your IP address on your own, it’s best to choose an IP address between these ranges:

10.0.0.0 – 10.255.255.255

172.16.0.0 – 172.31.255.255

192.168.0.0 – 192.168.255.255

You’ll also want to avoid IP addresses outside the range of your current network. And don’t change your IP address to numbers that end with .0 or .255. These are usually reserved for TCP/IP protocols . Numbers commonly used by a router or other network device, such as 10.0.0.1, 192.168.0.1, or 192.168.0.100 are easy targets for dangerous hackers .

Change your IP address in Windows 10

Here’s how to change an IP address in Windows 10:

Go to the Windows Start menu > Settings .

Highlighting the Start Menu icon and the Settings option in Windows 10

Select Network & Internet .

Highlighting Network & Internet in Windows Settings

Click Edit under IP settings to change your IP assignment.

Highlighting the "Edit" button under IP assignment in IP settings

Under Edit IP settings, select Manual from the drop-down menu. Toggle on IPv4. Then enter your IP address manually.

The Edit IP settings screen with "Manual" highlighted

Change your IP address on Mac

Here’s how to change an IP address on Mac:

Click the Apple logo in the menu bar. Select System Preferences > Network .

Navigating to "Network" in Mac OS System Preferences

Select your Wi-Fi network. In the bottom right, click Advanced .

Highlighting a Wi-Fi connection and "Advanced..."  in Network Settings

Click TCP/IP . Under Configure IPv4, select Manually .

Highlighting "TCP/IP" in the taskbar and "Manually" in the "Configure IPv4" drop-down menu in Wi-Fi connection settings

Next to IPv4 Address , enter your desired IP address. Click OK to confirm.

Highlighting the  IPv4 address field in Wi-Fi connection settings

Change your IP address on Android

Here’s how to change an IP address on Android:

Open Android Settings . Tap Connections > Wi-Fi .

Highlighting "Connections" and a Wi-Fi connection in Android Settings

Next to your network, tap Settings (the gear icon) to open network settings.

Highlighting the Gear icon next to a Wi-fi connection

Tap IP settings and select Static . Enter your desired IP address and tap Save .

Highlighting IP settings and the IP address field in a Wi-Fi connection's settings

Some developers have learned how to change an IP address on Android without a VPN. Google Play is full of IP changer apps, but make sure you practice Android app safety before you install and use any unknown apps.

Change your IP address on iOS

Here’s how to change your IP address on an iPhone or iPad:

Open Settings . Tap Wi-Fi , then choose your network.

Highlighting the Wi-Fi option in iOS settings

Tap Configure IP .

Highlighting "Configure IP" in iOS Wi-Fi settings

Select Manual , then enter your desired IP address.

Highlighting "Manual" and "IP Address" under Configure IP settings in iOS

Other ways to change your IP address

Other ways to change your IP address include using the Tor Browser or resetting your internet router. Both are legal, though many ISPs take notice if you use Tor regularly due to its connection to dark web marketplaces. Resetting your router is as simple as unplugging it and plugging it back in again.

Use Tor to change your IP

Tor encrypts your IP address and internet traffic to hide the data you send and receive. Your identity is hidden by bouncing the data packets you send around many different Tor servers. Here are some pros and cons of using Tor Browser.

Pros to using Tor Browser:

Hides your IP address and real location.

Blocks online tracking.

Allows you to access the dark web.

Tor is maintained in a decentralized structure, so no one controls the browser’s data.

Browser patches are often released quickly due to its open-source nature.

Cons to using Tor Browser:

Attracts a shady user base.

Significantly decreases internet connection speeds.

Is rife with unsecured websites.

Is vulnerable to packet sniffers.

Regardless of Tor Browser’s association with the dark web’s illicit sites, check out the differences between a VPN, a proxy, and Tor and experiment with how to change your IP address in a way that works best for you.

Reset your router to change your IP

You can change your IP address by simply unplugging your router, waiting a few minutes, then plugging the router back in. You may have to repeat the steps multiple times before you get lucky and obtain a new IP address from your ISP. This will change the external IP address for all devices connected to the network.

You can also change a router’s IP address manually by logging into it. Check the list of default router information for more about manually changing the external IP address of your router — default IP addresses and login information differ depending on the router manufacturer.

Here are the general steps for how to manually set your IP address on a router:

Enter your router's IP address into your browser.

Log in with the default username and password.

Choose Network Settings , Administrator Settings , or a similar option.

Go to the Router Settings and type in the router's new IP address.

Save and exit.

Pros to resetting your router:

May improve internet connection speeds.

Reloads the router’s OS and clears the memory.

Can help prevent ISP throttling.

Cons to resetting your router:

Rebooting your router may not change your IP address.

Can disrupt the internet connection of other devices connected to your network.

What is an IP address?

An IP address is a string of numbers that uniquely identifies any device or network connected to the internet. IP addresses are how internet traffic is accurately routed, and how computers recognize each other to send and receive information.

IP addresses can also be categorized into public vs private IP addresses — which refer to the IP addresses that communicate with the larger internet vs those that talk only within your local network, respectively — as well as IPv4 vs. IPv6 . Knowing how to change IPv4 to IPv6 can also make your internet communications much more efficient.

On a PC or Mac, you can find your current IP by Googling “What’s my IP address.” On an Android or other mobile device, open your Wi-Fi settings to check your IP address. And, for anyone keeping tabs on you, it’s almost as simple. That’s why learning how to hide your IP address will help strengthen your online privacy.

Why change your IP address?

Changing your IP address makes it harder for cybercriminals to find and track you, and it helps you unblock certain websites and streaming services. Changing your IP address is also a good way to bypass ISP throttling if you suspect your internet is being slowed down on purpose.

If you can find your IP address , then hackers, scammers, and social media companies likely know how to get your IP address too. And even though your IP address can change with your location, as you move around it becomes easier to learn your device’s whereabouts. And while at home, your IP doesn’t change, so with a little detective work cybercriminals can quickly figure out which IP addresses are home addresses.

Our private browsing guide can show you a few steps toward total browsing freedom. But if private browsing and online privacy are important to you, changing your IP address will be a game changer.

Protect your privacy online with AVG Secure VPN

No matter what your reason is for changing your IP address, there are some ways to do it that are more secure than others. AVG Secure VPN hides your activity from hackers, scammers, and your ISP — all while encrypting your internet connection.

Advertisers can’t find you, and the government can’t spy on you. Watch anything, anywhere, anytime. Send payments securely and become invisible as you browse. Try AVG Secure VPN for free today and enter your own private browsing universe.

Change Your IP Address Automatically

Download AVG Secure VPN to change your IP address, encrypt your data, and secure your internet connection.

Install AVG Secure VPN to change your IP address, encrypt your data, and secure your internet connection.

More helpful tips...

The latest privacy articles.

  • A Guide to Tor Web Browser: Is It Safe?
  • How to Fix the “Your Connection Is Not Private” Error
  • How to Clear Your Search and Browser History
  • How to Stop Pop-Up Ads from appearing on your Android Phone
  • What Is Incognito Mode, Is It Safe, and Should You Use It?
  • How to Set Your Default Browser on Any Device
  • Private Browsing: What Is It and How to Use It on Any Browser
  • How to Allow or Block Pop-Ups in Safari
  • How to Allow and Block Pop-Ups in Edge or IE on Windows 10
  • What Is the about:blank Page?
  • How to Disable Cookies in Your Browser
  • What Are Internet Cookies?
  • How to Clear Cache and Cookies on Your Browser
  • Firefox Pop-Ups: How to Block and How to Allow Them
  • The Best Browsers for Security and Privacy in 2024
  • How to Block or Allow Pop-Ups in Chrome
  • How to Remove Extensions (Add-ons) from Firefox
  • How to Manage and Remove Chrome Extensions
  • Best Chrome Extensions for Security and Privacy
  • How to Speed Up Chrome, Firefox, and IE
  • What Is Ad Tracking?
  • Are Cookies Bad? Good vs. Bad Cookies
  • 5 Quick Tips For a Safer Browsing Experience
  • The Catch in the Cache: Why Cleaning Your Browser Makes It Safer
  • Chrome Battery Life vs Edge, Firefox and Opera
  • What Is a VPN and How Does It Work?
  • Proxy, VPN, Tor: Differences and When You Should Use Them
  • How to Unblock Websites & Access Restricted Content (13 Easy Ways)
  • Geo-Blocking: What Is It and How to Bypass It
  • What Is a Proxy Server and How Does It Work?
  • VPN Kill Switch: What Is It and How Does It Work?
  • How to Set Up a VPN on Mac
  • The Best VPN Server Countries to Connect Through
  • Should I use a VPN for gaming?
  • What Is ISP Throttling? Why It Happens & How to Stop It
  • Do I Need a VPN?
  • How to Stop Endless Buffering Now
  • How to Watch TV Shows and Episodes Online
  • What Is Data Encryption and How Does it Work?
  • How to Set Up a VPN on Windows
  • How to Set Up and Use a VPN on iPhone or Android
  • Smart DNS Proxy vs VPN. What’s the Difference? And Which Should You Choose?
  • How to Find Your IP Address on Windows, Mac, iPhone, & Android
  • Static vs. dynamic IP addresses
  • What Is an IP Address and How Does It Work?
  • What Is TCP/IP?
  • Private IP vs Public IP: What’s the Difference?
  • What Is the Difference Between IPv4 and IPv6?
  • Three Ways to Hide Your IP Address
  • Signs Your Amazon Account Has Been Hacked
  • Different Types of Hackers: White Hat, Black Hat, Gray Hat, and More
  • How Are Computers Hacked and What Can You Do to Stop It?
  • How to Tell If You’ve Been Hacked
  • The Most Dangerous & Famous Hackers Today
  • How to Tell If Your Email Has Been Hacked & How to Recover It
  • Signs Your Phone Has Been Hacked
  • What Is Router Hacking and How to Prevent It
  • What Is Hacking? Everything You Need to Know
  • The Nasty Truth of Data Breaches
  • How to Prevent Your Car From Being Hacked
  • How to Protect Your Private Documents With Sensitive Data Shield
  • Equifax Hack: How to Protect Your Identity, Credit Cards, and More
  • 3 Reasons to Never Use Fingerprint Locks on Phones
  • Have You Ever Chatted With a Hacker Within a Virus?
  • Thomson Data Breach Exposes Passenger Details
  • What Is Two-Factor Authentication (2FA)?
  • Password Ideas: How to Create a Strong Password
  • How to Password Protect a File or Folder in Windows 10
  • Password Cracking Techniques Hackers Use and How to Avoid Them
  • How to Recover and Reset Your Lost Windows Password
  • How to Choose the Best Password Manager
  • How to Password Protect Excel Files, Word Docs, PowerPoints
  • Why You Should Use a Password Manager
  • What Is the Meaning of Clickbait and Is It Dangerous?
  • How to Delete Your X (Formerly Twitter) Account
  • How to Permanently Delete Your Snapchat Account
  • How to Permanently Delete Instagram or Deactivate Your Account
  • How to Delete or Deactivate Your TikTok Account
  • How to See Sensitive Content on Twitter: A Step-by-Step Guide
  • How to Deactivate or Delete Your Facebook Account
  • Monkey Video Chat App: How Does It Work and Is It Safe?
  • How to Stop Ads on Facebook
  • What to Do If Your Instagram Account Is Hacked
  • Facebook Leak: Check if Your Data is Part of The Breach
  • Don't Let Your Old Social Media Accounts Come Back to Haunt You
  • How to Stay Sane on Social Media in the COVID-19 Age
  • Are You an Online Oversharer?
  • Is Facebook Listening to Our Private Conversations?
  • How to Stay Safe on Twitter: The Ultimate Guide
  • Is It Safe to Sign in with Facebook or Google?
  • Top Facebook Scams You Need to Know Aboutsignal_face
  • No Caller ID: How to Find Out Who Called You
  • How to Screen Record on Mac with Audio and Video: Step-by-Step Guide
  • How to Completely Disappear From the Internet
  • How to Turn Off Location Services on iPhone
  • What Is CAPTCHA and How Does It Work?
  • What Is a Digital Footprint and Why Does It Matter?
  • Email Encryption: What Is It and How Do You Encrypt Emails?
  • Is Coinbase Safe?
  • What Is Cyberstalking and How to Protect Yourself from Online Stalkers
  • SSL Certificates: What Are They and How Do They Work?
  • Doxxing: What Is It and How to Prevent It
  • The Most Secure Messaging Apps
  • How to Hide Apps on Android
  • App Permissions on Android & How to Control Them
  • Dark Web Scans: When and Why to Use One
  • How to Download Your Google Data with Google Takeout
  • What Does Google Do With My Data... and Should I Be Worried?
  • Data Brokers: Who They Are and How They Work
  • Contact Tracing Apps and Their Privacy Concerns
  • How to Hide Apps on an iPhone or iPad
  • The Pros and Cons of Video Chat Apps
  • Is Your Smartphone Tracking You?
  • The Uses and Abuses of Facial Recognition
  • The Privacy Implications of DNA Testing
  • 5 Steps to Stop Robocalls: The Ultimate Guide to Beating the Bots
  • A Day in Your Digital Life… and the Trail You Leave
  • 4 Ways to Avoid Spam
  • Stop Webcam Spying with Webcam Protection
  • Spy Game: The Dangers of Webcam Hacking and How to Avoid Them
  • Windows 10 Privacy: Everything You Need to Know to Keep Windows 10 from Spying on You
  • The Truth Behind the Webcam Cover-Up

 alt=

How to Find Your IP Address on Windows, Mac, iPhone, & Android How to Find Your IP Address on Windows, Mac, iPhone, & Android

how to change ip pc

Static vs. dynamic IP addresses Static vs. dynamic IP addresses

how to change ip pc

What Is an IP Address and How Does It Work? What Is an IP Address and How Does It Work?

You Might Also Like...

how to change ip pc

What Is TCP/IP? What Is TCP/IP?

Change your IP address easily with AVG Secure VPN

  • Media Center

Home Products

  • Free Antivirus Download
  • Internet Security
  • Android Antivirus
  • Free Mac Antivirus
  • Virus Scanning & Malware Removal
  • Installation Files
  • Beta Downloads
  • Driver Updater

Customer Area

  • Register Your License
  • Anti-Theft Login
  • Home Product Support
  • Security & Performance Tips
  • Online Research

Partners & Business

  • Business Antivirus Software
  • Partner Support
  • Business Support

Privacy | Report vulnerability | Contact security | License agreements | Modern Slavery Statement | Cookies | Accessibility Statement | Do not sell my info | | All third party trademarks are the property of their respective owners.  

We use cookies and similar technologies to recognize your repeat visits and preferences, to measure the effectiveness of campaigns, and improve our websites. For settings and more information about cookies, view our Cookie Policy . By clicking “I accept” on this banner or using our site, you consent to the use of cookies.

How-To Geek

How to change your ip address from the command prompt in windows.

It's easy enough to change an IP address on your PC using Control Panel, but did you know you can also do it from the Command Prompt?

Quick Links

Launch command prompt as admin to use netsh, view your network information with command prompt, change your ip address, subnet mask, and default gateway, change your dns settings in command prompt, key takeaways.

  • You must launch Command Prompt, PowerShell, or Terminal as admin to use netsh.
  • Use the "netsh interface ipv4 show config" command to find the full name of the network interface you want to change.
  • Modify your IP address, subnet mask, and default gateway using the command "netsh interface ipv4 set address". You can also change DNS settings using "netsh interface ipv4 set dns".

Changing your IP address with the Control Panel interface isn't difficult, but it does require clicking through a number of different windows and dialog boxes. If you're a fan of the Command Prompt, though, you can get it done more quickly using the netsh command, which is just one of the great network utilities built into Windows .

We're going to use the netsh command, but it requires that Command Prompt be launched as administrator to work. The netsh command allows you to configure just about any aspect of your network connections in Windows.

To launch Command Prompt (or PowerShell) as Admin, open up the Start Menu, search "cmd," hover over the result, then click "Run as Administrator."

In Windows 10 or Windows 11, you can also right-click the Start menu (or press Windows+X on your keyboard) to open the Power User Menu and choose "PowerShell (Admin)."

You can (and should ) use PowerShell for this instead.

Before you change your IP address and related information, you'll need to find the full name of the network for the interface you want to change. To do this, type the following command:

netsh interface ipv4 show config

Scroll down until you see the interface you're looking for. In our example, we're going to modify the Wi-Fi interface, which on our machine is just named "Wi-Fi." You'll also see other default names that Windows assigns to interfaces, such as "Local Area Connection," "Local Area Connection* 2," and "Ethernet." Just find the one you're looking for and make note of the exact name. You can also copy and paste the name to Notepad and then back into Command Prompt later to make things easier.

With the interface name in hand, you're ready to change the IP Address, subnet mask, and gateway. To do this, you'll issue a command using the following syntax:

netsh interface ipv4 set address name="YOUR INTERFACE NAME" static IP_ADDRESS SUBNET_MASK GATEWAY

So, for example, your command might look something like the following:

netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8 255.255.255.0 192.168.3.1

Where the info is replaced by whatever you want to use. In our example, the command does the following:

  • Uses the interface name "Wi-Fi"
  • Sets the IP address to 192.168.3.1
  • Sets the subnet mask to 255.255.255.0
  • Sets the default gateway to 192.168.3.1

And if you're using a static IP address but want to switch to using an IP address assigned automatically by a DHCP server — such as your router — you can use the following command instead:

netsh interface ipv4 set address name="YOUR INTERFACE NAME" source=dhcp

You can also use the netsh command to change the DNS servers used by a network interface. Third-party DNS servers — like Google Public DNS and OpenDNS —can be faster and more reliable than the DNS servers provided by your ISP. Whatever your reason for changing your DNS server , you can do it either at the router so it affects all the devices that get their information from the router or at the individual device. If you want to change the DNS servers for just one PC, it's easy to do with the netsh command.

You'll need to use the command twice: once to set your primary DNS server and once to set your secondary, or backup, DNS server. To set your primary DNS server, use the following syntax:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER

So, for example, your command might look something like the following (in which we set it to Google's primary public DNS server, 8.8.8.8):

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.8.8

To set your secondary DNS server, you'll use a very similar command:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER index=2

So, continuing our example, you might set your secondary DNS as the Google Public DNS secondary server, which is 8.8.4.4:

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.4.4 index=2

And just like with the IP address, you can also change it so that the network interface grabs its DNS settings automatically from a DHCP server instead. Just use the following command:

netsh interface ipv4 set dnsservers name"YOUR INTERFACE NAME" source=dhcp

And there you have it. Whether you like typing at the command prompt better or just want to impress your coworkers, now you know all the command line magic you need for changing your IP address settings.

how to change ip pc

Change TCP/IP settings

TCP/IP defines how your PC communicates with other PCs.

To make it easier to manage TCP/IP settings, we recommend using automated Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns Internet Protocol (IP) addresses to the computers on your network if your network supports it. If you use DHCP, then you don't have to change your TCP/IP settings if you move your PC to another location, and DHCP doesn't require you to manually configure TCP/IP settings, such as Domain Name System (DNS) and Windows Internet Name Service (WINS).

To enable DHCP or change other TCP/IP settings

Select  Start , then type settings . Select  Settings  >  Network & internet .

Do one of the following:

For a Wi-Fi network, select  Wi-Fi  >  Manage known networks . Choose the network for which you want to change the settings.

For an Ethernet network, select  Ethernet , then select the Ethernet network you’re connected to.

Next to  IP assignment , select  Edit .

Under  Edit network IP settings or Edit IP settings , select  Automatic (DHCP)  or  Manual .

To specify IPv4 settings manually

Under  Edit network IP settings or Edit IP settings , choose  Manual , then turn on  IPv4 .

To specify an IP address, in the  IP address, Subnet mask , and  Gateway  boxes, type the IP address settings.

To specify a DNS server address, in the  Preferred DNS  and  Alternate DNS  boxes, type the addresses of the primary and secondary DNS servers.

To specify if you want to use an encrypted (DNS over HTTPS) or unencrypted connection to the DNS server or servers you specify, for DNS over HTTPS , choose the setting you want:

Off : All DNS queries will be sent to the DNS server unencrypted in plaintext over HTTP.

On (automatic template) : DNS queries will be encrypted and sent to the DNS server over HTTPS. DNS queries will use the default settings for the automatic template or try to discover them automatically.

On (manual template) : DNS queries will be encrypted and sent to the DNS server over HTTPS. They’ll use the settings you enter in the DNS over HTTPS template box.

If you use DNS over HTTPS (automatic or manual template), turn Fallback to plaintext on or off:

When it’s turned on, a DNS query will be sent unencrypted if it can’t be sent over HTTPS.

When it’s turned off, a DNS query won’t be sent if it can’t be sent over HTTPS.

To specify IPv6 settings manually

Under  Edit network IP settings or Edit IP settings , choose  Manual , then turn on  IPv6 .

To specify an IP address, in the  IP address , Subnet prefix length , and  Gateway  boxes, type the IP address settings.

When you select  Automatic (DHCP) , the IP address settings and DNS server address setting are set automatically by your router or other access point (recommended).

When you select  Manual , you can manually set your IP address settings and DNS server address.

When you’re done, select  Save .

Note:  To install IPv4, run Command Prompt as an administrator, type netsh interface ipv4 install , and then press Enter .

Select Start   , then select Settings   > Network & Internet   .

For a Wi-Fi network, select Wi-Fi   > Manage known networks . Choose the network you want to change the settings for, then select Properties.

For an Ethernet network, select Ethernet , then select the Ethernet network you’re connected to.

Under IP assignment , select Edit .

Under Edit IP settings , select Automatic (DHCP) or Manual .

Under Edit IP settings , choose Manual , then turn on IPv4 .

To specify an IP address, in the IP address, Subnet prefix length , and Gateway boxes, type the IP address settings.

To specify a DNS server address, in the Preferred DNS and Alternate DNS boxes, type the addresses of the primary and secondary DNS servers.

Under Edit IP settings , choose Manual , then turn on IPv6 .

When you select Automatic (DHCP) , the IP address settings and DNS server address setting are set automatically by your router or other access point (recommended).

When you select Manual , you can manually set your IP address settings and DNS server address.

When you’re done, select Save .

In Windows 8.1, select the Start button, start typing View network connections , and then select View network connections in the list.

In Windows 7, open Network Connections by selecting the Start button, and then selecting Control Panel . In the search box, type adapter , and then, under Network and Sharing Center , select View network connections .

Right-click the connection that you want to change, and then select Properties . If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Select the Networking tab. Under This connection uses the following items , select either Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) , and then select Properties .

To specify IPv4 IP address settings, do one of the following:

To get IP settings automatically using DHCP, select Obtain an IP address automatically , and then select OK .

To specify an IP address, select Use the following IP address , and then, in the IP address, Subnet mask , and Default gateway boxes, type the IP address settings.

To specify IPv6 IP address settings, do one of the following:

To get IP settings automatically using DHCP, select Obtain an IPv6 address automatically , and then select OK .

To specify an IP address, select Use the following IPv6 address , and then, in the IPv6 address, Subnet prefix length , and Default gateway boxes, type the IP address settings.

To specify DNS server address settings, do one of the following:

To get a DNS server address automatically using DHCP, select Obtain DNS server address automatically , and then select OK .

To specify a DNS server address, select Use the following DNS server addresses , and then, in the Preferred DNS server and Alternate DNS server boxes, type the addresses of the primary and secondary DNS servers.

To change advanced DNS, WINS, and IP settings, select Advanced .

Facebook

Need more help?

Want more options.

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

how to change ip pc

Microsoft 365 subscription benefits

how to change ip pc

Microsoft 365 training

how to change ip pc

Microsoft security

how to change ip pc

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

how to change ip pc

Ask the Microsoft Community

how to change ip pc

Microsoft Tech Community

how to change ip pc

Windows Insiders

Microsoft 365 Insiders

Find solutions to common problems or get help from a support agent.

how to change ip pc

Online support

Was this information helpful?

Thank you for your feedback.

  • VPN & Privacy
  • How to Change your IP address

How to change your IP address safely and easily in 2024

change IP Address

In today’s interconnected world, understanding how to change IP addresses can be valuable. Whether you want to protect your online privacy, bypass geographic restrictions, or troubleshoot network issues, modifying your IP address gives you greater control over your internet experience.

Many people find the process of changing their IP address intimidating or confusing, asking questions like “What is an IP address?”, “Why would I want to change it?”, and most importantly, “How can I change it without breaking anything?”.

With our years of experience in the field, we can help demystify the concept of an IP address and provide you with clear, concise instructions on how to change them.

How to change IP address with a VPN

Changing your IP address with a VPN is simple. Just follow these instructions:

  • Subscribe to a secure VPN that is capable of changing IP addresses. We recommend NordVPN .
  • Download the VPN onto your device and install it.
  • Connect to a server in the location of your choice. This will be when your IP changes. The server location will determine your new IP, for example, connecting to a server in the USA will provide you with an American IP address .
  • Begin browsing as normal. Changing IP will allow you to access geo-restricted content on streaming platforms like Netflix, Amazon, and Hulu.
  • If you encounter any issues, we recommend clearing your cache and cookies. You should also try connecting to an alternative server. If problems persist, you will need to contact customer support for technical guidance.

All you need to do is install a secure VPN and connect to a server, and your IP address will change. It’s that easy! However, we offer more information on the process below.

What are the best VPNs to change your IP address?

Here’s our list of the best VPNs for changing IP location:

  • NordVPN : The best VPN to change your IP address . Fast servers in 59 countries. Apps for all popular devices. Many advanced features. No-logging policy. Bypass content restrictions on Netflix US, iPlayer, and many more. TIP In our testing we found that the cheapest NordVPN plan (Standard) works perfectly for changing your IP.
  • Surfshark : Best budget VPN to change your IP. Allows an unlimited number of connections. Great for families. Apps for all popular devices. Built-in adblocking and malware filtering. 30-day money-back guarantee.
  • ExpressVPN : A superb all-rounder. Fast speeds thanks to its Lightway protocol. Servers in 94 countries. Works with around two-dozen Netflix regions and reliable with most other streaming platforms.
  • CyberGhost : Best way to change your IP for beginners. Over 7000 fast servers in 89+ countries. Fast Wireguard connections. Apps for all devices. Easy to use apps with fewer advanced settings.
  • IPVanish : A fast US VPN with a proprietary network. Lots of advanced security features. No logs policy. Works with Netflix US. Apps for all platforms.
  • PrivateVPN : Perfect for IP changing while torrenting. Kill-switch and obfuscation features. Robust AES encryption. Great speeds. Servers in 63+ countries.
  • PureVPN : Quick and versatile VPN with servers in 65+ countries, to let you get an IP address on any continent. Permits up to 10 simultaneous connections.
  • ProtonVPN : an advanced VPN dedicated to user privacy. No-logs policy, robust security. Works to get an IP address worldwide.

WANT TO TRY THE BEST VPN RISK FREE?

NordVPN is offering a fully-featured risk-free 30-day trial if you sign up at this page . You can use the VPN rated #1 for changing your IP address without limits or restrictions for a month—great if you want to bypass censorship or geo-restrictions.

There are no hidden terms—just contact support within 30 days if you decide NordVPN isn't right for you and you'll get a full refund. Start your NordVPN trial here .

Why would I need to change my IP address?

Many online services are geo-restricted, which means they are not available outside of their country of origin. The only way to access those services from abroad is to connect to a VPN server in that location. This gives you a valid IP address and causes the website or online service to become available again.

If you travel abroad on vacation, services from back home, such as internet banking or streaming services, will be geo-restricted. As a result, you will need to use a VPN to get an IP address in your home country.

Changing IP addresses can also help troubleshoot network problems. Sometimes, an invalid address can be issued, resulting in slow speeds or a complete internet outage. A new IP can easily resolve this.

Finally, a VPN can help you get around government, ISP, or local network restrictions. Connecting to a VPN allows you to get an IP address in a country where locally censored content is still available. Thanks to the privacy provided by the VPN, you can access those usually censored services without being tracked.

Best VPNs for changing your IP – Our hands-on review

We’ve compared the most important features for the top VPNs here. Prefer to read the in-depth reviews? Start with NordVPN – our #1 choice for changing your IP address .

How to find your current IP address

When you use a VPN, it changes your IP address, and you can easily use a tool like ipleak.net to check that the VPN has correctly altered your IP address. The nice thing about IP checking tools is that they not only show your IP address but also its geographical location.

This means that if you live in France and connect to a VPN server in New York, the IP address tool will clearly show your location as New York, making it pretty obvious that the VPN is working properly to alter your IP address location.

Of course, if a VPN is working properly, you should also see no DNS leaks or WebRTC leaks in the test results. You can find out more about these types of leaks, and how to check for them, in our detailed guide. So follow the link to find out more.

If you are interested in knowing what your home IP address is (perhaps because you want to share it with a trusted third party, or simply because you want to know your home IP address for interest’s sake) you can find it by using the same tool you use to check that a VPN is working.

You can follow the steps below to find out your home IP address:

  • Make sure you aren’t connected to a VPN or any other location spoofing application (browser extension proxy, Tor, etc).
  • Head over to our IP address checking tool in your browser
  • Make a note of your IP address (it is the string of numbers that appears next to the words Your IP address: )

Now that you know your IP address, you can easily use it to double-check that a VPN is working properly when you connect to its servers. When connected to a VPN, you should not be able to see your real IP address in any of the results. Instead, you should detect an IP address for the remote location.

How to change your public IP address

Here are a few ways to change your public IP address(es):

1. Connect to a VPN to change your IP address

Short for Virtual Private Network, a VPN encrypts your internet connection and routes it through a server in your chosen location. Websites, online services, and other devices on the web will only see the VPN server’s IP address and not your real IP address.

VPNs are useful for torrenting, unblocking region-locked content like that from Netflix and BBC iPlayer, and bypassing censorship at schools, in offices, and in countries like China.

Most VPNs can easily hide your IPv4 address, but many VPNs can leak your IP address through various security vulnerabilities. Furthermore, not all VPNs hide your IPv6 address. Choose a VPN that either disables IPv6 or can prevent IPv6 leaks by default.

If you’re unsure how to set up a VPN, follow the simple steps outlined earlier in this article.

2. Use a proxy server to change your IP address

Proxies work similarly to VPNs but with far less versatility and security. Your internet connection goes through a middleman server so that websites and other online resources see the proxy server’s IP address, not your own. Unlike VPNs, proxies often lack encryption, only affect certain apps, and can leak your IP address through other means.

A few different types of proxies can be used to change your IP address:

  • HTTP/S proxies – Usually either browser extensions or special websites that work like a browser within your browser. They only change the IP address on data sent to and from your browser, but do not affect other apps or even DNS traffic. If encryption is included, these are sometimes called SSL proxies.
  • SOCKS proxies – General purpose proxy servers that can be configured for specific apps including most web browsers. SOCKS5 , the latest version, includes support for encryption.
  • SSH proxies – SSH proxies forward internet traffic from apps like your web browser through a Secure Shell ( SSH ) connection to a server, so your IP address is changed to that of the server. Although encryption is included, SSH is not a particularly fast protocol, and many websites and apps might not function properly when connected.

3. Use Tor to change your IP address for free

Tor , short for T he O nion R outer, is a volunteer-run anonymity network. The easiest way to get started with Tor is to download and install the Tor Browser, a barebones web browser that routes all web traffic through the Tor network. Tor encrypts your connection several times and then sends data through multiple nodes—servers operated by volunteer Tor supporters. Each node strips away one layer of encryption, and the sequence of nodes used changes every time you access a different website. This makes it nearly impossible to trace Tor traffic back to the source.

Websites will see the IP address of the last node in the chain, called the Exit Node.

Tor is free but has drawbacks. It’s relatively slow and only really suited for basic web browsing. Tor’s anonymity means it is often associated with illicit activity and the dark web, so even though it’s not illegal, using it might draw unwanted attention from your ISP and possibly even law enforcement. Those entities can’t see what you do while connected to Tor, but they can see that you are connected to Tor nodes.

4. Change IP addresses by unplugging your modem

You might be able to get a new IP address by unplugging your internet modem, waiting a few minutes, and then plugging it back in again. When this happens, you release your IP address so your ISP can recycle it. When you reconnect, your ISP assigns you a new IP address.

This method isn’t guaranteed to work because your ISP might give you the same IP address again. However, the longer you leave your modem unplugged, the higher the chance your IP address changes. If unplugging for a few minutes doesn’t work, consider leaving it unplugged overnight.

Your ISP must use dynamic IP addresses in order for this to work. Most do.

5. Ask your ISP to change your IP address

Another option is to ask your Internet Service Provider (ISP) for a new IP address. Every ISP has different policies about how they handle such requests, so responses may vary. At a minimum, you’ll need your account information and current IP address on hand.

Most ISPs use dynamic IP address systems, meaning IP addresses occasionally change and get recycled as devices connect and disconnect from the internet. With that in mind, note that your new IP address might remain unchanged.

In some cases, you can request a static IP address from your ISP, though this might require paying an extra fee and/or going through an application process. Once provided with a static IP address , you can enter it into your device’s network settings. Static IP addresses never change unless you manually change them.

6. Change networks to get a different IP address

This might seem obvious, but you can get a different IP address by disconnecting from your current network and connecting to a different one. For example, you can switch to a different wifi network or switch from wifi to a mobile data connection if you’re on a smartphone.

Remember that public and open wifi hotspots are often prime hunting grounds for hackers. Try to stick with a wifi network that requires a password and is encrypted with WPA2.

How to change your private IP address

If you’re connected to a Wi-Fi router, you probably share a public IP address with all the other devices connected to the same network. Each device, however, has its own private or local IP address.

Changing your local IP address won’t really affect how your device communicates with other devices and servers over the internet, but there might be instances in which you need a different private IP address. These include troubleshooting a malfunctioning router or configuring how local devices, such as printers and IoT devices , function on your home network.

Renew your local IP address

If you’re connected to wifi or some other type of local network, you can change your private IP address from the router admin panel or from the device itself. I’ll show you how to do it on Windows and MacOS.

Here’s how to renew your IP address on Windows:

  • Search for the Command Prompt and right click it to Run as administrator
  • Enter ipconfig /release
  • Enter ipconfig /renew

You should now see a new local IP address.

Here’s how to renew your IP address on Mac:

  • Click the Apple menu and open System Preferences
  • Select Network
  • Highlight the network that you’re connected to in the left pane
  • Click Advanced…
  • Select the TCP/IP tab
  • Click Renew DHCP Lease

You Mac should now be assigned a new local IP address.

The process for changing local IP addresses on the router varies depending on your router manufacturer and firmware. You can usually access your router’s admin dashboard by opening a web browser and entering 192.168.0.1 or 192.168.1.1 in the address bar.

How do I change IP address on my mobile device?

Changing your IP address is easy on a mobile phone or tablet device. All you need is a VPN. In this guide, we have recommended the best VPNs for changing your IP address. Our recommendations have servers located globally to let you get an IP address wherever you need it. To change your IP address on a mobile device, follow the steps below:

  • Sign up for the VPN by following the link in this guide ( we recommend NordVPN )
  • Install the VPN app for Android or iOS onto your device. You can find it in your regular app store.
  • Launch the VPN app and login using your credentials.
  • Choose a VPN server from the list and click connect .
  • Your IP address will change as soon as the VPN connection is established.

Static vs Dynamic IPs: What’s the difference?

There are different types of IP addresses, and this can be complicated for beginners. Below, we explain the difference between a dynamic and a dedicated IP address.

Dynamic IP addresses

Each time you connect to the internet or reboot your router, a dynamic IP address changes – in other words, they’re temporary IP addresses. Dynamic IPs are common for home users due to their cost-effectiveness. However, if you perform tasks like hosting a website, it’s best to opt for a passive IP address for stability,

Static IP addresses

In contrast, Static IPs never change, regardless of how often you disconnect from the web. These are best suited to activities that require an IP address that doesn’t change, such as online gaming. Static IPs are a popular option for business users, but unlike dynamic IPs, they come at an added cost. One of the drawbacks of static IPs is their security risks, making it easier for cybercriminals to attack networks thanks to the constant IP address.

Choosing between a static IP or dynamic IP address will depend on your needs. A dynamic IP will do if you’re browsing the web, scrolling socials, and streaming Netflix. A static IP is the way to go if you’re a hardcore gamer or host a web server.

Your ISP always knows your IP address

The internet service provider always knows public IP addresses no matter what methods you use to change or hide an IP address. This is inevitable because to connect to the internet at all, your ISP must assign you an IP address, and it must know what that IP address is to transmit communication and data from the internet to your device.

So even if you used one of the above methods to mask your IP address from websites, services, and other devices on the internet, your ISP is an exception that can see behind the mask.

Even if your ISP can identify you by your IP address, however, you can hide your online activity through encryption. A VPN or Tor will encrypt all data before it ever leaves your device, so even though your ISP can see that you are communicating, it cannot see the contents of those communications.

If you need an easy way to change your IP address to that of a different ISP, try switching between wifi and your smartphone’s mobile data connection. Chances are, your phone carrier and home internet use different ISPs.

How to Change IP address: FAQs

Why does changing my ip address catch captcha requests.

Changing your IP address may result in you catching CAPTCHA requests. The reason for this is because the IP address in question is likely shared with many other users. From the perspective of an online service such as Google , it sees an unusually high number of requests from the same IP address. It then attempts to verify you’re human (as opposed to a bot!) by presenting you with CAPTCHAs.

Will a free VPN change my IP address?

Technically yes, you can change your IP address with a free VPN. There are, however, a few things about these services that make them less than ideal. For instance, free providers usually have very low monthly bandwidth limits and more users than their networks can support. This means that you may not be able to use the VPN as much as you like, and you’ll have to put up with slow speeds when you do get connected.

One of the main functions of a VPN is to keep you safe online. Unfortunately, free providers tend to forget this, with plenty falsely claiming to follow no-logs policies or overhyping the effectiveness of their security features. Why take a chance when your privacy is at stake? We’d recommend choosing a reputable no-logs provider instead of just using whatever is free.

Is it illegal to change my IP address?

No, it’s not illegal to change your IP address. Indeed, you can legally use a VPN in almost any country in the world without having to worry about breaking any laws. However, some online activities are still illegal regardless of whether you’ve used a VPN to change your IP. This includes torrenting copyrighted material or, in some countries, accessing betting websites .

Will a VPN ever expose my real IP address?

The short answer is no. A Virtual Private Network (VPN) provides an encrypted tunnel between your device and the internet, shielding your real IP address from anyone trying to track you online. The data passing through this tunnel is highly secured with strong encryption algorithms, making it nearly impossible for someone to determine which server or network you are connected to or even know who you are. However, there are a few situations when your real IP address can still be exposed:

  • If a malicious actor takes control of the VPN server and gains access to its logs.
  • If the VPN service provider stores information that includes IP addresses (although many reputable VPNs do not store any logs at all).
  • If a website or service you connect to uses an IP address checker to detect your true identity.

In all these scenarios, it is important to remember that a VPN does provide additional security and privacy by masking your real location and the IP address from websites and services you visit. However, for the utmost security and anonymity, it is recommended that you also use other privacy tools such as browser extensions, secure browsers, and encrypted messaging apps in addition to a VPN. With this multi-layered approach to online security, you can rest assured knowing that your real identity will remain hidden no matter what situation arises.

Do I need a dedicated IP address?

You can use a shared IP address, but they tend to come with more risk. A dedicated or static IP address is recommended but there are only a handful of VPNs with dedicated IP addresses. Having a unique IP address can help to protect you from specific threats, such as a Brute Force attack , but it’s worth noting that it isn’t foolproof. You will also need to ensure you follow good online security practices, including strong passwords, two-factor authentication, and not accessing suspicious websites.

Can I get a new IP address from my ISP?

It’s possible to get a new IP address with some ISPs. However, it really depends on the ISP in question. If you find that your ISP don’t accept your request, you could try some of the other options as listed in this post (such as unplugging your router). Of course, the best way to change your IP address while enjoying additional security and privacy-related benefits is to use a VPN.

Can I choose which location my new IP address is in?

A VPN allows you to choose the location of the server to which you connect. The best VPNs offer servers in dozens of countries around the world. Once you connect to one of these servers, you’ll be assigned an IP address to match that location. For example, if you connect to a server in Australia, you’ll be given an Australian IP address . It’s that simple! So yes, you can choose the location your new IP address is in.

What should I do if my IP address isn't changing with my VPN?

When you connect to a VPN server, your IP address should change to be in the location you selected. A VPN is designed to encrypt your data and route it to the remote service location, and as long as it is working correctly, your IP address should always update to the corresponding location.

Unfortunately, some VPNs are broken. They do not properly conceal your home IP address from the websites you visit, and/or they fail to conceal your DNS requests from your ISP. These problems are called “leaks” and VPNs that suffer from leaks are completely failing to:

  • Provide you with online privacy
  • Conceal your IP address from the websites you visit

If you want to know whether your VPN is changing your IP address, we recommend that you use an online IP address-checking tool . The IP address and DNS request results should show as the location of the VPN server (not your real location).

If for any reason you see a local IP anywhere on the IP leak test’s website, then it is likely that your VPN is failing to properly hide your home IP address. That means that the VPN is either no good (you need a new one), or you need to update your VPN software to make sure it is up to date and working correctly.

Remember that it is important to use a reliable VPN like the ones recommended on this page, and to periodically check for IP leaks using an online IP address-checking tool to ensure your VPN is working correctly on your device.

Will resetting my router change my IP address?

When you restart your router your ISP assigns you a new dynamic IP address. However, if your IP address is static, rebooting your router will retain that IP address.

2 Comments Leave a comment

I used Express VPN, but my subscription just ended and I’m thinking of switching to Nord, because it’s cheaper ATM. By the way, you state that there’s a 2 year deal for Nord with 66% off. When I opened the link you provided it redirected me to a 3 year deal with 75% off. Don’t get me wrong, that’s great, but please fix your links, because they are misleading.

I read lots of your articles.I find them very educational.Please tell me am I correct to sense that you are somewhat bias towards “ExpressVpn”? Thereis one line I disagree as it is not my experience with the 2 VPN providers I have tried out.(Express & Nord)

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed .

Roundup - best VPNs for changing your IP

Privacy alert: websites you visit can find out who you are.

The following information is available to any site you visit:

Your IP Address:

Your Location:

Your Internet Provider:

This information can be used to target ads and monitor your internet usage.

Using a VPN will hide these details and protect your privacy.

We recommend using NordVPN - #1 of 72 VPNs in our tests. It offers outstanding privacy features and is currently available at a discounted rate.

How to access router settings

Discover the power of network customization

Modem router on a table in a living room. A woman using a laptop while sitting on the sofa is in background. Selective focus.

Tools and requirements

  • Step-by-step guide

How to find your IP address

Final thoughts, you might also like....

Do you want to take control of your home or office network? Accessing your router settings opens up a world of possibilities, allowing you to customize and manage various aspects of your network experience. 

By navigating through your router's configurations, you can fine-tune wireless settings, strengthen security, troubleshoot issues, and create a network tailored to your needs. In this guide, we'll walk you through the steps to access your router settings, including how to find your IP address. Are you ready to optimize your network for peak performance? Let's dive in!

  • A router 
  • A device connected to the router via Ethernet or Wi-Fi
  • Your IP address

You can find your IP address by looking at the router itself or checking your computer or mobile phone. We'll cover seven of the most common options: Router, Windows, Linux, Chromebook, Mac, Android, and iPhone.

Step-by-step guide for how to access router settings

1. find password.

Screenshot showing the bottom of a router with the default password and pin highlighted.

Next, you'll need your username and password. If you haven't changed these, the default credentials are usually found in the router's manual or on a sticker on the router itself.

Some routers also use a WPS (Wi-Fi Protected Setup) PIN as a security feature to facilitate connecting devices to a Wi-Fi network. If your router has this, make a note of this as well.

If you can't find your username, password, or PIN, there are a few other options you can try.

You can visit the official website of the router manufacturer. Many manufacturers provide default login information for their routers on their websites. If you can't find the information online, contact the manufacturer's customer support, who may be able to provide you with the default login credentials.

If all else fails, you can perform a factory reset on your router. Keep in mind that this will erase all custom configurations, and you'll need to set up your router again. To reset the router, locate the reset button on your router. It is usually a small button that may require a paperclip or a similar tool to press. Press and hold the reset button for about 10-15 seconds until the router lights flash. Release the reset button, and the router will reboot to its factory settings.

3. Open your router settings page

Screenshot showing Virgin Media Super Hubhome page

Open a web browser like Chrome, Firefox, or Safari, and type the router's IP address into the address bar of your web browser.

You should now see the login page for your router. The example in the screenshot shows the Virgin Media Super Hub. You will see the router access page for your provider.

Enter your password and username or PIN.

4. Access router settings and make changes

Screenshot showing Virgin Media Super Hubhome page

Once logged in, you will have access to the router's settings. The layout and options may vary, but common settings include wireless settings, security options, and network configurations.

You can configure various settings, such as Wi-Fi passwords, security protocols, port forwarding, and more. Be cautious while making changes, as incorrect settings can affect your network's functionality.

After making any changes, remember to log out of the router's interface for security reasons.

Screenshot showing how to find IP address and Gateway details - from the hub

Check on your router itself to see if it displays the router IP address we need to access the settings page. You should also make a note of the password and PIN, as we're going to need that later on.

Screenshot showing how to find IP address and Gateway details in Windows

You can find your router IP address on a Windows device in the command prompt window.

To open the Windows Command Prompt, click the Start button (Windows icon) in the bottom-left corner of your screen. Type Command Prompt or cmd into the search bar. Select Command Prompt from the search results.

Type ipconfig /all and press enter. Under the heading Wireless LAN or similar, you'll see an IP address next to Default Gateway. This is your router IP address.

Screenshot showing how to find IP address and Gateway details in Linux

To find out your Router IP address, you'll need to open the terminal.

Methods for opening the terminal vary slightly depending on which Linux distro you're using, but you should be able to access it from your applications or by entering Ctrl + Alt + T. 

Once inside the terminal, type ip r and hit return. The first IP address returned will be your Router IP address.

4. Chromebook

Screenshot showing how to find IP address and Gateway details on a Chromebook

To get your router's IP address on a ChromeOS device, click the clock at the bottom right of your screen and select the gear icon. Click Network, then Wi-Fi. Select your Wi-Fi router. You'll find the router's IP address next to Gateway.

screenshot showing how to find the ip addressand gateway on a Mac

If you're using a MacOS device, go to System Settings and Network: Wi-Fi. Click Details on your connection, and you'll find the address next to Router.

Screenshot showing how to find IP address and Gateway details on an Android phone

Open the Settings app on your Android device and select the Wi-Fi or Network and Internet option. Find the connected Wi-Fi network and tap on it, then look for an option like Network details. The exact wording may vary depending on your device. Your router IP address will be displayed here. It may be called the Gateway or Router IP.

Screenshot showing how to find IP address and Gateway details on an iPhone

Open the Settings app on your iPhone and navigate to Wi-Fi Settings. Find the connected Wi-Fi network and tap the (i) icon next to its name. This icon is typically located on the right side of the network name. In the network details, look for the Router or Gateway field. This field contains the IP address of your router.

Now that you've successfully accessed your router settings, you can take a closer look at your network settings and modify them to suit your preferences and requirements.

You can strengthen your network's security by updating Wi-Fi passwords, changing security protocols, and enabling features like MAC address filtering. You can also keep an eye on the list of connected devices to your network. This enables you to detect unauthorized devices and troubleshoot any connectivity issues.

You can also set up port forwarding, check firmware, and prioritize network traffic using Quality of Service (QoS) settings.

However, you should remember that making changes to your router settings should be approached with caution. Incorrect configurations can impact your network's functionality. Always refer to your router's documentation for guidance, and if in doubt, consult your router manufacturer's support. After making adjustments, ensure you log out of the router's interface to uphold security measures.

Get daily insight, inspiration and deals in your inbox

Get the hottest deals available in your inbox plus news, reviews, opinion, analysis and more from the TechRadar team.

  • What is an IP address?
  • The best Wi-Fi routers
  • How to build a VPN router

Emma Street

Emma Street is a freelance content writer who contributes technology and finance articles to a range of websites, including TechRadar, Tom's Guide, Top10.com, and BestMoney. Before becoming a freelance writer, she worked in the fintech industry for more than 15 years in a variety of roles, including software developer and technical writer. Emma got her first computer in 1984 and started coding games in BASIC at age 10. (Her long, rambling, [and probably unfinishable] Land of Zooz series still exists on a 5-inch floppy disk up in her parents' loft somewhere.) She then got distracted from coding for a few decades before returning to university in her thirties, getting a Computing Science degree, and realizing her ambition of becoming a fully-fledged geek. When not writing about tech and finance, Emma can be found writing about films, relationships, and tea. She runs a tea blog called TeaFancier.com and holds some very strong opinions about tea. She has also written a bunch of romance novels and is aided at work by a tech-savvy elderly cat who ensures Emma fully understands all the functions of the F keys so she can quickly undo whatever the cat has just activated while walking over the keyboard.

This app put the universe in my hands and now I can't put it down

VR's prop hunt is superb but virtual yard work isn't for me – my favorite Meta Quest 3 games and apps for May 2024

Here are three excellent Windows features we really want to see in macOS

Most Popular

  • 2 Microsoft is investing billions into another major US AI data center — and its location is a slap in the face to Apple
  • 3 Chinese server CPU beats Microsoft, Google and AWS rivals to grab performance crown — Alibaba's Yitian 710 is quickest server CPU but it is based on Arm rather than RISC and x86 is likely to be the overall speed champion
  • 4 I tested Samsung's glare-free OLED TV vs a conventional OLED TV – here's what I learned
  • 5 GoPro Max 2 officially delayed – which means the Insta360 X4 remains the best 360-degree camera you can buy
  • 2 I tested Samsung's glare-free OLED TV vs a conventional OLED TV – here's what I learned
  • 3 Hands on: iPad Pro 13-inch (2024): The impossibly thin king of iPads – and maybe all tablets
  • 4 10 things Apple forgot to tell us about the new iPad Pro and iPad Air
  • 5 4 reasons why most free VPNs are scams

how to change ip pc

  • Trending Now
  • Foundational Courses
  • Data Science
  • Practice Problem
  • Machine Learning
  • System Design
  • DevOps Tutorial
  • How to Find Your Computer’s Serial Number?
  • How to Find Computer Name?
  • How To Find Your Router's IP through the Control Panel?
  • How to Find Your Mac Address?
  • How to Find Your IP Address on Windows?
  • How to Calculate Number of Host in a Subnet?
  • How to Find Your IP Address?
  • Introduction of Variable Length Subnet Mask (VLSM)
  • How to Find Your IP Address in Linux | ifconfig Command
  • How to Find Your MAC Address in Windows 11?
  • Java program to find IP address of your computer
  • How To See the IP Address of a URL?
  • Finding Network ID of a Subnet (using Subnet Mask)
  • How do Packets Find a Computer in a Network?
  • How to Calculate a Subnet Mask from IP Address?
  • How to Make Computer Lab in Packet Tracer?
  • How to Find Network IP Address of Computer Using Computer Name?
  • C Program to find IP Address, Subnet Mask & Default Gateway
  • How Many Ways to Find Your IP Address?

How to Find the Subnet Mask of Your Computer?

Welcome to today’s tech tips guide to find the subnet mask of your computer. Like your IP address, a subnet mask helps identify devices on a local network. To connect to a network and use internet resources, a computer user must have the idea of a subnet mask. In this article, we will learn the simplest method to find a subnet number.

Before we begin the methods, let’s first understand what a subnet mask is. After that, we’ll learn to find the subnet mask on your computer in Windows, Mac, and Linux using different methods.

What is a Subnet Mask?

In your home network, all devices have different IP addresses but share some similarities. If you consider an example of a house network. All device’s addresses start with ‘192.168.1,’ but the last part of the address (octet) is different.

The part of the address is divided into network ID ( same across all devices) and host ID (unique to each device). This is where the role of the subnet comes in, Different networks can have different sizes for these networks and host portions.

Must Check: Subnet Mask Cheat Sheet – Beginner to Advanced!

Most home networks have a subnet mask of ‘255.255.255.0.’ Basically, the way it works is explained below with a sample example.

  • The octets that are ‘255’ represent the network portion.
  • The octets that are ‘0’ represent the host portion.

For example, if a network has an IP address of 10.10.1.X and a subnet mask of ‘255.255.0.0,’ the first two octets (10.10) are the network portion, and the last two octets (1.X) are the host portion.

How to Find Subnet Mask in a Windows PC?

Method 1: find subnet mask using command prompt.

Step 1: Type Cmd in the search and open the Command Prompt.

Find-Subnet-Mask-in-a-Windows-PC_1

Step 2: Type IP configuration command mentioned below and press Enter

Find-Subnet-Mask-in-a-Windows-PC

The ipconfig command displays the network configuration and other network-related information as shown in the figure.

Step 3: Scroll down to Look for the ‘Subnet Mask’ entry under the network adapter information

Find-Subnet-Mask-in-a-Windows-PC_2

Method 2: Find Subnet Mask Using Control Panel

Step 1: Type control in the search and open the Control Panel.

Find-Subnet-Mask-in-a-Windows-PC_3

Step 2: Click on Network and Internet.

Find-Subnet-Mask-in-a-Windows-PC_4

Step 3: Click on Network and Sharing Center.

Find-Subnet-Mask-in-a-Windows-PC_5

Step 4: Click on the network connection you want to check (as shown below).

Find-Subnet-Mask-in-a-Windows-PC_6

Step 5: Click the Details button

Find-Subnet-Mask-in-a-Windows-PC_7

Your subnet mask will be listed under the Network Connection Details ( as shown below).

Find-Subnet-Mask-in-a-Windows-PC_8

Method 3: Calculate a Subnet Mask from the IP Address.

In cases where you can’t access command line or control panel, you can determine the subnet mask using the IP address itself by identifying the network portion and host portion of the IP address. For detailed steps, refer to, check How do I Find Subnet Mask for an IP Address?

How to Find Subnet Mask in a macOS?

Step 1: Click on the Apple icon and Go to System Preferences > Network

Step 2: Select the network connection you want to check

Step 3: Click the Advanced button at the bottom.

Step 4: Go to TCP/IP tab section, your subnet mask will be mentioned there

How to Find Subnet Mask in a Linux?

Step 1: Press Ctrl + Alt + T to open the Linux Terminal

Step 2: Type ifconfig and press Enter

Step 3: Now, Find the subnet mask. The subnet mask usually starts with 255 and is labeled as ‘Mask.’

The subnet mask is important because it facilitates communication between devices within the same network. By these methods, you can determine the subnet mask of your specific operating system or by using an online subnet calculator. Another way is to get and install a third-party tool to identify your PC’s subnet mask.However, using third-party software is not recommended and will just occupy storage on your device.

How to Find the Subnet Mask of Your Computer – FAQs

How is subnet mask different from ip address.

A subnet is a logical subdivision of an IP address. One portion identifies the computer being used as the host, while the other portion identifies the network it is connected to.

Can I change subnet mask of my computer?

It is possible to modify your computer’s subnet mask; however, if you do it wrong, your network connection may be disrupted. To prevent connectivity problems, verify the new subnet mask one more time.

How to calculate subnet mask using subnet calculators?

You can calculate subnet mask using online subnet calculators. Just search online subnet calculator on your browser and choose any reliable subnet calculator, Input your IP address into the calculator. It will then provide you with the subnet mask and other related information network addresses, host ranges, and IP class etc.

Please Login to comment...

Similar reads.

  • Computer Networks-IP Addressing

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

how to change ip pc

How to access the admin panel on your wireless router

A router is essential to your network. It allows you to connect, manage, and redirect internet traffic to the devices in your home. Because it is central to your network along with your modem, you may want to update its default settings. Using a computer to access your router's admin panel is common, but it can also be done from a Chromebook . You can log in to your router's admin panel using a web browser from any device with access to your network.

If your router was given to you by your internet service provider (ISP), you might not have as much control over your device. Leased router equipment via your ISP typically limits you from using certain features or functionalities. But you can change some basic settings. If you purchased the router, you have unlimited access to the admin panel with a few simple steps.

How to find your router's IP address

Before logging in to the admin panel for your router, figure out the router's IP address. Doing so lets you view its admin login screen from a web browser, where you'll type in a username and password.

10 best web browsers on Android in 2024

You'll often find the local IP address on your router, such as a sticker at the bottom or back of the device. A popular default IP address for a router might look like 192.168.1.1 or 192.168.0.1 . Some routers allow you to enter a web address instead of a number to access the admin panel. Check out the steps below for your operating system to find your router's IP address using a computer.

There are multiple ways to find an IP address for a connected network device using a desktop or laptop computer. We cover the command line interface in this guide. The process is straightforward, even if this is your first time using a command prompt or terminal app. After you have the IP address, you only do that part again if your network environment changes.

Find your router's IP address using Windows

Locating the router's IP address with a Windows computer is simple. After you open a universal command prompt and run one quick command, you have access to the IP address for your router. Use that number to access the router's admin login page.

To locate the IP address for your router using Windows, do this:

  • Click the Windows start menu icon.
  • Search for the Command Prompt app or type cmd .
  • Open the Command Prompt app.
  • Type ipconfig into the command window, then press Enter .
  • Locate the Default Gateway address for your current network adapter. This number is the IP address for the direct connection between your computer and the router.
  • Highlight and copy that number or write it down somewhere for safekeeping.

Find your router's IP address using Mac or Linux

Similar to Windows, locating the IP address for your router on Mac or Linux involves opening a terminal window and running a command. You can access the router's admin login page when you have that number.

To locate the IP address for your router using Mac or Linux, do this:

  • Open the Terminal app. You can typically find this for Mac computers by going to Applications > Utilities or in the app drawer for Linux-based devices.
  • Type ifconfig into the terminal window, then press Enter .
  • Locate your current network adapter, often called en0 or eth0 by default. Those are only a few examples, but your network adapter may have a different name.
  • Find the line that shows inet addr or inet followed by some numbers. This IP address number represents the connection between your computer and the router.

How to access the admin panel page on your router

Now that you have the IP address for your router, the next part involves using that number to log into your router's admin panel. It's as simple as opening a web browser and typing a few login credentials.

To get access your router's admin panel, check out these steps:

  • Open a web browser on your desktop or laptop computer. The computer you use must be connected to your router via a wired Ethernet connection or have access to your Wi-Fi network.
  • Type or paste your router's IP address into the address bar on the web browser.
  • Press Enter .
  • Enter the username and password for your router. You'll find the default login credentials on a sticker on the router or in the instructions manual that came with it. If all else fails, look up what your router manufacturer or ISP uses as their default login for that model by doing a quick Google search.
  • After the login credentials are verified, you'll have access to your router's admin panel.
  • Bookmark the admin panel page on your web browser for easy access in the future.

You can review the settings and make changes to meet your networking needs. Also, update your router's login credentials to avoid using the default settings for increased security. Change the username and password to something unique and something only you will remember. Write down or save the updated login credentials somewhere safe. Otherwise, you'll need to factory reset your router if you can't log back in.

Best Wi-Fi 7 routers in 2024

Tweak your router settings with the admin panel.

Going into your router's admin panel allows you to change your networking experience as little or as much as you want. You can update basic settings, like the name of your network or the default DNS servers used. You can also tap into advanced features like forwarding and blocking network ports or setting up a network-wide VPN . The process for accessing the admin panel for your router is simple when the proper login credentials are taken care of.

The Windows command prompt is helpful on its own, but it has many hidden features . From a text viewer and video converter to a task manager, we cover some great examples of the command prompt's benefits outside its typical uses.

How to access the admin panel on your wireless router

Change the hostname of your AL2 instance

When you launch an instance into a private VPC, Amazon EC2 assigns a guest OS hostname. The type of hostname that Amazon EC2 assigns depends on your subnet settings. For more information about EC2 hostnames, see Amazon EC2 instance hostname types in the Amazon EC2 User Guide for Linux Instances .

A typical Amazon EC2 private DNS name for an EC2 instance configured to use IP-based naming with an IPv4 address looks something like this: ip-12-34-56-78.us-west-2.compute.internal , where the name consists of the internal domain, the service (in this case, compute ), the region, and a form of the private IPv4 address. Part of this hostname is displayed at the shell prompt when you log into your instance (for example, ip-12-34-56-78 ). Each time you stop and restart your Amazon EC2 instance (unless you are using an Elastic IP address), the public IPv4 address changes, and so does your public DNS name, system hostname, and shell prompt.

This information applies to Amazon Linux. For information about other distributions, see their specific documentation.

Change the system hostname

If you have a public DNS name registered for the IP address of your instance (such as webserver.mydomain.com ), you can set the system hostname so your instance identifies itself as a part of that domain. This also changes the shell prompt so that it displays the first portion of this name instead of the hostname supplied by AWS (for example, ip-12-34-56-78 ). If you do not have a public DNS name registered, you can still change the hostname, but the process is a little different.

In order for your hostname update to persist, you must verify that the preserve_hostname cloud-init setting is set to true . You can run the following command to edit or add this setting:

If the preserve_hostname setting is not listed, add the following line of text to the end of the file:

To change the system hostname to a public DNS name

Follow this procedure if you already have a public DNS name registered.

For AL2: Use the hostnamectl command to set your hostname to reflect the fully qualified domain name (such as webserver.mydomain.com ).

For Amazon Linux AMI: On your instance, open the /etc/sysconfig/network configuration file in your favorite text editor and change the HOSTNAME entry to reflect the fully qualified domain name (such as webserver.mydomain.com ).

Reboot the instance to pick up the new hostname.

Alternatively, you can reboot using the Amazon EC2 console (on the Instances page, select the instance and choose Instance state , Reboot instance ).

Log into your instance and verify that the hostname has been updated. Your prompt should show the new hostname (up to the first ".") and the hostname command should show the fully-qualified domain name.

To change the system hostname without a public DNS name

For AL2: Use the hostnamectl command to set your hostname to reflect the desired system hostname (such as webserver ).

For Amazon Linux AMI: On your instance, open the /etc/sysconfig/network configuration file in your favorite text editor and change the HOSTNAME entry to reflect the desired system hostname (such as webserver ).

Open the /etc/hosts file in your favorite text editor and change the entry beginning with 127.0.0.1 to match the example below, substituting your own hostname.

You can also implement more programmatic solutions, such as specifying user data to configure your instance. If your instance is part of an Auto Scaling group, you can use lifecycle hooks to define user data. For more information, see Run commands on your Linux instance at launch and Lifecycle hook for instance launch in the AWS CloudFormation User Guide .

Change the shell prompt without affecting the hostname

If you do not want to modify the hostname for your instance, but you would like to have a more useful system name (such as webserver ) displayed than the private name supplied by AWS (for example, ip-12-34-56-78 ), you can edit the shell prompt configuration files to display your system nickname instead of the hostname.

To change the shell prompt to a host nickname

Create a file in /etc/profile.d that sets the environment variable called NICKNAME to the value you want in the shell prompt. For example, to set the system nickname to webserver , run the following command.

Open the /etc/bashrc (Red Hat) or /etc/bash.bashrc (Debian/Ubuntu) file in your favorite text editor (such as vim or nano ). You need to use sudo with the editor command because /etc/bashrc and /etc/bash.bashrc are owned by root .

Edit the file and change the shell prompt variable ( PS1 ) to display your nickname instead of the hostname. Find the following line that sets the shell prompt in /etc/bashrc or /etc/bash.bashrc (several surrounding lines are shown below for context; look for the line that starts with [ "$PS1" ):

Change the \h (the symbol for hostname ) in that line to the value of the NICKNAME variable.

(Optional) To set the title on shell windows to the new nickname, complete the following steps.

Create a file named /etc/sysconfig/bash-prompt-xterm .

Make the file executable using the following command.

Open the /etc/sysconfig/bash-prompt-xterm file in your favorite text editor (such as vim or nano ). You need to use sudo with the editor command because /etc/sysconfig/bash-prompt-xterm is owned by root .

Add the following line to the file.

Log out and then log back in to pick up the new nickname value.

Change the hostname on other Linux distributions

The procedures on this page are intended for use with Amazon Linux only. For more information about other Linux distributions, see their specific documentation and the following articles:

How do I assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7?

Warning

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

  • Mobile Site
  • Staff Directory
  • Advertise with Ars

Filter by topic

  • Biz & IT
  • Gaming & Culture

Front page layout

VPN BUSTER —

Novel attack against virtually all vpn apps neuters their entire purpose, tunnelvision vulnerability has existed since 2002 and may already be known to attackers..

Dan Goodin - May 6, 2024 8:35 pm UTC

Novel attack against virtually all VPN apps neuters their entire purpose

Researchers have devised an attack against nearly all virtual private network applications that forces them to send and receive some or all traffic outside of the encrypted tunnel designed to protect it from snooping or tampering.

TunnelVision, as the researchers have named their attack, largely negates the entire purpose and selling point of VPNs, which is to encapsulate incoming and outgoing Internet traffic in an encrypted tunnel and to cloak the user’s IP address. The researchers believe it affects all VPN applications when they’re connected to a hostile network and that there are no ways to prevent such attacks except when the user's VPN runs on Linux or Android. They also said their attack technique may have been possible since 2002 and may already have been discovered and used in the wild since then.

Reading, dropping, or modifying VPN traffic

The effect of TunnelVision is “the victim's traffic is now decloaked and being routed through the attacker directly,” a video demonstration explained. “The attacker can read, drop or modify the leaked traffic and the victim maintains their connection to both the VPN and the Internet.”

The attack works by manipulating the DHCP server that allocates IP addresses to devices trying to connect to the local network. A setting known as option 121  allows the DHCP server to override default routing rules that send VPN traffic through a local IP address that initiates the encrypted tunnel. By using option 121 to route VPN traffic through the DHCP server, the attack diverts the data to the DHCP server itself. Researchers from Leviathan Security explained:

Our technique is to run a DHCP server on the same network as a targeted VPN user and to also set our DHCP configuration to use itself as a gateway. When the traffic hits our gateway, we use traffic forwarding rules on the DHCP server to pass traffic through to a legitimate gateway while we snoop on it. We use DHCP option 121 to set a route on the VPN user’s routing table. The route we set is arbitrary and we can also set multiple routes if needed. By pushing routes that are more specific than a /0 CIDR range that most VPNs use, we can make routing rules that have a higher priority than the routes for the virtual interface the VPN creates. We can set multiple /1 routes to recreate the 0.0.0.0/0 all traffic rule set by most VPNs. Pushing a route also means that the network traffic will be sent over the same interface as the DHCP server instead of the virtual network interface. This is intended functionality that isn’t clearly stated in the RFC. Therefore, for the routes we push, it is never encrypted by the VPN’s virtual interface but instead transmitted by the network interface that is talking to the DHCP server. As an attacker, we can select which IP addresses go over the tunnel and which addresses go over the network interface talking to our DHCP server. Enlarge / A malicious DHCP option 121 route that causes traffic to never be encrypted by the VPN process. Leviathan Security We now have traffic being transmitted outside the VPN’s encrypted tunnel. This technique can also be used against an already established VPN connection once the VPN user’s host needs to renew a lease from our DHCP server. We can artificially create that scenario by setting a short lease time in the DHCP lease, so the user updates their routing table more frequently. In addition, the VPN control channel is still intact because it already uses the physical interface for its communication. In our testing, the VPN always continued to report as connected, and the kill switch was never engaged to drop our VPN connection.

The attack can most effectively be carried out by a person who has administrative control over the network the target is connecting to. In that scenario, the attacker configures the DHCP server to use option 121. It’s also possible for people who can connect to the network as an unprivileged user to perform the attack by setting up their own rogue DHCP server.

The attack allows some or all traffic to be routed through the unencrypted tunnel. In either case, the VPN application will report that all data is being sent through the protected connection. Any traffic that’s diverted away from this tunnel will not be encrypted by the VPN and the Internet IP address viewable by the remote user will belong to the network the VPN user is connected to, rather than one designated by the VPN app.

Interestingly, Android is the only operating system that fully immunizes VPN apps from the attack because it doesn't implement option 121. For all other OSes, there are no complete fixes. When apps run on Linux there’s a setting that minimizes the effects, but even then TunnelVision can be used to exploit a side channel that can be used to de-anonymize destination traffic and perform targeted denial-of-service attacks. Network firewalls can also be configured to deny inbound and outbound traffic to and from the physical interface. This remedy is problematic for two reasons: (1) a VPN user connecting to an untrusted network has no ability to control the firewall and (2) it opens the same side channel present with the Linux mitigation.

The most effective fixes are to run the VPN inside of a virtual machine whose network adapter isn’t in bridged mode or to connect the VPN to the Internet through the Wi-Fi network of a cellular device. The research, from Leviathan Security researchers Lizzie Moratti and Dani Cronce, is available here .

reader comments

Promoted comments.

how to change ip pc

Channel Ars Technica

IMAGES

  1. How To Change IP Address in Windows 10: A Visual Guide

    how to change ip pc

  2. How to Change IP Address in Windows 10

    how to change ip pc

  3. How to Change IP Address on Windows 10 \ 8 \ 7

    how to change ip pc

  4. How to Change IP Address on Windows 11 [ Too Easy ] Change IP Address

    how to change ip pc

  5. how to change IP address on windows 10

    how to change ip pc

  6. How to Change IP Address on Windows 11

    how to change ip pc

VIDEO

  1. how to change ip address in PC using just 3 steps #ipchange

  2. How to change Computer/Laptop IP for IP camera DVR,NVR etc

  3. How To Change IP Address in Windows Without VPN

  4. How to Change Your IP Address Easily and Fast

  5. How To Change IP Address On Windows 11(Best Tutorial)

  6. How to Change ip address on Windows 11 and Windows 10 (EASY)

COMMENTS

  1. How to change the IP address in Windows 10 and Windows 11 (4 ways)

    In both Windows 11 and Windows 10, you can also change your IP address from the Control Panel. Open the Control Panel and click or tap on "View network status and tasks" under "Network and Internet.". In the Network and Sharing Center, click or tap on your internet connection from the "View your active networks" area.

  2. How to Change Your IP Address (Windows)

    in the bottom-right corner of the screen. Click Wi-Fi in the pop-up window. 3. Wait for five minutes. Some ISPs will assign a new IP address in as little as five minutes; if doing this doesn't work, however, you may need to leave your router unplugged overnight (or for around eight hours). 4.

  3. How to Change Your IP Address

    Key Takeaways. The simplest way to change your IP address is to power off your router, wait at least 10 seconds, then power it back on. If that doesn't fix your problem, you may want to set a static IP address instead. Changing your IP address is a simple fix for a number of networking issues. However, there's more than one way to cook that ...

  4. How To Change Your IP Address On Windows 10 (& Why You'd Want To)

    To set a static IP address, open your network settings by right-clicking the Start menu and clicking the Network Connections option. In the Network Connections settings menu, press the Change connection properties option. Under the IP Settings category, press the Edit option. Change the IP allocation type to Manual.

  5. How to Change Your IP Address on Windows 10 (3 Methods)

    Open Settings. Press the Start button, then click the settings cog, above the power button. Alternatively, press Windows + I. Click "Network & Internet". Click "Wi-Fi" in the sidebar and ...

  6. How to change your IP address

    Find IP assignment and click Edit. (Image credit: Future) Click on the drop-down menu and select Manual. (Image credit: Future) Toggle IPv4 on. (Image credit: Future) Set your IP address on the ...

  7. How to Change Your IP Address

    Windows: Control Panel > Network and Sharing Center > Change adapter settings and follow the instructions below. Mac: System Preferences > Network.Select a network > Advanced.Go to the TCP/IP tab and select Manually.Enter info. iOS: Open Settings > Wi-Fi, tap the circled i next to the network, select Configure IP > Manual.Set up the new IP.

  8. How to Change Your IP Address (with Pictures)

    Find the Networking tab. Open it, and click on the Internet Protocol Version 4 (TCP/IPv4). Press the Properties button. 5. In the general tab, click "Use the following IP address" (if it isn't highlighted already). Type in a string of ones, so that your new IP address says 111-111-111-111. 6.

  9. How to Change IP Address on Windows 10/11 (Full Tutorial)

    In this tutorial video I'll show you how to change your IP address on Windows 10 and Windows 11.If you're wondering how to change your ip address on a window...

  10. How to change your IP address on Mac and Windows

    Step 2: Click the Details button, then click open the TCP/IP tab. Digital Trends. Step 3: Click open the dropdown menu next to the Configure IPv4 option. Then, click Manually. Now, enter your new ...

  11. How to Change Your IP Address on a Computer or Phone

    Click the Start button and then click "Settings." 2. Click "Network & Internet." You can change your local IP address in Settings. Dave Johnson/Insider. 3. In the navigation pane on the left ...

  12. How to Change Your IP Address Quickly and Easily

    From here, click on the Advanced tab at the bottom right of the window, and then TCP/IP. Then, you'll need to use the dropdown list on the Configure IPv4 section, and select Manually . After this, you'll see your IP address change to "0.0.0.0", meaning it has reset, and you now must manually type in the new one.

  13. How to Change IP Address on Windows 10 [Step-by-Step Guide]

    Method 1. Change IP Address Windows 10 Using the Settings App. The first and simplest way to change IP address is to use the Settings app. Here's a full guide for you: Step 1. Open the Settings app by pressing Win + I keys and then click on Network & Internet. Step 2.

  14. How to change IP address Windows 10

    Here are the steps: On your keyboard, press the Windows logo key and R at the same time to invoke the Run box, then copy & paste control.exe /name Microsoft.NetworkAndSharingCenter into the box and press Enter. Choose the corresponding connection whose IP address you would like to change. Click Properties.

  15. Change Your Public IP Address: Tips & Methods

    Next, enter ipconfig /release (make sure to include the space) and hit Enter. Type ipconfig /renew (include the space) and select Enter. Close the prompt to exit. iOS: Find Settings, select Network and choose your current wireless network. Find IPv4 address, select Configure IP, then choose Automatic.

  16. How to change your IP address manually

    Open the Apple menu at the top-left corner of the screen. Click "System Settings" > "Network.". Select the network you're currently connected to. Press "Details" or "Advanced" and open the " TCP/ IP " tab. In the "Configure IPv4" section, select "Manually.". Input your new IP address and click "OK.".

  17. How to Assign a Static IP Address in Windows 10 or Windows 11

    Key Takeaways. To set a static IP address in Windows 10 or 11, open Settings -> Network & Internet and click Properties for your active network. Choose the "Edit" button next to IP assignment and change the type to Manual. Flip the IPv4 switch to "On", fill out your static IP details, and click Save. Sometimes, it's better to assign a PC its ...

  18. How To Change Your IP Address On Any Device

    Here are the steps to change the Local IP on Windows: Press Win + R, type ncpa.cpl, and press Enter. Right-click your network connection and select Properties. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties. By default, the Obtain an IP address automatically option will be selected here.

  19. How to configure a static IP on Windows 10 or 11

    To set a static TCP/IP configuration on Windows 11, use these steps: Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the ...

  20. How to Change Your IP Address Easily on Any Device

    Change your IP address on Mac. Here's how to change an IP address on Mac: Click the Apple logo in the menu bar. Select System Preferences > Network. Select your Wi-Fi network. In the bottom right, click Advanced. Click TCP/IP. Under Configure IPv4, select Manually. Next to IPv4 Address, enter your desired IP address.

  21. How To Change Your IP Address

    Select Ethernet or Wi-Fi. Select Manage and then click Edit next to IP assignment. Select Automatic (DHCP) or Manual under Edit network IP setting. Enable IPv4 and type in these three boxes: IP ...

  22. How to Change Your IP Address From the Command Prompt in Windows

    View Your Network Information with Command Prompt. Before you change your IP address and related information, you'll need to find the full name of the network for the interface you want to change. To do this, type the following command: netsh interface ipv4 show config. Scroll down until you see the interface you're looking for.

  23. Change TCP/IP settings

    To enable DHCP or change other TCP/IP settings. Select Start, then type settings. Select Settings > Network & internet. Do one of the following: For a Wi-Fi network, select Wi-Fi > Manage known networks. Choose the network for which you want to change the settings. For an Ethernet network, select Ethernet, then select the Ethernet network you ...

  24. How to change your IP address (6 ways, 5 are free) in 2024

    4. Change IP addresses by unplugging your modem. You might be able to get a new IP address by unplugging your internet modem, waiting a few minutes, and then plugging it back in again. When this happens, you release your IP address so your ISP can recycle it. When you reconnect, your ISP assigns you a new IP address.

  25. What's My IP Address and How Do I Change It?

    Here's what to do: Type "what's my IP address" into your search engine. When the result pops up, write down the number. Unplug your router (or gateway) for about five minutes. Plug it back in. Type "what's my IP address" into your search engine again to confirm it's different than the first number. If it's different, you're done!

  26. How to access router settings

    Open the Settings app on your iPhone and navigate to Wi-Fi Settings. Find the connected Wi-Fi network and tap the (i) icon next to its name. This icon is typically located on the right side of the ...

  27. How to Find the Subnet Mask of Your Computer?

    Step 2: Click on Network and Internet. Step 3: Click on Network and Sharing Center. Step 4: Click on the network connection you want to check (as shown below). Step 5: Click the Details button. Your subnet mask will be listed under the Network Connection Details ( as shown below). Method 3: Calculate a Subnet Mask from the IP Address.

  28. How to access the admin panel on your wireless router

    Find your router's IP address using Windows. Locating the router's IP address with a Windows computer is simple. After you open a universal command prompt and run one quick command, you have ...

  29. Change the hostname of your AL2 instance

    To change the system hostname without a public DNS name. For AL2: Use the hostnamectl command to set your hostname to reflect the desired system hostname (such as webserver ). [ec2-user ~]$ sudo hostnamectl set-hostname webserver.localdomain. For Amazon Linux AMI: On your instance, open the /etc/sysconfig/network configuration file in your ...

  30. Novel attack against virtually all VPN apps neuters their entire

    The attack works by manipulating the DHCP server that allocates IP addresses to devices trying to connect to the local network. A setting known as option 121 allows the DHCP server to override ...