Thank you feklar and rini.
I made my best to understand PCC. After a lot of work my router is almost working.
I say almost because the fail over mode is working, but NOT load balancing.
The route for ether2 is unreachable in load balancing mode. I think both of WANS must be reachable.
Following my rules:
[admin@RB450G] > 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
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 pppoe-out1 1
1 S 0.0.0.0/0 89.38.241.65 1
2 A S 0.0.0.0/0 pppoe-out1 1
3 S 0.0.0.0/0 89.38.241.65 5
4 ADC 10.0.0.1/32 188.26.140.48 pppoe-out1 0
5 ADC 89.38.241.64/26 89.38.241.108 ether2 0
6 ADC 192.168.1.0/24 192.168.1.1 LAN 0
[admin@RB450G] >
[admin@RB450G] > ip route print detail
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 dst-address=0.0.0.0/0 gateway=pppoe-out1
gateway-status=pppoe-out1 reachable check-gateway=ping distance=1
scope=30 target-scope=10 routing-mark=to_pppoe-out1
1 S dst-address=0.0.0.0/0 gateway=89.38.241.65
gateway-status=89.38.241.65 unreachable check-gateway=ping distance=1
scope=30 target-scope=10 routing-mark=to_ether2
2 A S dst-address=0.0.0.0/0 gateway=pppoe-out1
gateway-status=pppoe-out1 reachable check-gateway=ping distance=1
scope=30 target-scope=10
3 S dst-address=0.0.0.0/0 gateway=89.38.241.65
gateway-status=89.38.241.65 unreachable check-gateway=ping distance=5
scope=30 target-scope=10
4 ADC dst-address=10.0.0.1/32 pref-src=188.26.140.48 gateway=pppoe-out1
gateway-status=pppoe-out1 reachable distance=0 scope=10
5 ADC dst-address=89.38.241.64/26 pref-src=89.38.241.108 gateway=ether2
gateway-status=ether2 unreachable distance=0 scope=200
[admin@RB450G] > ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=input action=mark-connection new-connection-mark=pppoe-out1_conn
passthrough=yes in-interface=pppoe-out1
1 chain=input action=mark-connection new-connection-mark=ether2_conn
passthrough=yes in-interface=ether2
2 chain=output action=mark-routing new-routing-mark=to_pppoe-out1
passthrough=yes connection-mark=pppoe-out1_conn
3 chain=output action=mark-routing new-routing-mark=to_ether2
passthrough=yes connection-mark=ether2_conn
4 chain=prerouting action=mark-routing new-routing-mark=TEST passthrough=no
protocol=tcp dst-port=1863
5 chain=prerouting action=accept dst-address=10.0.0.1 in-interface=LAN
6 chain=prerouting action=accept dst-address=89.38.241.108 in-interface=LAN
7 chain=prerouting action=mark-connection
new-connection-mark=pppoe-out1_conn passthrough=yes
dst-address-type=!local in-interface=LAN
per-connection-classifier=both-addresses:2/0
8 chain=prerouting action=mark-connection new-connection-mark=ether2_conn
passthrough=yes dst-address-type=!local in-interface=LAN
per-connection-classifier=both-addresses:2/1
9 chain=prerouting action=mark-routing new-routing-mark=to_pppoe-out1
passthrough=yes in-interface=LAN connection-mark=pppoe-out1_conn
10 chain=prerouting action=mark-routing new-routing-mark=to_ether2
passthrough=yes in-interface=LAN connection-mark=ether2_conn
[admin@RB450G] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade protocol=0 src-address=192.168.1.0/24
1 chain=srcnat action=masquerade out-interface=pppoe-out1
2 chain=srcnat action=masquerade out-interface=ether2
[admin@RB450G] >
Any help is welcome.
Thank you