Configure networking in Windows Server 2012

NetworkingAfter installing Windows Server 2012, you should do some basic configurations on the new Server, in order to be functional in network.

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.

GUI method:

  1. Click on Server Manager icon on left bottom of the screen. Server Manager window opens
  2. On top left, click on Local Server, in front of Ethernet, you see IPv4 address assigned by DHCP, IPv6 enabled. Click on it
  3. The Network Connections appear. Right click on Ethernet, then hit Properties
  4. Double click on Internet Protocol Version 4 (TCP/IPv4)
  5. Select Use the following IP address
  6. In front of IP address, type your preferred IP address (e.g. 10.10.10.1)
  7. In front of Subnet mask, type your subnet mask (mine is classful 255.0.0.0)
  8. Set your Default gateway (in this example is 10.10.10.254)
  9. My Preferred DNS server is 10.10.10.2, and no Alternate DNS server.
  10. Click on OK two times, and close the Network Connections window

PowerShell method:

  1. Open PowerShell window near Server Manager icon
  2. 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

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: