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


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 /?.

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!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

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. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.