Windows server 2008 Core – How to set static IP address via command line
Posted by Mark | Posted in Command line, Networking, Windows 2008 | Posted on 30-07-2009
0
This topic will show how to set static IP 192.168.0.10 with mask 255.255.255.0 to your Windows server 2008 Core interface named “Local Area Connection” .
Also we will set DNS server IP 192.168.0.11.
To set static IP address and mask type:
netsh interface ipv4 set address name=”Local Area Connection” source=static address=192.168.0.10 mask 255.255.255.0
To set DNS server IP type:
netsh interface ipv4 add dnsserver name=”Local Area Connection” address=192.168.0.11
