Arief Yudhawarman

Masih belajar buat blog

Archive for January 2010

Load Balancing Dual-WAN dengan DD-WRT

with 45 comments

Topologi (dengan ascii art 🙂 )

                                                                 ________
                                          +------------+        /
                                          |            |       |
                            +-------------+ Provider 1 +-------
        __                  |             |   (WAN 1)  |     /
    ___/  \_         +------+-------+     +------------+    |
  _/        \__      |     if1      |                      /
 /             \     |if0           |                      |
| Local network -----+    DD-WRT    |                      |     Internet
 \_           __/    |              |                      |
   \__     __/       |     if2      |                      \
      \___/          +------+-------+     +------------+    |
                            |             |            |     \
                            +-------------+ Provider 2 +-------
                                          |   (WAN 2)  |       |
                                          +------------+        \________

Source: http://lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS

Read the rest of this entry »

Advertisements

Written by awarmanf

January 6, 2010 at 3:59 pm

Load balancing 7 WAN dengan mikrotik RB493 + proxy external

with 43 comments

Mohon maaf sebelumnya routerboard yang benar RB493 salah tulis menjadi RB439. Judul penulis ganti menjadi Load balancing 7 WAN dengan mikrotik RB493 + proxy external, alamat link tetap agar pembaca baru tidak menemui kesulitan.

Manual produk RB493:

  1. Brochure
  2. Startup Guide

Proyek yang pernah penulis lakukan untuk load balancing di mikrotik router board RB493 dengan 7 WAN (speedy) ditambah satu linux untuk proxy server squid. Di sini dipakai dua metode load balancing:

  1. ECMP (Equal Cost Multi-Path) Routing untuk routing dari mikrotik sendiri.
  2. Policy Based Routing untuk routing dari client LAN dan proxy server.

Referensi:

  1. Routes, Equal Cost Multipath Routing, Policy Routing
  2. Mikrotik policy routing

Untuk deteksi koneksi internet yang putus di salah satu atau beberapa modem speedy digunakan teknik khusus yang saya beri nama dynamic routing and dead gateway detection yang source codenya bisa dilihat di gambar bawah.

Topologi

Topologi RB493 + 7 WAN + 1 Proxy
Read the rest of this entry »

Written by awarmanf

January 6, 2010 at 9:25 am

Posted in Mikrotik

Mikrotik policy routing implementation example

with 6 comments

Sumber: http://blog.butchevans.com/2008/09/mikrotik-policy-routing-implementation-example/

Mikrotik policy routing implementation example

In “normal” routing, you have a set of routes that tell the router about how to reach certain networks. Policy routing is a way to do the same thing, but have different “paths” or routes for various types of traffic. In this article, we will explore the requirements for setting up policy routing and explain some of the concepts involved.

Policy routing is implemented in 3 parts. The first part is to define the routes and which policies will use those routes. The second part is the routing rules, which will define how the policies apply to certain traffic. The third is to define the actual policies. We’ll look at each of these individually.

The network below is the one we will use for this example.
routing policy
Read the rest of this entry »

Written by awarmanf

January 6, 2010 at 7:51 am

Posted in Mikrotik