Steve here, I decided to setup a couple of servers here at Simplex World HQ with the new Microsoft Server 2012 OS. It comes available as both a Core Edition (no GUI) as well as the standard platform we’re used to, I setup both. A nice feature of 2012 is that you can use the Standard edition to easily remote manage other servers. You can do things like add/remove roles, join a domain, use in-depth management tools, and other misc. tasks. There are still things however that need to be done the old fashion way, such as setting a static IP.
The standard edition was somewhat familiar and simple enough to figure out:
While the core version is slightly less visually appealing and has less buttons to press -_-
Yes, that’s all there is. I needed to set a static IP address on my “core” edition and was used to doing so though the control panel…well there isn’t one. I did some research and found the commands I needed to do so through the command prompt:
#netsh interface ipv4 show interfaces
-Make note of the number shown in the Idx column of the output for your network adapter
For me, I wanted to configure my Intel card so I used Idx 17. From here we just needed to issue a few more commands and input the values I wanted:
-netsh interface ipv4 set address name=”<ID>” source=static address=<StaticIP> mask=<SubnetMask> gateway=<DefaultGateway>
If you need to specify static DNS servers, there is a command for that as well:
-netsh interface ipv4 add dnsserver name=”<ID>” address=<DNSIP>index=1
-ID is the number we used to identify our network card
-DNSIP is the IP address of the DNS server
-Index should be incremented each time if you have more than one DNS server you want to use and the order you want them in.
That’s it! The process is fairly simple if you know the right commands. I’ll continue to post things about Server 2012 as I run into issues.