RSS
Tampilkan postingan dengan label mikrotik. Tampilkan semua postingan
Tampilkan postingan dengan label mikrotik. Tampilkan semua postingan

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

Limit Upload & Download with Queue Tree

Buat catatan aja kalo lupa, limitan bandwith upload dan download dengan queue tree.

1. Buat mangle upload

/ip firewall mangle add action=mark-connection chain=prerouting comment=”Marking UPLOAD” disabled=no in-interface=ether2 new-connection-mark=con-UPLOAD passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting comment="" connection-mark=con-UPLOAD disabled=no new-packet-mark=pac-UPLOAD passthrough=yes

2. Buat mangle download
/ip firewall mangle add action=mark-connection chain=prerouting comment=”Marking DOWNLOAD” disabled=no in-interface=ether1 new-connection-mark=con-DOWNLOAD passthrough=yes
/ip firewall mangle add add action=mark-packet chain=prerouting comment="" connection-mark=con-DOWNLOAD disabled=no new-packet-mark=pac-DOWNLOAD passthrough=yes

3. Queue Tree untuk upload
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M max-limit=2M name=”User UPLOAD” packet-mark=pac-UPLOAD parent=global-out priority=8 queue=default

4. Queue Tree untuk download
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=2M max-limit=2M name=”User DOWNLOAD” packet-mark=pac-DOWNLOAD parent=global-in priority=8 queue=default

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

Memisahkan Koneksi INT dan IIX

1. Setting mikrotik menjadi router
2. Download nice.rsc dari Mikrotik atau langsung dari router

/tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc;

3. Import file
[admin@MikroTik] > import nice.rsc

Opening script file nice.rsc
Script file loaded and executed successfully

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

Setting PPTP Server @ Mikrotik

Untuk setting PPTP Server di Mikrotik sebenarnya ada 3 poin utama,
1. Setting mikrotik menjadi router
2. Setting pptp server di mikrotik
3. Setting pptp client di windows xp

Langsung aja dimulai,

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