Hi all
i have load balancing/PCC with 2 adsl
but i noticed serveral times that the balance is not perfect 50/50 but 20/80, is normal?
It’s possibile specified in mikrotik limit rate for any connection?
Hi all
i have load balancing/PCC with 2 adsl
but i noticed serveral times that the balance is not perfect 50/50 but 20/80, is normal?
It’s possibile specified in mikrotik limit rate for any connection?
see counted packets in your PCC rules. if these numbers are almost equal - then either your users are not average %) or there’s something wrong with your config
this is configuration in mangle.
but balancing not perfectaly 50/50
ip firewall mangle print
0 chain=input action=mark-connection new-connection-mark=wlan3_conn
passthrough=yes in-interface=ether3
1 chain=input action=mark-connection new-connection-mark=wlan2_conn
passthrough=yes in-interface=ether2
2 chain=output action=mark-routing new-routing-mark=to_wlan2 passthrough=ye>
connection-mark=wlan2_conn
3 chain=output action=mark-routing new-routing-mark=to_wlan3 passthrough=ye>
connection-mark=wlan3_conn
4 chain=prerouting action=accept dst-address=192.168.1.0/24
in-interface=ether1
5 chain=prerouting action=accept dst-address=87...*/29
in-interface=ether1
6 chain=prerouting action=mark-connection new-connection-mark=wlan2_conn
passthrough=yes dst-address-type=!local in-interface=ether1
per-connection-classifier=both-addresses:2/0
7 chain=prerouting action=mark-connection new-connection-mark=wlan3_conn
passthrough=yes dst-address-type=!local in-interface=ether1
per-connection-classifier=both-addresses:2/1
8 chain=prerouting action=mark-routing new-routing-mark=to_wlan2
passthrough=yes in-interface=ether1 connection-mark=wlan2_conn
9 chain=prerouting action=mark-routing new-routing-mark=to_wlan3
passthrough=yes in-interface=ether1 connection-mark=wlan3_conn
i got something like yours .. and all traffic is going only by wan1 :S
[admin@MikroTik] > /ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-routing new-routing-mark=MSN passthrough=yes protocol=tcp src-address=192.168.1.0/24 dst-port=1863
1 ;;; FORA DO LOADBALANCED
chain=prerouting action=accept dst-address-list=loopback in-interface=ether1
2 chain=input action=mark-connection new-connection-mark=pppoe_out1 passthrough=yes connection-state=new in-interface=pppoe-out1
3 chain=input action=mark-connection new-connection-mark=pppoe_out2 passthrough=yes connection-state=new in-interface=pppoe-out2
4 chain=output action=mark-routing new-routing-mark=pppoe_out1 passthrough=no connection-state=new connection-mark=pppoe_out1
5 chain=output action=mark-routing new-routing-mark=pppoe_out2 passthrough=no connection-state=new connection-mark=pppoe_out2
6 X ;;; Assigning the propper routing-mark
chain=prerouting action=accept dst-address=192.168.1.0/24 in-interface=ether1
7 ;;; PCC Balance
chain=prerouting action=mark-connection new-connection-mark=pppoe_out1 passthrough=yes dst-address-type=!local in-interface=ether1
per-connection-classifier=both-addresses:2/0
8 chain=prerouting action=mark-connection new-connection-mark=pppoe_out2 passthrough=yes dst-address-type=!local in-interface=ether1
per-connection-classifier=both-addresses:2/1
9 ;;; Marking all the packets
chain=prerouting action=mark-routing new-routing-mark=pppoe_out1 passthrough=no in-interface=ether1 connection-mark=pppoe_out1
10 chain=prerouting action=mark-routing new-routing-mark=pppoe_out2 passthrough=no in-interface=ether1 connection-mark=pppoe_out2
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 A S 0.0.0.0/0 pppoe-out2 1
1 A S 0.0.0.0/0 pppoe-out1 1
2 A S 0.0.0.0/0 pppoe-out1 2
3 S 0.0.0.0/0 pppoe-out2 2
4 ADC 192.168.1.0/24 192.168.1.1 ether1 0
5 ADC 194.65.169.221/32 81.193.96.195 pppoe-out2 0
pppoe-out1
so .. what is wrong??? any hint???