Let’s assume we have four WAN and two LAN
Each LAN has to use a pair of WAN bonded together with PCC method.
How to route each LAN into the related paired WAN ??
Is Src. Address=<LanNetwork/24> in each PCC mangle rule enough for this ??
i.e.:
chain=prerouting action=mark-connection new-connection-mark=WAN1_conn passthrough=yes connection-state=new protocol=tcp src-address=192.168.0.0/24 dst-address-type=!local in-interface=ether1 per-connection-classifier=both-addresses-and-ports:2/0
chain=prerouting action=mark-connection new-connection-mark=WAN2_conn passthrough=yes connection-state=new protocol=tcp src-address=192.168.0.0/24 dst-address-type=!local in-interface=ether1 per-connection-classifier=both-addresses-and-ports:2/1
chain=prerouting action=mark-connection new-connection-mark=WAN3_conn passthrough=yes connection-state=new protocol=tcp src-address=192.168.1.0/24 dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses-and-ports:2/0
chain=prerouting action=mark-connection new-connection-mark=WAN4_conn passthrough=yes connection-state=new protocol=tcp src-address=192.168.1.0/24 dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses-and-ports:2/0
Thank you