Load Balance 2 ISP Mikrotik: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
kTidak ada ringkasan suntingan |
kTidak ada ringkasan suntingan |
||
Baris 14: | Baris 14: | ||
----- new-routing-mark="Ke ISP1" passthrough=yes | ----- new-routing-mark="Ke ISP1" passthrough=yes | ||
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=ISP2 in-interface=\ | /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=ISP2 in-interface=\ | ||
----- new-routing-mark="Ke ISP2" passthrough=yes | ----- new-routing-mark="Ke ISP2" passthrough=yes | ||
Revisi terkini sejak 31 Januari 2023 07.38
/ip firewall nat add action=masquerade chain=srcnat out-interface=------------ /ip firewall nat 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
/ip firewall mangle 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
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=ISP1 in-interface=\ ----- new-routing-mark="Ke ISP1" passthrough=yes
/ip firewall mangle 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" /ip route add check-gateway=ping distance=1 gateway=------------ routing-mark="Ke ISP2" /ip route add distance=1 gateway=----------,-----------