Hello forum,
I have two internet connection in my office.
I would like that the 70% the traffic from my office goes through one internet connection and the other 30% use the other internet connection.
Any suggestion?
Thanks
Hello forum,
I have two internet connection in my office.
I would like that the 70% the traffic from my office goes through one internet connection and the other 30% use the other internet connection.
Any suggestion?
Thanks
Here is an example:
http://wiki.mikrotik.com/wiki/Load_Balancing_Persistent
You can set nth parameters to match 1/3 of traffic and route it to one router, mark the rest and route it to another router
i had a similar issue:
http://forum.mikrotik.com/t/load-balancing-not-balanced/17704/1
i never ended up getting it to load balance evenly…
a question, i have two adsl modems how can i do load balance with fail over if it asign ip trough
dhcp, dinamyc?
an example please
All these above solutions abased on the nth parameter are not effective they will give an negative effect in when it comes to delay and throughput.I can help you in having a nice effective load balancing setup if you can give me some statistics of your clients bandwith utilization according to applications and or even websites
lets say
80 percent http
20 percent p2P
30 msn inclu video;voice
etc ..
or you can divide the connection to your clients lets say we give 50 ip address on gateway the other 50 ip address another gateway
so it depends on your needs tell me ur preffered scenario to help you
Regards,
I would like to see your implementation of “50 users on one gateway, and 50 users on another gateway.”
I setup a load balancing scheme with this. First I used nth to balance and assign users to 3 different src IP lists. After that I used mangle rules with src IP lists to load balance between 3 different gateways. The nth worked great, and all 3 lists were usually balanced. However, it looked like the mangle rules were missing a lot of traffic.
So I would be interested to see how you load balanced, and how it is better than the wikis.
-Matt
Hi Matt,
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,