Is there any manual or tutorial for MikroTik V3 LoadBalancing
thanks for the info!!!
yup.. i have the same questions with ashish.But which is the best method of loadbalancing from the example of wiki.
Now i dont want round robin, I want to Balance 1:2
Well, thank you very much for the config but that's not what i needed, i want the configuration like the one from wiki. mikrotik because i ussually doin some large download, the bandwidth become one while the download process like the wiki state.You can try what I am working on right now.
network 214.0.0.0/24 I split in 2 LAN1 214.0.0.0-127 and LAN2 214.0.0.255 config is as follows:
/ip firewall mangle
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=0.0.0.0/0 new-routing-mark=LAN1 \
passthrough=yes src-address=214.0.0.0/25
add action=mark-routing chain=prerouting comment="" disabled=no dst-address=0.0.0.0/0 new-routing-mark=LAN2 \
passthrough=yes src-address=214.0.0.128/25
/ip route
add comment="Clearwire" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=88.147.15.2 routing-mark=LAN2 scope=30 target-scope=10
add comment="Telenet" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=213.0.0.1 routing-mark=LAN1 scope=30 target-scope=10
if you want to see the differnece between the nth parameter try a voice or video conversation u'll find it there espcially at peak time
Regards,
Yup!!! Is there anyone can help me, the refer or something else???its meant for ppl who want to split bandwidth not combine like your case
instead ofYeah.. it's true what you say!! But for some reason I don't like policy based routing, when one of the connection is down we should manually change it or maybe you put another script to make it run automatic.
Different with full bandwidth, when one connection is down, the another one will backup the connection till the the one has been Up. off course that each configuration has weaknesses.
use something likeadd dst-address=0.0.0.0/0 gateway=10.0.1.1 scope=255 target-scope=10 routing-mark="WAN - 01" comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.2.1 scope=255 target-scope=10 routing-mark="WAN - 02" comment="" disabled=no
and you may use 'check-gateway' optionadd dst-address=0.0.0.0/0 gateway=10.0.1.1 scope=255 target-scope=10 routing-mark="WAN - 01" comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.2.1 scope=255 target-scope=10 routing-mark="WAN - 01" comment="" disabled=no distance=100
add dst-address=0.0.0.0/0 gateway=10.0.2.1 scope=255 target-scope=10 routing-mark="WAN - 02" comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.1.1 scope=255 target-scope=10 routing-mark="WAN - 02" comment="" disabled=no distance=100
What's the effect for the network?use something likeadd dst-address=0.0.0.0/0 gateway=10.0.1.1 scope=255 target-scope=10 routing-mark="WAN - 01" comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.2.1 scope=255 target-scope=10 routing-mark="WAN - 01" comment="" disabled=no distance=100
add dst-address=0.0.0.0/0 gateway=10.0.2.1 scope=255 target-scope=10 routing-mark="WAN - 02" comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=10.0.1.1 scope=255 target-scope=10 routing-mark="WAN - 02" comment="" disabled=no distance=100
well, netwatch will helpWell, depends on your mangle rules.
And it only works if your gateways are the ADSL modems. (If not, you have a backhaul in between, and the backhaul is up but the modem or WAN is down? Then the gateway stays in force but it is a dead end gateway.)
rudy
BUT there's no imformation about loadbalancing using "Random" ,would you tell me the detail. I ilhave tried it so long.but itWell, instead of using 'Nth', I prefer using 'Random': at first, there's no difference if you have a lot of users (if you have a little - just forget about load balancing =) ), and second - you may smoothly change bandwidth ratio over each connection
thank you for your help, Now I know how to make the "random" values . but i'm a rookie in MT. would you mind show me the all the rules or correct my rules above in (/ip firewall mangle) using random to loadbalancing 5 ADSL ?I still don't know which rule should have passthrough=no or add connecton= new also I want to know what rules should be add. I tried for many times but it still not to work. i also want to know is it necessary to mark "dst-port 443" in order to login in Network Bank.for 5 lines, 'random=' values (to spread all equally) should be: 20, 25, 33, 50, and in the last rule there should not be 'random' - it will match all residual packets. also all rules, that distribute your packets via uplink lines, should have passthrough=no, and connection-type=new, and above you should add rules, that will forward already marked connections to corresponding lines