What are Virtual Machines? Virtual Machines are used almost everywhere in the Tech world. But what are Virtual Machines? This guide will
There are many reasons you would maybe want to set a static IP address on your windows machine. But in some cases, you don’t want a static IP.
This guide will go into the pros and cons of setting a static IP address and show you how to do it.
For you to start setting a static IP address on your Windows machine, you’ll first need to know in what range you can claim an address.
We can find the current IP address by using the Command Prompt:
Once you press enter, an output like this should appear:
Your current IP address is shown as IPv4 Address. In my case, this is 192.168.2.202. We can also see that the Subnet Mask is 255.255.255.0. This subnet means that the only part of the address we can change is the last octet, 192.168.2.202.
Also, make a mental note of the Default Gateway Address. You’ll need it later. (In my case, 192.168.2.254)
Now to change your IP address, you’ll need to right-click your internet symbol and click “Open Network and Internet Settings,” as shown below:
Locate and click on the “Change Adapter Options” button:
You will be greeted with a list of adapters that you can change the properties of. Usually, there are 3, a Bluetooth adapter, Lan adapter, and a wifi adapter. However, we only want to change the properties of the adapter that we are currently using. In our case, it is the Wifi adapter that we want to change.
Right-click the adapter and select properties:
Now you will have access to the settings of the internet adapter. Find the “Internet Protocol Version 4” option and select properties:
Now you’ll be greeted with the option to fill in the following settings:
And then there are two other options we will currently leave on “Obtain DNS server address automatically,” we do not need to change that.
Click on OK and then Close, and you are done. Congratulations, you’ve just changed your IP address!
IP Addresses are how computers communicate with each other inside a network. A Static IP address is an address inside a specific network that does not change. Usually, you would only want to have static IP addresses when you want to host a server (for example, a Minecraft Server) or other essential services.
Having a static IP address ensures that your Computer or Server will always get the exact address so you can reach it without a hassle.
Especially for servers, this is a must as you do not want to have users that lose connection to your server because it changed address.
You’ll need to know the basics of networking to get the Static IP Addresses working. If not, you can accidentally assign the same IP address to 2 different computers and cause one of those computers to lose its connection.
It is almost always better for a regular user to have a dynamically assigned IP address, as this will prevent troubleshooting and other headaches.
You may also like:
What are Virtual Machines? Virtual Machines are used almost everywhere in the Tech world. But what are Virtual Machines? This guide will
Cookie | Duration | Description |
---|---|---|
__gads | The __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites. | |
_ga | The _ga cookie, installed by Google Analytics, calculates visitor, session, and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors. | |
_gid | Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously. | |
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
2 Comments on How to set a Static IP Address on Windows
I followed each and every step but then I lose internet when I set the IP address and gateway part. Also "Obtain DNS automatically" is greyed out for me
Hi Sunny! If the Obtain DNS automatically is greyed out after entering a static IP address, the best thing you can enter as DNS servers are the following:
Preffered DNS Server: 1.1.1.1
Alternate DNS Server: 8.8.8.8