https://drive.google.com/file/d/1v57qpn2ml0o1Jvwaib2FHi1xF0eJyINw/view?usp=sharing
Thursday, 8 April 2021
Thursday, 1 April 2021
Load Balan or Merch speed Internet
EX
add address=192.168.1.2 name=router.lan
/ip firewall address-list
add address=192.168.1.0/24 list="List address LAN"
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=To_ISP1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 \
src-address-list="List address LAN" src-address-type=!local
add action=mark-routing chain=prerouting new-routing-mark=To_ISP2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 \
src-address-list="List address LAN" src-address-type=!local
add action=accept chain=prerouting in-interface="pppoe-out2- ISP1"
add action=accept chain=prerouting in-interface=pppoe-out1-ISP2
/ip firewall nat
add action=masquerade chain=srcnat comment=Loadbalancing
/ip route
add comment=Loadbalancing distance=2 gateway=pppoe-out1-ISP2 \
routing-mark=Mark-ISP2
add comment=Loadbalancing distance=1 gateway="pppoe-out2- ISP1" \
routing-mark=Mark-ISP1
add distance=1 gateway="pppoe-out2- ISP1,pppoe-out1-ISP2"