can anyone confirm if PCC (Dual WAN) has problems on hAP-AC2?
I have tried ROS6.42.9 and latest currunt 6.43.4.
Then I used the same Mangle Rules on Hap-Lite and it worked. Using ROS6.44beta28..
WAN1: DHCP-Client no default route (Cable with static IP assigned)
WAN2: DHCP-Client no default route (Fiber with static IP assigned)
Created an interface-list=PCC-LIST
later there will be multiple VLANs.. But for now only bridge (ether2,ether3 and wlan3) is in PCC.
I can see packets being marked (to_ISP1 and to_ISP2) but I cannot ping the WAN2 IP (route distance 2)
As soon as I disable (or unplug) WAN1, WAN2 starts to work (So failover is working ok!)
Any help/pointers would be greatly appriciated.
If someone has DualWAN working on hAP-AC2 please share how did you manage it and which version of ROS are you using.
Code: Select all
/ip firewall mangle
add action=mark-connection chain=input comment="Dual WAN Load Balancing w/ Fail Over" in-interface=ether1-wan new-connection-mark=WAN1_mark passthrough=no
add action=mark-connection chain=input comment="Dual WAN Load Balancing w/ Fail Over" in-interface=ether4-wan2 new-connection-mark=WAN2_mark passthrough=no
add action=mark-routing chain=output comment="Dual WAN Load Balancing w/ Fail Over" connection-mark=WAN1_mark new-routing-mark=to_ISP1 passthrough=no
add action=mark-routing chain=output comment="Dual WAN Load Balancing w/ Fail Over" connection-mark=WAN2_mark new-routing-mark=to_ISP2 passthrough=no
add chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" dst-address=192.168.20.0/24 in-interface-list=PCC-LIST
add chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" dst-address=192.168.15.0/24 in-interface-list=PCC-LIST
add action=mark-connection chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" dst-address-type=!local in-interface-list=PCC-LIST new-connection-mark=WAN1_mark per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" dst-address-type=!local in-interface-list=PCC-LIST new-connection-mark=WAN2_mark per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" connection-mark=WAN1_mark in-interface-list=PCC-LIST new-routing-mark=to_ISP1 passthrough=no
add action=mark-routing chain=prerouting comment="Dual WAN Load Balancing w/ Fail Over" connection-mark=WAN2_mark in-interface-list=PCC-LIST new-routing-mark=to_ISP2 passthrough=no
/ip route
add check-gateway=ping comment="WAN1 GW" distance=1 gateway=192.168.20.1 routing-mark=to_ISP1
add check-gateway=ping comment="WAN2 GW" distance=1 gateway=192.168.15.1 routing-mark=to_ISP2
add check-gateway=ping comment="Normal Default Route excep for 'Distance set to 1'" distance=1 gateway=192.168.20.1
add check-gateway=ping distance=2 gateway=192.168.15.1