I have been using fail-over and load balancing features in mikrotik. Recently I observed a problem in mikrotik. I have two bandwidths coming
from 2 ISP (ISP-a-1 Mbps + ISP-b-2 Mbps). Now the problem is that using load balancing features I'm using only 1 mbps from 2 mbps line (ISP-b). I checked my
usage with MRTG and it shows only 1 Mbps is being used out of 2 mbps link. How can I overcome this problem. I have been paying for 2 mbps and using only
1 mbps from ISP-b and 1 mbps from ISP-a. Load balancing is done by sending alternate packets to both the links. My one link is only 1 mbps and I think
that's the reason mikrotik is using only 1 mbps from another 2 mbps link.
Awaiting your reply.
Thanks & Regards,
/ ip firewall mangle add chain=prerouting in-interface=Local connection-state=new nth=2,1,0 \ action=mark-connection new-connection-mark=2M-1ST passthrough=yes comment="" \ disabled=no add chain=prerouting in-interface=Local connection-mark=odd action=mark-routing \ new-routing-mark=2M-1ST passthrough=no comment="" disabled=no add chain=prerouting in-interface=Local connection-state=new nth=2,1,1 \ action=mark-connection new-connection-mark=2M-2ND passthrough=yes comment="" \ disabled=no add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \ new-routing-mark=2M-2ND passthrough=no comment="" disabled=no add chain=prerouting in-interface=Local connection-state=new nth=2,1,2 \ action=mark-connection new-connection-mark=1M passthrough=yes comment="" \ disabled=no add chain=prerouting in-interface=Local connection-mark=even action=mark-routing \ new-routing-mark=1M passthrough=no comment="" disabled=no
/ ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 routing-mark=1M check-gateway=ping add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=2M-1ST check-gateway=ping add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 routing-mark=2M-2ND check-gateway=ping add dst-address=0.0.0.0/0 gateway=10.112.0.1 scope=255 target-scope=10 add dst-address=0.0.0.0/0 gateway=10.111.0.1 scope=255 target-scope=10 distance=2
Dear ashishHi all,
I have done configuration of load balancing with Failover.
Load Balancing is working Perfect but fail over is NOt working. The configuration is.
[admin@MikroTik] ip route> print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
0 ADC dst-address=10.10.1.0/30 pref-src=10.10.1.2 interface=ether1 scope=10
1 ADC dst-address=10.10.2.0/30 pref-src=10.10.2.2 interface=ether2 scope=10
2 ADC dst-address=192.168.1.0/30 pref-src=192.168.1.1 interface=ether3
3 A S dst-address=0.0.0.0/0 gateway=10.10.1.1 check-gateway=ping
interface=ether1 gateway-state=reachable scope=255 target-scope=10
4 A S dst-address=0.0.0.0/0 gateway=10.10.2.1 check-gateway=ping
interface=ether2 gateway-state=reachable scope=255 target-scope=10
5 A S dst-address=0.0.0.0/0 gateway=10.10.2.1 interface=ether2
gateway-state=reachable scope=255 target-scope=10
6 S dst-address=0.0.0.0/0 gateway=10.10.1.1 interface=ether1
gateway-state=reachable distance=2 scope=255 target-scope=10
[admin@MikroTik] ip route>
If i disconnect either line, it WONt work , What to do.