Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 1 of 1
  1. #1
    Status
    Offline
    ferdinan's Avatar
    Baru Gabung
    Join Date
    Aug 2008
    Posts
    3
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    bout Load Balancing

    Dear All,

    berikut konfigurasi Load balancing saya, yang saya comot dari wiki.mikrotik.com

    Code:
    add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local 
    
    add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=wlan2
    
    add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=wlan1
    
    add chain=prerouting src-address-list=odd in-interface=Local action=mark-connection new-connection-mark=odd passthrough=yes
     
    add chain=prerouting src-address-list=odd in-interface=Local action=mark-routing new-routing-mark=odd passthrough=no
    
    add chain=prerouting src-address-list=even in-interface=Local action=mark-connection new-connection-mark=even passthrough=yes
     
    add chain=prerouting src-address-list=even in-interface=Local action=mark-routing new-routing-mark=even passthrough=no
    
    add chain=prerouting in-interface=Local connection-state=new nth=1,1,0 action=mark-connection new-connection-mark=odd passthrough=yes
    
    add chain=prerouting in-interface=Local action=add-src-to-address-list address-list=odd address-list-timeout=1d connection-mark=odd passthrough=yes 
    
    add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing new-routing-mark=odd passthrough=no
    
    add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 action=mark-connection new-connection-mark=even passthrough=yes
    
    add chain=prerouting in-interface=Local action=add-src-to-address-list address-list=even address-list-timeout=1d connection-mark=even passthrough=yes 
    
    add chain=prerouting in-interface=Local connection-mark=even action=mark-routing new-routing-mark=even passthrough=no
    
    add chain=prerouting in-interface=Local connection-state=new nth=1,1,1 src-address-list=!odd action=mark-connection new-connection-mark=even passthrough=yes
    
    add chain=srcnat connection-mark=odd action=src-nat to-addresses=10.111.0.2 to-ports=0-65535 
    
    add chain=srcnat connection-mark=even action=src-nat to-addresses=10.112.0.2 to-ports=0-65535 
    
    
    add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=odd
    
    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=even 
    
    add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10
    Tapi pada konfigurasi diatas, diasumsikan kalau perbandingan bandiwdth ISP1 n ISP2 = 1:1. Kira-kira dimana y perlu dimodifikasi jika perbandingan bandwidth ISP1 : ISP 2 = 1 : 3.


    Terima kasih sebelumnya buat segala tanggapannya.

  2. The Following User Says Thank You to ferdinan For This Useful Post:


 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. <ASK> load balancing fail over
    By d3v4 in forum Scripting @ Mikrotik
    Replies: 27
    Last Post: 14-10-2012, 19:58
  2. load balancing yg memusingkan
    By 51ny0 in forum Scripting @ Mikrotik
    Replies: 9
    Last Post: 11-09-2012, 22:46
  3. (ask) Load Balancing + Squid
    By cyberolog in forum General Networking
    Replies: 3
    Last Post: 20-10-2009, 21:54
  4. (ask) tanya load balancing
    By adiel.nopria in forum General Networking
    Replies: 6
    Last Post: 05-01-2009, 17:35
  5. load balancing yg memusingkan
    By 51ny0 in forum General Networking
    Replies: 2
    Last Post: 27-07-2008, 01:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •