Hello,
i am using PCC loadbalancing with 3 modems (MODEM1,4,5) and 1 LAN (ether13-GW_LAN), all work OK (code below)
Now i want to add a second LAN network, different from the first one, it will be in ether12.
How can i make it work with the 2 LAN networks together???
Thanks
/ip firewall mangle
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=input comment="Mark new inbound connection MODEM1" connection-state=new disabled=no in-interface=pppoe-MODEM1 \
new-connection-mark=MODEM1 passthrough=yes
add action=mark-connection chain=input comment="Mark new inbound connection MODEM4" connection-state=new disabled=no in-interface=pppoe-MODEM4 \
new-connection-mark=MODEM4 passthrough=yes
add action=mark-connection chain=input comment="Mark new inbound connection MODEM5" connection-state=new disabled=no in-interface=pppoe-MODEM5 \
new-connection-mark=MODEM5 passthrough=yes
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=prerouting comment="Mark established inbound connection MODEM1" connection-state=established disabled=no in-interface=\
pppoe-MODEM1 new-connection-mark=MODEM1 passthrough=yes
add action=mark-connection chain=prerouting comment="Mark established inbound connection MODEM4" connection-state=established disabled=no in-interface=\
pppoe-MODEM4 new-connection-mark=MODEM4 passthrough=yes
add action=mark-connection chain=prerouting comment="Mark established inbound connection MODEM5" connection-state=established disabled=no in-interface=\
pppoe-MODEM5 new-connection-mark=MODEM5 passthrough=yes
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=prerouting comment="Mark related inbound connection MODEM1" connection-state=related disabled=no in-interface=pppoe-MODEM1 \
new-connection-mark=MODEM1 passthrough=yes
add action=mark-connection chain=prerouting comment="Mark related inbound connection MODEM4" connection-state=related disabled=no in-interface=pppoe-MODEM4 \
new-connection-mark=MODEM4 passthrough=yes
add action=mark-connection chain=prerouting comment="Mark related inbound connection MODEM5" connection-state=related disabled=no in-interface=pppoe-MODEM5 \
new-connection-mark=MODEM5 passthrough=yes
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-routing chain=output comment="Mark new inbound route MODEM1" connection-mark=MODEM1 disabled=no new-routing-mark=static-MODEM1 passthrough=no
add action=mark-routing chain=output comment="Mark new inbound route MODEM4" connection-mark=MODEM4 disabled=no new-routing-mark=static-MODEM4 passthrough=no
add action=mark-routing chain=output comment="Mark new inbound route MODEM5" connection-mark=MODEM5 disabled=no new-routing-mark=static-MODEM5 passthrough=no
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=prerouting comment="Mark traffic that isn't local with PCC mark rand (3 possibilities) - option 1" connection-state=new \
disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM1_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/0
add action=mark-connection chain=prerouting comment="Mark traffic that isn't local with PCC mark rand (3 possibilities) - option 2" connection-state=new \
disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM4_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/1
add action=mark-connection chain=prerouting comment="Mark traffic that isn't local with PCC mark rand (3 possibilities) - option 3" connection-state=new \
disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM5_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/2
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=prerouting comment="Mark established traffic that isn't local with PCC mark rand (3 possibilities) - option 1" \
connection-state=established disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM1_pcc_conn passthrough=yes \
per-connection-classifier=both-addresses:3/0
add action=mark-connection chain=prerouting comment="Mark established traffic that isn't local with PCC mark rand (3 possibilities) - option 2" \
connection-state=established disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM4_pcc_conn passthrough=yes \
per-connection-classifier=both-addresses:3/1
add action=mark-connection chain=prerouting comment="Mark established traffic that isn't local with PCC mark rand (3 possibilities) - option 3" \
connection-state=established disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM5_pcc_conn passthrough=yes \
per-connection-classifier=both-addresses:3/2
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-connection chain=prerouting comment="Mark related traffic that isn't local with PCC mark rand (3 possibilities) - option 1" connection-state=\
related disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM1_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/0
add action=mark-connection chain=prerouting comment="Mark related traffic that isn't local with PCC mark rand (3 possibilities) - option 2" connection-state=\
related disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM4_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/1
add action=mark-connection chain=prerouting comment="Mark related traffic that isn't local with PCC mark rand (3 possibilities) - option 3" connection-state=\
related disabled=no dst-address-type=!local in-interface=ether13-GW_LAN new-connection-mark=MODEM5_pcc_conn passthrough=yes per-connection-classifier=\
both-addresses:3/2
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes
add action=mark-routing chain=prerouting comment="Mark routing for PCC mark - option 1" connection-mark=MODEM1_pcc_conn disabled=no new-routing-mark=MODEM1 \
passthrough=yes
add action=mark-routing chain=prerouting comment="Mark routing for PCC mark - option 2" connection-mark=MODEM4_pcc_conn disabled=no new-routing-mark=MODEM4 \
passthrough=yes
add action=mark-routing chain=prerouting comment="Mark routing for PCC mark - option 3" connection-mark=MODEM5_pcc_conn disabled=no new-routing-mark=MODEM5 \
passthrough=yes
add action=accept chain=prerouting comment="--------------------------------------------------------------------------------------------------------------------\
-------------------------------------------------------------------------------------------------------" disabled=yes