
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 .

Need more help?
Want more options.
Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Microsoft 365 subscription benefits

Microsoft 365 training

Microsoft security

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

Ask the Microsoft Community

Microsoft Tech Community

Windows Insiders
Microsoft 365 Insiders
Find solutions to common problems or get help from a support agent.

Online support
Was this information helpful?
Thank you for your feedback.
- 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
- WinBuzzer Tips
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.

- 1 How to Change IP Address in Windows 10 via Settings
- 2 How to Change your Windows 10 IP Address in Control Panel
- 3 How to Change IP in CMD (Command Prompt)
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 .

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” .

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” .

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.

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

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” .

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.

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.

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.

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.

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

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 .
RELATED ARTICLES MORE FROM AUTHOR

How to Check and Update Drivers on Windows 11/Windows 10

How to Change Your Outlook Password

How to Disable the Windows Key in Windows 11/Windows 10

- Drivers & Downloads
- Log in New Customer? Start here
Product FAQs
Before you buy, how do i change my ip address in windows 10.
- Press the Windows key + X .
- Click Network Connections .
- Right-click the connection that you want to change and click Properties .
Note: The IP address for a wired connection is called Local Area Connection or Ethernet . The IP address for a wireless connection is called Wireless Network Connection or Wireless .
- Left-click Internet Protocol Version (TCP/IPv4) and click Properties .
- Select the Use the following IP address option.
- Enter your desired IP address and click in the Subnet Mask area, which should auto-complete.
- Click OK twice to apply the settings.
Note: If you are changing your IP address to access a specific device, minimize the Network Connections window. Complete the steps above, but in step 7, select Obtain an IP address automatically to access the Internet again.
- Other Threats
- Security Tips
- Identity Protection
- Digital Life
- Privacy Tips
- Performance Tips
How to Change Your IP Address — a Step-by-Step Guide
It sounds a bit cloak-and-dagger, but changing your IP address is not only legal, it's easy and can help strengthen your security online. Use our complete guide to learn how to change your IP address on Windows, Mac, Android, and iOS devices — or get a VPN to change your IP automatically.
Get it for Android , iOS , Mac
Get it for iOS , Android , PC
Get it for PC , Mac , iOS
Get it for Mac , PC , Android

How to change your IP address
There are four main ways to change your IP address. Depending on whether you want to boost online privacy or fix your router, the right option will help you get the most out of your device and new IP address.
This Article Contains:
See all Privacy articles

Here are the four ways to change your IP address:
How to change your IP address automatically with a VPN
You can change your IP address easily with a VPN (virtual private network) , which will strengthen your security and help you avoid content blocks by connecting through servers based in specific countries, like US VPN servers .
Here’s how to change your IP address with a VPN:
Download and install a trusted VPN like Avast SecureLine VPN.
Open the application.

Toggle the switch to ON . You’ll connect to the best remote server in seconds.

It’s really that simple to set up a VPN . VPNs hide your location by making it appear like you’re from the selected server’s location. Plus, with a VPN, all your data is encrypted . There are many VPN options out there, but avoid completely free ones — they can contain ads and malware.
If you’re unsure if a VPN is right for you, here are some pros and cons:
Pros of a VPN
Evade hackers
Stream from wherever
Avoid content restrictions and censorship
Dodge website tracking
Encrypt your connection
Cons of a VPN
Might slow down connection speed
No standard to gauge quality of service
Some businesses block VPN connections
Won’t stop cookies
If you’re already using a VPN but your connection is choppy, check if your VPN is working properly. And make sure to review the best server countries to connect to through a VPN .
Use a proxy server
A proxy server is similar to a VPN. Rather than connecting directly to a website, proxy servers, VPNs, and even the Tor browser function as intermediaries between you and the internet. But unlike a VPN and Tor, a proxy server will not encrypt your connection.
When you connect to a proxy, it will assign you a fake IP address — effectively changing your true IP address, without any of the extra hassle.
Reset your router
Are your devices not connecting to your router? Sometimes routers give out the wrong IP address — resetting your router may offer a quick fix.
Here’s how to change your IP address on your router:
Find your IP address and note it down. Our IP checker can help you with that.
Unplug your router for at least 5 minutes. It depends on how long your ISP usually takes to reset your IP address.
Plug your router back in and check your IP address again — it should be different after reconnecting.
Resetting your router basically tricks it into thinking your device is new, resulting in your router assigning it a fresh IP address. Also, along with changing your router's DNS settings , resetting your router can help prevent router hacking on your network.
Pros of resetting your router
A new IP address for your device
It’s free, easy, and pretty quick
Cons of resetting your router
Limited internet connection (or none) while it’s unplugged
Might not work immediately
Change your IP address manually
If you already have a new IP address that you want to use, you can manually change it. Rather than a more common dynamic IP , if you get an IP address that you can enter manually it’s most likely a static IP address . Depending on your device, there are a few ways to enter this type of IP address.
Here’s how to manually change your IP address on different devices:
How to change your IP address on Windows 11
Click Start > Settings > Network & Internet .
Click Ethernet or Wi-Fi . Select Manage and then click Edit next to IP assignment .
Under Edit network IP settings , select Automatic (DHCP) or Manual .
If you choose to manually configure your IP address, enable IPv4 and then enter the IP address settings in the IP address , Subnet mask , and Gateway boxes .
Click Save to activate your new settings.
How to change your IP address on Windows 10

Under your local area connection, click Properties .

Under IP assignment, click Edit .

Choose Manual , toggle on IPv4 , and enter the IP address . Then click Save.

How to change your IP address on Mac
Go to System Preferences and click Network .

In the left column, click your Network . Then click Advanced .

Select the TCP/ IP tab. Under Configure IPv4 , select Manually .

Enter your new IP address and click OK.

How to change your IP address on Android
In Android Settings , tap Connections , then Wi-Fi .

Tap Settings (the gear icon) next to your current network .

Tap IP settings and choose Static . Then add your new IP address and tap Save .

How to change your IP address on iOS
In the Settings of your iPhone or iPad, tap Wi-Fi , and choose your Network .

In the IPv4 section, tap Configure IP .

Choose Manual , and enter your new IP address.

Pros of changing your IP address manually
Relatively quick to change
Helpful for geolocation restrictions
More control over network connections
Cons of changing your IP address manually
Manually-defined IPs are usually static IP addresses, which can be tracked and hacked more easily
Manual user setup
Update your IP address automatically
Automatically updating your IP address is like hitting the refresh button. Use this method to automatically refresh your IP address, giving you a new IP to help you evade snoops, hackers, and other cybercriminals — without needing a VPN.
Here’s how to change your IP address on Windows, Android, Mac, and iOS automatically:

Update your IP address automatically on Windows
Press the Win + R keys at the same time.
In the Run dialog, type cmd . Click OK .

Type ipconfig /release (including spaces) and press Enter .

Type ipconfig /renew (including spaces) and press Enter . Close the Command Prompt.

Update your IP address automatically on Mac
Go to System Preferences , click Network .

Click the TCP/ IP tab. Then click Renew DHCP lease .

Update your IP address automatically on Android
In Android Settings , tap Connections , and select Wi-Fi .

Click Forget .

Reconnect to your Network and you should have a new IP address.
Update your IP address automatically on iOS
In iOS Settings , tap Wi-Fi , then choose your Network .

In the IPv4 address section, tap Configure IP , then select Automatic .

Pros of changing your IP address automatically
Usually updates to a dynamic IP address, which is more secure
Doesn’t require a VPN
Cons of changing your IP address automatically
Requires manual refresh
Won’t change your geolocation like a VPN does
What is an IP address?
An IP address is a string of numbers that identifies any device on a network. Computers use IP addresses to communicate with one another over the internet and other networks. IP addresses contain location information that help devices, routers, and websites identify themselves and send and receive information.
Why change your IP address?
Changing your IP address can help you evade hackers, snoops, and other forms of surveillance. Because you’re hiding who you are and where you’re located (essentially your online identity), you’ll have many privacy and security advantages. And there are other benefits too.
Here’s why you should change your IP address (jump down below to learn about the different types of IP addresses ):
Protect your online privacy: Changing your IP address will hide your geolocation, masking you from hackers , your ISP, and websites that use web tracking. Your IP address can also be used to spy on your private internet traffic — changing it will protect your online activity.
Avoid website bans: Some governments use IP addresses to restrict access to certain websites. Changing your IP address can help you hide from government censors, unblock restricted websites , and access a free and open internet.
Access regional content: Due to geo-blocking , you may have trouble streaming a game from your favorite sports team when abroad, or get blocked trying to watch a show available only in certain countries. By changing your IP address, you can get around content blocks by making websites think you’re coming from an approved region.
Troubleshoot internet issues: New routers often give the wrong IP address to devices. Manually changing your IP address can solve this problem. It can also help gamers experiencing laggy gameplay.
Remember, it’s totally legal to change your IP address. As long as you’re not doing anything criminal, you have nothing to worry about. People routinely change or hide their IP addresses for many reasons, and you can try it for yourself today with Avast SecureLine VPN .
Types of IP addresses
There are a few different types of IP addresses — all with their own unique functions. Although they’re all useful, different situations call for different IP addresses. Knowing the differences between them can help you make the right cybersecurity choices for your network.
Here are the different types of IP addresses:
Public IP address
A public IP address is assigned to your network router by your internet service provider (ISP). A public IP functions as the point of contact between your network and the public internet. Websites identify your network and connect to it through your public IP address.
A public IP address can be traced back to your ISP — they use it to monitor your location and activities. Websites also use your public IP address for web tracking . The simple Google query “What is my IP address?” will show you your device’s current IP address, but don’t be surprised if you see an IPv6 and an IPv4 address listed — IPv6 addresses are more common now.
Check out our guide to hiding your IP address to help protect your privacy.
Private IP address
A private IP address is assigned to your device by your network router. Each device on your network gets a unique private IP address — letting them all communicate over your network without connecting directly to the public internet. A private IP address is like a set of house keys, keeping intruders out of your device.
Learn more about the differences between public and private IP addresses .
Dynamic IP address
A dynamic IP address is designed for temporary use. Because there are a limited number of IP addresses available, a dynamic address is a way to recycle IP addresses. After a certain period of time, your ISP will take back the dynamic address and assign another one to your network from a pool of options.
Dynamic addresses are the most common type of IP address — they’re frequently used for consumer equipment. Although they change on their own, it’s helpful to know how to change your dynamic IP address for added protection.
Static IP address
A static IP address is fixed and doesn’t change. If your ISP assigned you a static IP, you’ll probably have it until your device dies or there’s a change in your network architecture. Generally, a static IP address is best for a business or an organization with servers.
Read more about the differences between static and dynamic IP addresses .
Whatever your IP address is, get proper privacy online
Changing your IP address seems like a secret spy technique — but it’s easy and completely legal. But simply changing your IP address is not enough to ensure robust privacy and security. For true online protection, use a VPN — like Avast SecureLine VPN .
Avast SecureLine VPN offers full encryption so you can hide your online activity from your ISP, your employer, hackers, and anyone else trying to uncover your online activity. Plus, you can safely use public Wi-Fi and access your favorite content anywhere in the world. You don’t need to be a spy to get world-class online privacy.
by Deepan Ghimiray on February 3, 2022 Updated on February 22, 2023
Change Your IP Address Automatically
Install Avast SecureLine VPN for iPhone or iPad to change your IP address, encrypt your data, and secure your internet connection.
Download Avast SecureLine VPN for PC to change your IP address, encrypt your data, and secure your internet connection.
Download Avast SecureLine VPN for Mac to change your IP address, encrypt your data, and secure your internet connection.
Install Avast SecureLine VPN for Android to change your IP address, encrypt your data, and secure your internet connection.
All related articles
You might also like....
- How to Download and Install Chrome on Your Mac
- How to Clear Your Browsing and Search History
- How to Set Parental Controls on Windows 10
- What Is Biometrics and How Secure Is Biometric Data?
- How to View and Delete Incognito History
- How to Manage and Remove Firefox Add-ons
- What Is Incognito Mode and Is It Safe?
- Browser Hijacker: What Is It and How to Remove It
- How to Allow and Block Pop-Ups in Safari
- How to Block and Allow Pop-Ups in Edge and Explorer
- How to Allow and Block Pop-Ups in Firefox
- How to Remove Extensions From Chrome
- How to Allow and Block Pop-Ups in Chrome
- What Is “Do Not Track” (DNT) and Does It work?
- Top Browser Keyboard Shortcuts: Chrome, Safari, Firefox & Edge
- What Is a Web Browser?
- How to Change Your Chrome Notification Settings
- How to Go Incognito on Mac, iPhone or iPad
- How to Use Firefox Private Browsing
- The Fastest Browsers to Use in 2023
- What Is Browser Fingerprinting and How Can You Prevent It?
- How to Set a Default Browser in Windows
- How to Open Incognito Mode in Google Chrome
- How to Clear Your Browser Cookies
- How to Enable or Disable Cookies in Chrome, IE, Firefox, Edge, and Safari
- How Do I Remove MySearchDial Toolbar?
- How Do I Remove Conduit Toolbar?
- How Do I Remove Ask Toolbar?
How to Find Your IP Address on Windows or Mac
Public vs. Private IP Addresses: What’s the Difference?
IPv4 vs. IPv6: What’s the Difference?
How do I Hide My IP Address?
- What is an IP Address?
- Static vs. Dynamic IP Addresses
- What is TCP/IP and How Does it Work?
- How to Disable IPv6 Support in Your Router Settings
- TCP vs UDP: What’s the Difference and Which Protocol Is Better?
- The Most Secure Messaging Apps in 2023
- How to Change the Location on Your iPhone
- Proxy vs VPN vs Tor: What Are the Differences?
- What Are the Benefits of a VPN?
- What Is a P2P VPN Server and How Does P2P Work?
- WireGuard VPN Protocol: The New, Secure, and Fast VPN Protocol
- How to Unblock Websites at School, Home, or Work
- VPN Server Locations: The Best Countries to Connect to
- What Is Geo-Blocking and How to Bypass It
- How to Check If Your VPN Is Working
- Data Encryption: What Is It?
- Why Do I Need to Use a VPN?
- How to Set Up a VPN
- What is a VPN & How Does it Work?
- How to Improve Your VPN Speed
- How to Change Your Netflix Region and Avoid Geo-Restrictions
- How to Unblock YouTube Videos From Any Location
- How to Watch TV Online
- How to Stop Video Buffering
- What is Internet Streaming and How Does it Work?
- What to Do If You Lose Your Phone With the Google Authenticator App on It
- Home Title Theft – What You Need to Know
- How to Report Identity Theft
- Facial Recognition Technology: All You Need to Know
- How to Protect Yourself From Identity Theft
- The Ultimate Guide to Identity Theft
- Data Brokers: Everything You Need to Know
- Spam Text Messages (SMS) — How to Stop or Block Spam Texts
- What Is Web 3.0 (Web3 definition)?
- What Is Spam: The Essential Guide to Detecting and Preventing Spam
- What Is the Best Cryptocurrency Wallet in 2023?
- What Is Metadata: Definition and Meaning
- Private Browsing Mode: What Is It and How to Turn It On or Off In Any Browser
- What Is the Metaverse?
- Spam Emails: Why Am I Getting So Many and How to Stop Them
- What Are QR Codes and How Do You Scan Them?
- What Is Cryptocurrency and How Does It Work?
- How to Spot Fake News
- What Is a Deepfake Video and How to Spot One
- How to Set Up and Control Google SafeSearch
- Digital Literacy in 2023
- Netiquette: Rules & Guidelines
- Wi-Fi Security: WEP vs WPA or WPA2
- What Is an SSL Certificate and What Does It Do?
- Is Snapchat Safe for Kids? A Parents’ Guide to Snapchat
- How to Stop Your Smart TV From Spying on You
- How to Browse the Web Anonymously
- How to Set Parental Controls on a Mac
- How to Set iPhone & iPad Parental Controls
- What Does Google Do With Your Data?
- How to Set Parental Controls on Android Devices
- How Much Screen Time Is too Much for Kids?
- Internet of Things Security Risks
- What is the Internet of Things (IoT)?
- What is a Smart Home?
- How to Build a Smart Home: A Beginner’s Guide
- Is This Website Safe? Your Complete Website Safety Check Guide
- What Is Doxxing, Is Doxxing Illegal, and How Do You Prevent It?
- How to Hide Apps on an Android Phone
- Social Engineering and How to Prevent It
- What Is the Best Browser for Privacy and Security?
- Android App Permissions and How to Use Them
- How to Remove Personal Information From the Internet
- How to Stay Safe on Public Wi-Fi
- Is Alexa Always Listening? How to Protect Your Privacy
- ISP Throttling: What Is It and How to Stop It
- The Best Free Encryption Software to Protect Your Data
- The Best Chrome Extensions for Privacy & Security
- How to Download Your Google Data
- What Is Ad Tracking?
- How to Send an Anonymous Email
- How to Download Your Data From Facebook
- The Best Free & Paid Ad Blockers for Android
- The Best Ad Blockers for iPhone and iPad
- What Are the Best Ad Blockers to Use for Your Browser?
- A Complete Guide to Web Tracking (and How to Avoid It)
- What is a Sniffer, and How Can I Protect Against Sniffing?
- How to Change Your Privacy Settings on Facebook
- How to Change Your Privacy Settings on Instagram
- How to Turn on Wi-Fi Encryption in Your Router Settings
Latest Privacy Articles

Latest Articles

Change your IP address automatically with Avast SecureLine VPN
- Performance
For Business
- Business support
- Business products
- Business partners
- Business blog
For Partners
- Mobile Carriers
- Press Center
- Responsibility
- Research Participation
- Privacy policy
- Report vulnerability
- Contact security
- Modern Slavery Statement
- Do not sell my info
- Cookie Preferences
How to Set a Static IP Address
August 2021
There are many reasons that you may need to change and set a static IP address for your IP device, such as a managed switch , wireless router , or outdoor access point . One reason is because an installation scenario doesn’t have an active network with DHCP services. Some other reasons you may need to set a static IP are because you use a dedicated web server, host server, VPN, or VoIP services.
Setting static IP addresses can help to avoid network conflicts which could cause certain devices to stop working correctly. However, in most installation scenarios, users will use a regular network and will not need to use a static IP. Setting a static IP address is an advanced networking function, and a basic, fundamental knowledge of TCP/IP is needed.
In general, statically address devices outside of your DHCP pool range, which in most home networks is your router . For reference, the DHCP pool range for TRENDnet products is usually (but not always) 192.168.10.101 to 199.
1. Access the Control Panel
In the Windows search bar, type in “ncpa.cpl” and then press enter.

If you are not using Windows 10, follow the steps below instead.
- On your keyboard, press the “Windows” and “R” keys at the same time.
- Enter “ncpa.cpl” in the window that pops up.
Note: Network connections will display the network adapters that are currently connected to your computer.

2. Select the Network Adapter
Right click on the network adapter that is currently connected to the device that you are trying to configure. Usually, it will be the adapter with the word “Ethernet” in the name.

3. Select Properties
Select “Properties” from the drop-down menu.

4. Select Internet Protocol Version 4 (TCP/IPv4)
Double-click on “Internet Protocol Version 4 (TCP/IPv4)”.

5. Manually enter IP address and subnet mask
Select “Use the following IP Address” and then input the following information in the corresponding fields:
IP address: Check the device that you are connected to in order to locate the IP address. The first three sets of digits should match. For this tutorial, we will use IP address 192.168.10.10.
Subnet mask: The subnet mask between the device that you are trying to connect to needs to be the same as your PC. For this tutorial, we will use subnet mask 255.255.255.0

6. Save Settings
Click the OK button on “Internet Protocol Version 4 (TCP/IPv4) Properties” window, and also click the OK button on “Ethernet Properties” window.
Note: The OK buttons must be clicked in both instances or your settings will not be saved.
7. Revert Back to DHCP
To set your computer back to DHCP, repeat steps 1-4 again. When you get to the “Internet Protocol Version 4 (TCP/IPv4) Properties” window, click “Obtain an IP address automatically”. This will allow your PC to be assigned a random IP address on your network.

Operating System The operating system (often shortened to OS) is the software your computer or mobile device uses to perform basic functions. Microsoft Windows, Apple macOS, and Linux are the most popular operating systems for computers and laptops, with Android and iOS for mobile devices.
Browser A browser (short for web browser) is a software application that allows you to access the internet. Some of the most popular browsers are Chrome, Safari, Edge, Internet Explorer, and Firefox.
Network Adapter A network adapter allows a device to communicate and connect to a local area network (LAN), the internet, or other computers. Network adapters can be wired or wireless , and they can be visible or hidden from plain sight.
IP Address An IP address is a unique identifier for devices that access the internet or devices on a local area network. It uses a string of numbers and/or letters with periods or colons. To identify your IP address, type “what is my ip” into a search engine, like Google or Bing. You can also visit whatismyipaddress.com or whatismyip.com .
Dynamic IP address A dynamic IP address is an IP address that can change over time. Your IP address may change each time you connect. Most IP address assigned by your ISP will be dynamic IP addresses.
Static IP address A static IP address (also referred to as a manual IP address or static IP configuration) is an IP address that remains unchanged over time. Your IP address remains the same (or static) each time you connect (from the same location). Your IP address may change if you connect to a different network in a different location.
How to set static IP address on Windows 10
You can set a static IP address manually on Windows 10 in several ways, and in this guide, you'll learn using Command Prompt, PowerShell, Control Panel, and Settings.
- To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi .
- Then click the connection, click on “Edit,” select “Manual,” turn on “IPv4,” and set the static IP address.
- Alternatively, you can configure a static IP address from Command Prompt, PowerShell, and Control Panel.
On Windows 10, setting a static IP address to a computer is a configuration you may need to set up in many scenarios. For example, if you plan to share files , a printer on a local network , or configure port forwarding.
If you do not assign a static IP address, services or a port forwarding configuration may eventually stop working. The reason is that, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change anytime, as soon as you restart the machine, or after the dynamically assigned configuration lease expires.
In this guide , you will learn the steps to set a static IP (version 4) address to a Windows 10 device when providing a service on the network or simply configuring port forwarding to your device on the router.
Set static IP address on Windows 10
Set static ip address on windows 10 from control panel.
- Set static IP address on Windows 10 from Command Prompt
- Set static IP address on Windows 10 from PowerShell
To assign a static IP address on Windows 10, use these steps:
Open Settings on Windows 10.
Click on Network & Internet .
Click on “Wi-Fi” or “Ethernet.”
Click on the current network connection.

Under the “IP settings” section, click the Edit button.

Using the drop-down menu, select the Manual option.
Turn on the “IPv4” toggle switch.

Set a static IP address to use by the Windows 10 computer.
Specify a “Subnet prefix length” (subnet mask). If the subnet mask is 255.255.255.0 , then the subnet prefix length in bits is 24 .
Specify a “Default Gateway” address.
Specify a “Preferred DNS” address.
Specify an “Alternate DNS address” (if applicable).
Click the Save button.

After you complete the steps, you can test your settings using your web browser to open a website.
To assign a static IP from Control Panel on Windows 10, use these steps:
Open Control Panel .
Click on Network and Internet .
Click on Network and Sharing Center .
Click the Change adapter settings option on the left navigation pane.

Right-click the network adapter and select the Properties option.
Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
Click the Properties button.

Select the Use the following IP address option.
Assign the static IP address – for example, 10.1.2.220 .
Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .
Specify a Default gateway . (Usually, your router’s IP address. For example, 10.1.2.1 .)
Under the “Use the following DNS server addresses set Preferred DNS server” section, set the Preferred DNS server address , usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.2.1 ).
(Optional) Specify an Alternative DNS server , which the computer will use if it cannot reach the preferred DNS server.
Click the OK button.

Click the Close button again.
Once you complete the steps, you can open your web browser and load a website to see if the configuration works.
Set static IP address on Windows 10 from Command Prompt
To set a static IP address on Windows 10 from Command Prompt, use these steps:
Open Start on Windows 10.
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 :
Under the network adapter, note the name of the adapter as well as the following information in these fields:
- Subnet mask
- Default Gateway
- DNS Servers

Type the following command to assign a static IP address on Windows 10 and press Enter :
In the above command, replace Ethernet0 with the name of your network adapter. Change 10.1.4.220 255.255.255.0 10.1.4.1 with the device IP address, subnet mask, and default gateway address corresponding to your network configuration.
Type the following command to set a DNS server address and press Enter :
In the command, make sure to change Ethernet0 with your adapter’s name and 10.1.4.1 with the DNS server address of the network.
Type the following command to set an alternate DNS server address and press Enter :
In the command, replace Ethernet0 with your adapter’s name and 8.8.8.8 with an alternate DNS server address.

After you complete the steps, you can test the new configuration using the ping command (for example ping google.com ) to see if the internet is working. Alternatively, you can open a website to see if the configuration works.
Microsoft is in the process of retiring netsh from Windows 10. As a result, you should start using the “NetTCPIP” networking module available in PowerShell instead.
Set static IP address on Windows 10 from PowerShell
Windows 10 also includes the PowerShell command line platform that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change the IP address settings of your computer.
To set a static IP address with PowerShell, use these steps:
Open Start .
Search for PowerShell , right-click the result, and select the Run as administrator option.
Type the following command to view your current network configuration and press Enter :
After running the command, note the following information:
- InterfaceIndex
- IPv4Address
- IPv4DefaultGateway

Type the following command to set a static IP address and press Enter :

In the command, replace the InterfaceIndex number (5) with the corresponding number of your adapter. Change IPAddress with the static IP address you want to assign to your device. Change PrefixLength (subnet mask) with the correct bit number if necessary. Typically on a home network, the setting is 24 . Also, change the DefaultGateway option with the default gateway address of the network.
Type the following command to assign a DNS server address and press Enter :

If you need to set a secondary DNS server address, use a comma to use the same command with another address. For example:
In the command, replace the InterfaceIndex number (5) with your network adapter’s corresponding number. Also, change ServerAddresses with the DNS IP address.
After you complete the steps, you can test the new configuration by opening your web browser and navigating a website.
Whatever method you use, assigning an IP address within the network range and outside of the DHCP server scope is recommended to allow proper connectivity and avoid address conflicts. If multiple devices share the same address, this will cause a networking conflict, preventing connection to the internet.
- How to view all user accounts on Windows 11
- How to set up VPN server on Windows 10
We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .

IMAGES
VIDEO
COMMENTS
To enable DHCP or change other TCP/IP settings · Select Start, then type settings. Select Settings > Network & internet. · Do one of the following: · Next to IP
How to Change IP Address in Windows 10 via Settings · Open Settings · Click “Network & Internet” · Click “Wi-Fi” in the sidebar and select your Wi-
Key moments. View all · adapter options for our ethernet · adapter options for our ethernet · adapter options for our ethernet · open up the command
How do I change my IP address in Windows 10? · Left-click Internet Protocol Version (TCP/IPv4) and click Properties. · Select the Use the following IP address
Scroll down on your network connection details page until you find the section called IP settings. Then, click or tap on Edit, under IP
How to find and manually assign an IP address on Windows 10 · Step 1: Open the Control Panel · Step 2: Go to Network Connections · Step 3: Find the
Click Start > Settings > Network & Internet. Selecting Network & Internet from Windows Settings on Windows 10. Under your local area connection
Windows 10 · Right-click the Start menu and select Command Prompt (Admin). · Enter your admin username and password, if prompted. · A command
How to Set a Static IP Address · 1. Access the Control Panel · 2. Select the Network Adapter · 3. Select Properties · 4. Select Internet Protocol Version 4 (TCP/
To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi. · Then click the connection, click on “Edit,” select “