How to add, remove and display Static Route on Windows 2008/2012?

By referring to wikipedia, Static routing is a form of routing that occurs when a router uses a manually-configured routing entry, rather than information from a dynamic routing traffic.

Static routes are usually configured at the router level but you can also configure them from you locally (Windows OS) via command line.

Below are the few useful command line to work with static route in Windows.

A) To show the routing table, there are two command available

  • route print
  • netstat -rn

Continue reading

How to install and configure SNMP on Windows Server 2012

Simple Network Management Protocol (SNMP) is a popular protocol for network management. It is used for collecting information from network devices, such as servers, printers, hubs, switches, and routers on an Internet Protocol (IP) network. SNMP protocol is the most common protocol used in monitoring system.

In this tutorial, i’m going to demo how to install and configure SNMP services on Windows Server 2012.

To install SNMP on a Windows 2012 Server:

  • Open Server Manager and then click Add Roles and Features.
  • In Select Features, check the box next to SNMP Service.

Continue reading

Windows Server 2012: Changing Network Profile

In Windows Server 2012 environment, Windows will auto detect and assign network profile to the particular network adapter.

Below are the brief description for each network profile:-

  • Private: Used for computers on a private or home network. This allows you to see computers and devices, while making your computer discoverable.
  • Public: Used for computers on a pubic network such as a coffee shop or internet café. Designed to keep your computer from being visible to other computers around you and to help protect your computer from any malicious software from the Internet.
  • Domain: Used for computers that belong to enterprise network.

Some of the System Admin might not border on the profile assignment as long as no issue on the network connectivity. But they might facing issue when they want to implement Windows Firewall as Windows Firewall will protect network according to network profile. On that kind of situation, you have to manually change the network location configuration of a Windows 2012 R2 Servers network connection.

There are two common approaches to this, either by Local Group Policy or PowerShell. In this post I will be stepping through how to implement it using PowerShell command. Continue reading