Sometimes you don’t have a nice Windows Explorer GUI at your service, for example when configuring Windows Server 2008 R2 Core Edition. On any Core Edition of Windows Server 2008 you’ll have to use netsh on the command-line to configure network settings. For example, to configure your DNS servers use the following command:
netsh interface set dns "Local Area Connection" static 10.0.0.3 netsh interface add dns "Local Area Connection" 10.0.0.5 index=2
While we’re at it, why not configure the IP address? Enter netsh interface ip and use the following command:
set address "Local Area Connection" static 10.0.0.8 255.0.0.0 10.0.0.1 1
That’s it!