I am trying to merge 2 wans for my local network(house)
WAN1(INB)= 600/400 Mbits
WAN2(NetComet)= 200/200 Mbits
My config below is working almost ok but I have two issues(which I think have the same root cause)
- WAN2 seems to be the default route(using my pc to test with multiple applications to overload)
- Some apps like free download manager, aria2c open multiple connections, but only WAN2 will be active.
- --> on the other hand, both fast.com and speedtest.net running on browser will activate both WAN1 and WAN2
failover works well
*my pc is on the 192.168.88.0/24 network and was my test machine.
any ideas?
here is my current config
Code: Select all
# jul/14/2021 22:02:10 by RouterOS 6.48.3
# software id = XXM9-HA8T
#
# model = RB750Gr3
# serial number = <redacted>
/interface bridge
add name=LAN
/interface ethernet
set [ find default-name=ether1 ] comment="Internet 1 INB" name=INB
set [ find default-name=ether2 ] comment="Internet 2 NetComet" name=NetComet
set [ find default-name=ether5 ] name="Saida Switch Minilab"
set [ find default-name=ether4 ] name=ether4HomeTheater
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool_lan ranges=192.168.88.10-192.168.88.254
add name=pool_ht ranges=192.168.99.10-192.168.99.254
/ip dhcp-server
add address-pool=pool_ht bootp-support=none disabled=no interface=ether4HomeTheater lease-time=12h name="DHCP HT"
add address-pool=pool_lan bootp-support=none disabled=no interface=LAN lease-time=12h name="DHCP LAN"
/queue simple
add disabled=yes max-limit=600M/300M name=INB target=INB
add disabled=yes max-limit=100M/100M name=Netcommet target=NetComet
add disabled=yes max-limit=700M/400M name=LAN queue=pcq-upload-default/pcq-download-default target=192.168.88.0/24
/interface bridge port
add bridge=LAN interface=ether3
add bridge=LAN interface="Saida Switch Minilab"
/ip firewall connection tracking
set enabled=yes
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=192.168.88.1/24 interface=LAN network=192.168.88.0
add address=192.168.99.1/24 interface=ether4HomeTheater network=192.168.99.0
/ip dhcp-client
add add-default-route=no disabled=no interface=INB use-peer-dns=no use-peer-ntp=no
add add-default-route=no disabled=no interface=NetComet use-peer-dns=no use-peer-ntp=no
/ip dhcp-server lease
add address=192.168.88.16 client-id=1:0:11:32:89:48:5d mac-address=00:11:32:89:48:5D server="DHCP LAN"
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=8.8.8.8,8.8.4.4,1.1.1.1 gateway=192.168.88.1 netmask=24
add address=192.168.99.0/24 dns-server=8.8.8.8,8.8.4.4,1.1.1.1 gateway=192.168.99.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4,1.1.1.1
/ip firewall filter
add action=accept chain=forward connection-state=established disabled=yes
add action=accept chain=forward connection-state=related disabled=yes
add action=drop chain=forward connection-state=invalid disabled=yes
/ip firewall mangle
add action=accept chain=prerouting comment=accept dst-address=192.168.0.0/24
add action=accept chain=prerouting dst-address=10.0.0.0/24
add action=accept chain=prerouting dst-address=192.168.88.0/24
add action=accept chain=prerouting dst-address=192.168.99.0/24
add action=mark-connection chain=input comment="input rule" in-interface=INB new-connection-mark=INB passthrough=yes
add action=mark-connection chain=input in-interface=NetComet new-connection-mark=Netcomet passthrough=yes
add action=mark-connection chain=prerouting comment="mark connection rule" in-interface=INB new-connection-mark=INB passthrough=\
yes
add action=mark-connection chain=prerouting in-interface=NetComet new-connection-mark=Netcomet passthrough=yes
add action=mark-connection chain=prerouting comment="pcc rule" dst-address-type=!local in-interface=LAN new-connection-mark=INB \
passthrough=yes per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=LAN new-connection-mark=Netcomet passthrough=yes \
per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=output comment="output rule" connection-mark=INB new-routing-mark=toINB passthrough=yes
add action=mark-routing chain=output connection-mark=Netcomet new-routing-mark=toNetComet passthrough=yes
add action=mark-routing chain=prerouting comment="mark routes" connection-mark=INB in-interface=LAN new-routing-mark=toINB \
passthrough=yes
add action=mark-routing chain=prerouting connection-mark=Netcomet in-interface=LAN new-routing-mark=toNetComet passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=INB
add action=masquerade chain=srcnat out-interface=NetComet
add action=accept chain=srcnat comment=plex disabled=yes dst-address=192.168.88.16 protocol=tcp src-address=10.0.0.0/24
/ip route
add distance=1 gateway=10.0.0.1 routing-mark=toINB
add distance=1 gateway=192.168.0.1 routing-mark=toNetComet
add distance=1 gateway=192.168.0.1
add distance=1 gateway=10.0.0.1
add check-gateway=ping distance=1 gateway=10.0.0.1
add check-gateway=ping distance=2 gateway=192.168.0.1
add distance=1 dst-address=10.0.0.0/32 gateway=10.0.0.1
/system clock
set time-zone-autodetect=no time-zone-name=America/Sao_Paulo
/system ntp client
set enabled=yes primary-ntp=200.160.0.8 secondary-ntp=200.189.40.8
/tool traffic-monitor
add interface=INB name=tmon1