Configure networking in Windows Server 2012
January 11, 2013 Leave a comment
These basic configurations are:
- Configure networking
- Configure naming and joining to a domain
- Set Windows automatic update
- Add features and roles
I’ll explain them in 4 posts according to the headings. First, configure networking.
To do networking settings, I express 2 ways; first is the common way, I name it GUI, and the second is PowerShell.
- Click on Server Manager icon on left bottom of the screen. Server Manager window opens
- On top left, click on Local Server, in front of Ethernet, you see IPv4 address assigned by DHCP, IPv6 enabled. Click on it
- The Network Connections appear. Right click on Ethernet, then hit Properties
- Double click on Internet Protocol Version 4 (TCP/IPv4)
- Select Use the following IP address
- In front of IP address, type your preferred IP address (e.g. 10.10.10.1)
- In front of Subnet mask, type your subnet mask (mine is classful 255.0.0.0)
- Set your Default gateway (in this example is 10.10.10.254)
- My Preferred DNS server is 10.10.10.2, and no Alternate DNS server.
- Click on OK two times, and close the Network Connections window
- Open PowerShell window near Server Manager icon
- Type this command:
New-NetIPAddress 10.10.10.1 -InterfaceAlias "Ethernet" -PrefixLength 8 -DefaultGateway 10.10.10.254
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 10.10.10.2