Community discussions

MikroTik App
 
tty1
just joined
Topic Author
Posts: 23
Joined: Thu Dec 09, 2021 10:34 pm

WAN load-balance: QCC or Fail-over?

Sun Jan 02, 2022 1:51 am

Hi guys, I am considering setup a QCC load-balance or fail-over just in case one of my ISP is down. Any ideas?

device: RB5009
firmware: v7.1.1
wan1 (eth1): 1Gbps DHCP
wan2 (eth2): 100Mbps DHCP
scenarios: gaming and online streaming.

Q1: If I set up a QCC load-balance by executing the following commands, what happened to the traffic if one of the links is down?
/routing table
add fib name=route1
add fib name=route2

/ip firewall mangle
add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local new-connection-mark=pcc1 \
    passthrough=yes per-connection-classifier=both-addresses:2/0 src-address=192.168.100.0/24
add action=mark-routing chain=prerouting connection-mark=pcc1 new-routing-mark=route1 passthrough=yes src-address=\
    192.168.100.0/24
add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-type=!local new-connection-mark=pcc2 \
    passthrough=yes per-connection-classifier=both-addresses:2/1 src-address=192.168.100.0/24
add action=mark-routing chain=prerouting connection-mark=pcc2 new-routing-mark=route2 passthrough=yes src-address=\
    192.168.100.0/24
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether1 new-connection-mark=pcc1
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether2 new-connection-mark=pcc2

add action=mark-routing chain=output connection-mark=pcc1 new-routing-mark=route1
add action=mark-routing chain=output connection-mark=pcc2 new-routing-mark=route2
Q2: The WAN backup tutorial on https://help.mikrotik.com/docs/pages/vi ... d=26476608 seems vague. Any useful materials for setting up this?

Many thanks!
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 23472
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: WAN load-balance: QCC or Fail-over?  [SOLVED]

Sun Jan 02, 2022 2:16 am

The second link is very slow compared to the first, suggest failover only..... thus no mangling required.