Load Balance 2 ISP Mikrotik

Dari Catatan Pak Samsul
Revisi sejak 31 Januari 2023 07.31 oleh Samsul (bicara | kontrib) (←Membuat halaman berisi '/ip firewall nat add action=masquerade chain=srcnat out-interface=------------ add action=masquerade chain=srcnat out-interface=------------ /ip firewall mangle add...')
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)
Loncat ke navigasi Loncat ke pencarian

/ip firewall nat add action=masquerade chain=srcnat out-interface=------------ add action=masquerade chain=srcnat out-interface=------------


/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local \

   in-interface=----- new-connection-mark=ISP1 passthrough=yes \
   per-connection-classifier=src-address-and-port:2/0

add action=mark-connection chain=prerouting dst-address-type=!local \

   in-interface=----- new-connection-mark=ISP2 passthrough=yes \
   per-connection-classifier=src-address-and-port:2/1

add action=mark-routing chain=prerouting connection-mark=ISP1 in-interface=\

   ----- new-routing-mark="Ke ISP1" passthrough=yes

add action=mark-routing chain=prerouting connection-mark=ISP2 in-interface=\

   ----- new-routing-mark="Ke ISP2" passthrough=yes


/ip route add check-gateway=ping distance=1 gateway=------------ routing-mark="Ke ISP1" add check-gateway=ping distance=1 gateway=------------ routing-mark="Ke ISP2" add distance=1 gateway=----------,-----------