good day
as i test our load balance today, there is a problem that it doesn't divide the load equally between the connections as in the image below:
the firewall mangles
Code: Select all
0 D chain=forward action=change-mss new-mss=1440 passthrough=yes tcp-flags=syn
protocol=tcp out-interface=all-ppp tcp-mss=1441-65535 log=no
log-prefix=""
1 D chain=forward action=change-mss new-mss=1420 passthrough=yes tcp-flags=syn
protocol=tcp in-interface=all-ppp tcp-mss=1421-65535 log=no log-prefix=""
2 chain=prerouting action=accept src-address-list=LAN dst-address-list=LAN
log=no log-prefix=""
3 chain=forward action=mark-connection new-connection-mark=ISP1_conn
passthrough=no in-interface=pppoe-out1 EL connection-mark=no-mark log=no
log-prefix=""
4 chain=forward action=mark-connection new-connection-mark=ISP2_conn
passthrough=no in-interface=pppoe-out2 EL connection-mark=no-mark log=no
log-prefix=""
5 chain=forward action=mark-connection new-connection-mark=ISP3_conn
passthrough=no in-interface=pppoe-out3 Or connection-mark=no-mark log=no
log-prefix=""
6 chain=forward action=mark-connection new-connection-mark=ISP4_conn
passthrough=no in-interface=pppoe-out4 Or connection-mark=no-mark log=no
log-prefix=""
7 chain=prerouting action=mark-connection new-connection-mark=ISP1_conn
passthrough=yes in-interface=pppoe-out1 EL connection-mark=no-mark log=no
log-prefix=""
8 chain=prerouting action=mark-connection new-connection-mark=ISP2_conn
passthrough=yes in-interface=pppoe-out2 EL connection-mark=no-mark log=no
log-prefix=""
9 chain=prerouting action=mark-connection new-connection-mark=ISP3_conn
passthrough=yes in-interface=pppoe-out3 Or connection-mark=no-mark log=no
log-prefix=""
10 chain=prerouting action=mark-connection new-connection-mark=ISP4_conn
passthrough=yes in-interface=pppoe-out4 Or connection-mark=no-mark log=no
log-prefix=""
11 chain=prerouting action=jump jump-target=policy_routing
in-interface=LAN ether10 connection-mark=no-mark log=no log-prefix=""
12 chain=prerouting action=mark-routing new-routing-mark=ISP1_traffic
passthrough=yes src-address-list=LAN connection-mark=ISP1_conn log=no
log-prefix=""
13 chain=prerouting action=mark-routing new-routing-mark=ISP2_traffic
passthrough=yes src-address-list=LAN connection-mark=ISP2_conn log=no
log-prefix=""
14 chain=prerouting action=mark-routing new-routing-mark=ISP3_traffic
passthrough=yes src-address-list=LAN connection-mark=ISP3_conn log=no
log-prefix=""
15 chain=prerouting action=mark-routing new-routing-mark=ISP4_traffic
passthrough=yes src-address-list=LAN connection-mark=ISP4_conn log=no
log-prefix=""
16 chain=output action=mark-routing new-routing-mark=ISP1_traffic
passthrough=yes connection-mark=ISP1_conn log=no log-prefix=""
17 chain=output action=mark-routing new-routing-mark=ISP2_traffic
passthrough=yes connection-mark=ISP2_conn log=no log-prefix=""
18 chain=output action=mark-routing new-routing-mark=ISP3_traffic
passthrough=yes connection-mark=ISP3_conn log=no log-prefix=""
19 chain=output action=mark-routing new-routing-mark=ISP4_traffic
passthrough=yes connection-mark=ISP4_conn log=no log-prefix=""
20 chain=policy_routing action=mark-connection new-connection-mark=ISP1_conn
passthrough=yes dst-address-type=!local
per-connection-classifier=both-addresses:4/0 log=no log-prefix=""
21 chain=policy_routing action=mark-connection new-connection-mark=ISP2_conn
passthrough=yes dst-address-type=!local
per-connection-classifier=both-addresses:4/1 log=no log-prefix=""
22 chain=policy_routing action=mark-connection new-connection-mark=ISP3_conn
passthrough=yes dst-address-type=!local
per-connection-classifier=both-addresses:4/2 log=no log-prefix=""
23 chain=policy_routing action=mark-connection new-connection-mark=ISP4_conn
passthrough=yes dst-address-type=!local
per-connection-classifier=both-addresses:4/3 log=no log-prefix=""
Code: Select all
0 chain=srcnat action=masquerade out-interface=pppoe-out1 EL log=no
log-prefix=""
1 chain=srcnat action=masquerade out-interface=pppoe-out2 EL log=no
log-prefix=""
2 chain=srcnat action=masquerade out-interface=pppoe-out3 Or log=no
log-prefix=""
3 chain=srcnat action=masquerade out-interface=pppoe-out4 Or log=no
log-prefix=""
ip route
Code: Select all
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 pppoe-out1 EL 1
1 A S 0.0.0.0/0 pppoe-out2 EL 1
2 A S 0.0.0.0/0 pppoe-out3 Or 1
3 A S 0.0.0.0/0 pppoe-out4 Or 1
4 A S 0.0.0.0/0 pppoe-out1 EL 7
5 S 0.0.0.0/0 pppoe-out2 EL 8
6 S 0.0.0.0/0 pppoe-out3 Or 9
7 S 0.0.0.0/0 pppoe-out4 Or 10
8 ADS 0.0.0.0/0 10.10.10.1 0
9 DS 0.0.0.0/0 10.10.10.1 0
10 DS 0.0.0.0/0 10.10.10.1 0
11 DS 0.0.0.0/0 10.10.10.1 0
12 S 0.0.0.0/0 pppoe-out1 EL 2
13 S 0.0.0.0/0 pppoe-out2 EL 3
14 S 0.0.0.0/0 pppoe-out3 Or 4
15 S 0.0.0.0/0 pppoe-out4 Or 5
16 ADC 10.10.10.1/32 10.204.19.243 pppoe-out3 Or 0
pppoe-out2 EL
pppoe-out4 Or
any help please??