Berikut aku tuliskan langkah-langkah Konfigurasi Fail Over Dengan Mangle di Mikrotik, dengan asumsi sampeyan sudah bisa bikin DHCP, set interface dll
ISP-1
ISP-2
DNS
Server :8.8.8.8
Firewall, NAT
chain :srcnat,
outinterface :interface yg terhubung ke ISP 1
action :masquorade
chain :srcnat,
outinterface :interface yg terhubung ke ISP 2
action :masquorade
IP, routes
new route,
dst address :0.0.0.0/0
gateway :gateway ISP-1
Apply, ok
new route,
dst address :0.0.0.0/0
gateway :gateway ISP-2
Apply, ok
IP Firewall, mangle
(1)
new mangle,
chain :prerouting
in interface :interface LAN yang dipakai
connection mark :no mark
advance
per connection clasifier :both address and port,2/0
action
action :mark connection
new connection mark :ISP-1
(2)
new mangle,
chain :prerouting
in interface :interface LAN yang dipakai
connection mark :no mark
advance
per connection clasifier :both address and port,2/1
action
action :mark connection
new connection mark :ISP-2
ok
(3)
add new mangle
action
actin :accep
log :uncentang
general
chain :prerouting
in interface :interface LAN
connection mark :ISP-1
action :mark routing
new routing mark:ke ISP-1
(4)
add new mangle
action
actin :accep
log :uncentang
general
chain :prerouting
in interface :interface LAN
connection mark :ISP-2
action :mark routing
new routing mark:ke ISP-2
(5)
add new mangle
chain :prerouting
in interface :ISP-1
connection mark :no mark
action :mark connection
new routing mark:ke ISP-1
(6)
add new mangle
chain :prerouting
in interface :ISP-2
connection mark :no mark
action :mark connection
new routing mark:ke ISP-2
(7)
add new mangle
chain :output
connection mark :ISP-1
action :mark routing
new routing mark:ke ISP-1
(8)
add new mangle
chain :output
connection mark :ISP-2
action :mark routing
new routing mark:ke ISP-2
IP Route
gateway :gateway ISP-1
routing mark :ke-ISP-1
IP Route
gateway :gateway ISP-2
routing mark :ke-ISP-2
sumber : https://www.youtube.com/watch?v=-ukUTAoFv3g
0 Comments