Changing IP address using the command line

There is no doubt that all of you, my readers, can set a static IP address on any Windows machine. It’s so easy task. However, I’ve got a trick question – can you quickly change the IP address? What’s more, can you perform this operation on multiple computers in a short time?

Yes, you can do that manually. However, doing this manually we can make a mistake. You can become bored or simply type a wrong number. Great way to make a havoc.

Continue reading

Dude, what happening to my Windows server?

The successful administration of every server for the great part depends on your capability to have an insight into the server’s daily operations. We may have a general picture about the status of a particular service, like an e-mail or database, and still be missing crucial signs of the improper operations on a daily level.

The simplest way to monitor any server, including Windows servers, is the SNMP monitoring of the essential parameters – CPU load, RAM usage or free disk space. Mikrotik Dude can assist us in this task.

Continue reading

Connecting three sites using IPSec tunnels

So far, we have discussed how to connect the two sites through an IPSec tunnel. Most readers will be satisfied with that, as these scenarios cover most real-life situations. However, we may have a need to interconnect three or more sites using the IPSec tunnels,

Although rare, these scenarios are possible. However, we need to plan everything carefully, as we will need more IPSec policies between routers. Therefore, I will describe here how to connect the “road warrior” users with distant site.

Continue reading

NETLOGON event 5807

Recently, I found a lot of NETLOGON warnings in the system log. As I know my network is very clean, I was very curious about this. Every anomaly in my network requires careful examination.

After analysis of the log file, I found the root cause of this warning. Over time, we added some servers in the test network and at the same time added them to the AD domain. However, I omitted to define this subnet range in the AD site structure.

 

Continue reading

Custom chains in the Mikrotik Firewall

Every network packet that firewall handles can be input, output or forwarded. In relation to this, we have the three predefined chains that handle the entire network traffic. We make a list of rules that allow or block specific traffic.

Over time, our list can grow. At one point, we may have a list with several hundred rules. Mikrotik routers can have a long list, still to operate without problems. However, each netwrok packet must be respectively compared with each rule in the list until it finds appropriate.

Continue reading

Enabling Windows features from the command line

Windows Server has available only the basic services after installation. We can enable additional features on request. We may later enable other features, like SNMP service. In addition, sometime we have to do that from a script or command line.

We have a powerful command for such task – DISM. This command can be used with both online Windows folders and offline installation disks.

Continue reading

Mikrotik device as a L2TP/IPSec client

In the previous post we have shown a Mikrotik router as a L2TP/IPSec server. In this scenario, we are using either Windows clients or mobile devices based on Android or Apple iOS operating systems. Here is a new scenario – we may have a need to use another Mikrotik device as the VPN client.

The most common scenario is that you want to connect a remote network with a main network. Using the L2TP/IPSec VPN connection, you will have in the same time the routable tunnel and the full power of IPSec encryption.

Continue reading