user-avatar
Today is Friday
February 10, 2012

April 9, 2010

Coping Tips Slow Browsing LoadBalancing

by tambang — Categories: Mikrotik, Tutorial — Tags: , , , , , , , , Leave a comment

applied to 2 different ISPs and Bandwidth Provider
VS 1024 Speedy ISP X 256kbps 1:8

here we outsmart just add a fake one ISP to equalize access

practices directly ja .. Let ga confused :hehehe:

1. Pake Winbox go to -> IP -> Address
-> Click [+] -> Fill Address: 192.168.1.1/24
Network: 192.168.1.0
Broadcast: 192.168.1.255 -> Configure a LAN (Local)
Interface: Ether1
-> Click [+] -> Fill Address: 192.168.2.2/24
Network: 192.168.2.0
Broadcast: 192.168.2.255 -> Configure WAN 1 (Speedy)
Interface: Ether2
-> Click [+] -> Fill Address: 192.168.3.2/24
Network: 192.168.3.0
Broadcast: 192.168.3.255 -> Configure WAN 2 (ISP)
Interface: Ether3

2. Create Mangle. Pake Winbox select -> New Terminal
Paste the following code right
/ Ip firewall mangle [then hit enter]
add chain = prerouting in-interface = “ether1″ connection-state = new nth = 2,2,0 action = mark-connection new-connection-mark = lb_1 passthrough = yes comment = “LB Client” disabled = no
add chain = prerouting in-interface = “ether1″ connection-mark = lb_1 action = mark-routing new-routing-mark = route_lb_1 passthrough = no comment = “” disabled = no
add chain = prerouting in-interface = “ether1″ connection-state = new nth = 2,2,1 action = mark-connection new-connection-mark = lb_2 passthrough = yes comment = “” disabled = no
add chain = prerouting in-interface = “ether1 ‘connection-mark = lb_2 action = mark-routing new-routing-mark = route_lb_2 passthrough = no comment =” “disabled = no
add chain = prerouting in-interface = “ether1″ connection-state = new nth = 2,2,2 action = mark-connection new-connection-mark = lb_3 passthrough = yes comment = “” disabled = no
add chain = prerouting in-interface = “ether1″ connection-mark = lb_3 action = mark-routing new-routing-mark = route_lb_3 passthrough = no comment = “” disabled = no

3. Create Nat. Pake Winbox select -> New Terminal
Paste it again Again [lazy to understand as a newbie author]
/ Ip firewall nat
add chain = srcnat out-interface = “ether3″ action = masquerade comment = “” disabled = no
add chain = srcnat out-interface = “ether2″ action = masquerade comment = “” disabled = no

4. Create Route. Pake Winbox select -> New Terminal
Copy Paste Again Bosssss
/ Ip route
add dst-address = 0.0.0.0 / 0 gateway = 192.168.2.1 scope = 255 target-scope = 10 routing-mark = route_lb_1 comment = “” disabled = no
add dst-address = 0.0.0.0 / 0 gateway = 192.168.3.1 scope = 255 target-scope = 10 routing-mark = route_lb_2 comment = “” disabled = no
add dst-address = 0.0.0.0 / 0 gateway = 192.168.2.1 scope = 255 target-scope = 10 routing-mark = route_lb_3 comment = “” disabled = no
add dst-address = 0.0.0.0 / 0 gateway = 192.168.2.1 scope = 255 target-scope = 10 comment = “default routing connections” disabled = no

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree

© 2012 SIEJELEX All rights reserved - Wallow theme v0.46.4 by ([][]) TwoBeers - Powered by WordPress - Have fun!