Windows: How to add static route

Generally, your computer will have a default gateway and all the packets are sent through default gateway when no other routes to the destination are known.

But did you know what each computer have a local routing tables which allow your to perform routing from the computer itself instead of doing routing at router. The routing table is used by TCP/IP to make decisions on whether to send the packet to a computer on the same segment, or to forward it to the default gateway.

To add a route we use the route ADD command to tell Windows which Network to add and then we enter the Subnet mask and Gateway.

For example, we’re on the 32.35.11.0 network and the default gateway is 32.25.11.254 and we want to add static route to our management server 10.10.8.28

Add route

Others Example

Delete route

Continue reading

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