################################################
# LOAD BALANCING ECMP SCRIPT GENERATOR
# Date/Time: 4/4/2025, 11:23:16 AM
#
# Load Balancing ECMP (Equal Cost Multi Path)
################################################
/ip firewall nat
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
add chain=srcnat out-interface="" action=masquerade comment="LB By BNT"
/ip route
add check-gateway=ping distance=1 gateway=",,,,," comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB By BNT"
/ip firewall mangle
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-connection chain=input in-interface="" new-connection-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" comment="LB By BNT"
|