This is my first time setting up Mikrotik I'm overwhelmed and amaze with so many things available in the router.
So, I have 2 broadband connection to different ISP connected to my router RB750Gr3, somehow, my traffic only goes to Ether2/ISP MNC and never goes to Ether1/ISP FM
When I test the failover by plug out the cable from Ether2/ISP MNC, the traffic is going to Ether1/ISP FM so it proves that something wrong with my configuration.
AS I have try this for a week I think its time for me to look some help from expert here.
Some details:
Ether 1/ISP FM
Bandwith 50 mbps UP / 5 mbps DOWN
Ether 2/ISP MNC
Bandwith 20 mbps UP / 20 mbps DOWN
Ether 5/LAN
Connected to Wifi Router
Below are my configuration:
Code: Select all
# may/13/2021 19:49:08 by RouterOS 6.47.6
# software id = 5DVB-AT6I
#
# model = RB750Gr3
/interface ethernet
set [ find default-name=ether1 ] comment=FM
set [ find default-name=ether2 ] comment=MNC
set [ find default-name=ether5 ] comment=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool1 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool2 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool3 ranges=\
192.168.0.1-192.168.0.22,192.168.0.24-192.168.0.254
add name=dhcp_pool4 ranges=192.168.10.2-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool4 disabled=no interface=ether5 name=dhcp1
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface detect-internet
set detect-interface-list=all
/ip address
add address=192.168.10.1/24 interface=ether5 network=192.168.10.0
/ip dhcp-client
add disabled=no interface=ether1
add disabled=no interface=ether2
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=1.1.1.1,8.8.8.8 gateway=192.168.0.23
add address=192.168.10.0/24 dns-server=1.1.1.1,8.8.8.8 gateway=192.168.10.1
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,8.8.8.8
/ip firewall mangle
add action=accept chain=prerouting dst-address=192.168.0.0/24
add action=accept chain=prerouting dst-address=192.168.10.0/24
add action=accept chain=prerouting dst-address=192.168.1.0/24
add action=mark-connection chain=prerouting in-interface=ether1 \
new-connection-mark=ISP-FM passthrough=yes
add action=mark-connection chain=prerouting in-interface=ether2 \
new-connection-mark=ISP-MNC passthrough=yes
add action=mark-connection chain=prerouting in-interface=ether5 \
new-connection-mark=ISP-FM passthrough=yes per-connection-classifier=\
both-addresses:3/0
add action=mark-connection chain=prerouting in-interface=ether5 \
new-connection-mark=ISP-FM passthrough=yes per-connection-classifier=\
both-addresses:3/1
add action=mark-connection chain=prerouting in-interface=ether5 \
new-connection-mark=ISP-MNC passthrough=yes per-connection-classifier=\
both-addresses:3/2
add action=mark-routing chain=prerouting connection-mark=ISP-FM in-interface=\
ether5 new-routing-mark=ke-ISP-FM passthrough=yes
add action=mark-routing chain=prerouting connection-mark=ISP-MNC \
in-interface=ether5 new-routing-mark=ke-ISP-MNC passthrough=yes
add action=mark-routing chain=output connection-mark=ISP-FM new-routing-mark=\
ke-ISP-FM passthrough=yes
add action=mark-routing chain=output connection-mark=ISP-MNC \
new-routing-mark=ke-ISP-MNC passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat out-interface=ether2
/ip route
add check-gateway=ping distance=1 gateway=192.168.0.1 routing-mark=ISP-FM
add distance=2 gateway=192.168.1.1 routing-mark=ISP-FM
add check-gateway=ping distance=1 gateway=192.168.1.1 routing-mark=ISP-MNC
add distance=2 gateway=192.168.0.1 routing-mark=ISP-MNC
/system clock
set time-zone-name=Asia/Jakarta
/system identity
set name=BirdHub
/tool graphing interface
add interface=ether1
add interface=ether2
add interface=ether5
/tool graphing resource
add
Regards,
Ferry