In this article, I will show you how to set the static IP address to Virtual Windows server and we will be using windows server 2012 as an example. It is very important to setup static IP for your DNS, AD and other servers.
If you are using your Windows server within an internal LAN then you should have your own numbers created as IP address for it would be IPV version 4 or IPV version 6.
We will be using LAN in this article although Wi-Fi can also be used for the same purpose. Let’s begin with the procedure, first of all log into your Windows server and look for network and sharing center in the search bar.
Network and sharing center window will open up click on Ethernet.
Go to the properties, click on IPV version 4 as we are discussing IPV4 here and select properties. It will bring up with the following image.
We will select use the following IP address to make it as a static IP address. Open up the command prompt in windows server and write IP CONFIG it will bring almost all of the information which we would be needing. Enter the IP address, subnet mask, and default gateway in the required area.
Default gateway should be IP address of your local machine in which your windows server 2012 is installed. In preferred DNS server use the IP address of your windows server 2012.
Till now we have an active internet connection as shown in a below-mentioned image.
By changing the DNS server which has not be set up yet internet connection will be disconnected from windows server by pressing Ok and by closing the windows of Ethernet.
Internet connection will be back within a minute or you can disconnect your local machine from the Internet and then connect it back.
After connecting back to the internet open your windows server and you will have internet access with the static IP.