RSS

Simple FailOver Mikrotik 2 Gateway

This example explains how to use multiple gateways with one taking over when first fails. It begins with adding the gateways. Set bigger distance value for the secondary one, and check-gateway for the first one:

/ip route add gateway=[ip-gateway-utama] check-gateway=ping
/ip route add gateway=[ip-gateway-backup] distance=2

That's all, there are no more steps!

The first gateway will begin as it's distance is smaller (default 0); the check-gateway will make sure it's up; when the ping will fail, it will disable the first gateway and the second will take over; when first one comes up, it will return to it's function.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Drop Traceroute di Mikrotik

Mau ngebatasin user kita dari "sok pingin tau" nya via traceroute? Bisa kok

/ip firewall filter add action=drop chain=forward comment=”Drop Traceroute” disabled=no icmp-options=11:0 protocol=icmp
/ip firewall filter add action=drop chain=forward comment=”Drop Traceroute” disabled=no icmp-options=3:0 protocol=icmp

Note :
icmp-options : referensi dari wiki mikrotik
0:0 echo reply
3:0 net unreachable
3:1 host unreachable
11:0 allow time exceed

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS