When setting up a static route, we are usually allowed to choose the type of routing that will be used on the static route. This routing type parameter is a routing parameter that can be used for network security needs. Let’s look at the function of the MikroTik Routing Type.
MikroTik routing type
As we know earlier, Routing Type is a routing feature that can be used for network security needs. We can set it to the parameter Type. Static routes have 4 types of routing type, namely:
- Black hole
Unicast is the default Yype MikroTik route, which is usually used when setting up static routes or you could say the default routing type.
2. black hole
Blackhole is a type of routing that is usually used to do blocking, this type of routing can do blocking in secret.
Prohibition is also included in the Routing Type, which can be used to perform Blocking. When you block using the Forbidden Routing Type, it will send an “Administratively Forbidden Communication” error message.
Inaccessible is also included in the Routing Type that works for Blocking, when Blocking using Inaccessible Routing Type will send an “Inaccessible Host” error message.
You can see in the topology image above, MikroTik Router1 has an IP of 18.104.22.168/24 and Router2 has an IP of 22.214.171.124/24, then the two routers perform a static routing process using the 126.96.36.199/24 network. If you don’t know how to set up static routing on MikroTik, don’t worry, you can read the previous article on How to configure static routing for 2 MikroTik routers.
After performing the static routing process on the MikroTik router. Here we will try to create a filter using Routing Type to block one of the IP client PCs from MikroTik Router2.
[[email protected]] > ip route add dst-address=192.168.2.3/24 type=blackhole
[[email protected]] > Ip route add dst-address=192.168.2.3/24 type=prohibit
[[email protected]] > Ip route add dst-address=192.168.2.3/24 type=unreachable
So many articles Know the MikroTik routing feature. Looking forward to more interesting articles and don’t forget to share this article with your friends. Thanks…
Hi, I am Azara! At Azara Tech we are passionate about tech and love sharing our knowledge and research with you.
At Azara Tech, we strive to be the ultimate resource for learning everything about technology!