Community discussions

MikroTik App
 
cadamuroa
just joined
Topic Author
Posts: 13
Joined: Thu Jun 12, 2014 5:55 am
Location: Brazil

Dual Wans - Problem with Upload

Thu May 14, 2020 5:35 am

Hi guys,

I have one RB CCR1036 with 2 WAN:

ether1 - WAN1 - 100MB (ISP1)
ether2 - WAN2 - 100MB (ISP2)

ether1 is the principal link - entire network uses this link to navigate.
ether2 is the backup link - we uses this link as backup and hotspot.

I setup my hotspot to uses WAN2 with a Mangle rule "Mark Routing" and works perfectly, but when I uses SpeedTest.Net to check my troughput of my link (WAN2), the download goes to the WAN2 but the upload goes to WAN1.

Anyone had this error?

Mangle::
add action=mark-routing chain=prerouting comment="Hotspot" connection-mark=no-mark dst-address-list=!HOTSPOT new-routing-mark=ISP2 passthrough=yes src-address-list=HOTSPOT

NAT::
add action=src-nat chain=srcnat out-interface="Ether01 - WAN1" to-addresses=1.2.3.4
add action=src-nat chain=srcnat out-interface="Ether02 - WAN2" to-addresses=4.5.6.7

ROUTE::
add distance=1 gateway=4.5.6.7 routing-mark=ISP2
add distance=1 gateway=1.2.3.4 routing-mark=ISP1
add check-gateway=ping comment="Default Route to ISP1" distance=1 gateway=1.2.3.4
add check-gateway=ping comment="Default Route to ISP2" distance=2 gateway=4.5.6.7

My purpoes is send the hotspot connections to the WAN2, I have sucessful with the donwload, but the upload continues go to the WAN1.

Can someone help me?
 
WeWiNet
Long time Member
Long time Member
Posts: 619
Joined: Thu Sep 27, 2018 4:11 pm

Re: Dual Wans - Problem with Upload

Thu May 14, 2020 2:09 pm

You miss all the routing marking in your export. One mangle route is not enough and I am sure you have others...
Can you export the IP config and post it with all information?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22300
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Dual Wans - Problem with Upload

Thu May 14, 2020 2:23 pm

/export hide-sensitive file=anynameyouwish
 
cadamuroa
just joined
Topic Author
Posts: 13
Joined: Thu Jun 12, 2014 5:55 am
Location: Brazil

Re: Dual Wans - Problem with Upload

Thu May 14, 2020 2:26 pm

Hi guys,

I will export and post here.