LKBEN10905: Howto configure an ip address on a windows 2008 server core-installation


This article has not been checked!

LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False

Author: Wim Peeters - Keskon GmbH & Co. KG


Symptom

You have a windows server 2008 core server and need to give it an ipv4 address instead of dhcp

Cause

none

Solution

To change the ip address of a server core you use the netsh command. This command has lots of parameters and has an interactive shell.

netsh interface ipv4 set address name="LAN-1" source=static address=192.168.1.1 mask=255.255.255.0 gateway=192.168.1.250

Please note that this command is very powerfull, for more information use netsh /?.

About the Author

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!