Hi,
I have the RB2011 and I would like to use it for manage two internet connection, not with the load balancing or fail over functionality.
I Would like to route all the device wired and wireless with the internet connection 1 ( SFP ) and only one computer with specific IP address use ( and receive data ) from second internet connection, a vlan1 over eth1.
Actually my router is configured with the quick setup, setting up the SFP connection as WAN, because I’m pretty new with RouterOS and I have only basics network knowledge. BTW it’s working really good with this default settings.
I’ve now removed the eth1 from bridge, created the vlan1 with specific id required from my ISP, and if i switch the wan from sfp to vlan1, the second internet connection works really fine for all devices connected ( 800DN/300UP )
Now, i revert the WAN to SFP, removed the “add default route” from DHCP client for vlan1, and I’ve created the route list for the marked connection named WAN2, as well as masquerade and prerouting Mangle rules for WAN2.
All the other device works fine with the SFP(WAN) connection, while the computer with the ip 192.168.88.3 is getting a really low speed, like 0.10mbps, and fails the upload test from speedtest.net
Looking at a page like https://whatismyipaddress.com/ I see it’s using the right internet connection, even if it’s really slow.
Note: better to include material in forum itself, so it remains complete
I think your problem relates to this line:
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack” connection-state=established,related
all of your connections are fasttracked and that bypasses the mangling → bypasses routing by mark
instead of mangling for routing-mark=WAN2, apply routing rule
yes, I finally add that rule and removed the fasttrack.
Now it’s really going better on the second internet connection, but both connection are downloading less then 200mbps, even not simultaneously testing the speed.
Is the rb2011 not powerful enough? seams strange because the CPU load is not going up to 100%
don’t remove the fasttrack rule, it will reduce cpu load and improve the throughput. Just add the route rule on top of your previous config (eventually you could remove the mangle rules)
Re-Enabling the fast track the speed connection seams now works really good, both internet connection are now hitting 800mbps of download speed when tested individually. If i try to start speedtest on both connection at the same time ( two different computer ), i’m going to download something like 200-300 from one connection, and 400mbps form the other, so a total of 800mbps more or less. Is that depending on the hardware of the RB2011? It’s a limit of this device?
During simultaneous speed test I see some “throttling” about 15% - 25% CPU, it’s not particular high value.
The problem could be the “bridging” and how the port are hardwally connected? if I remember correctly the RB2011 has two internal switch with Atheros8327, one for SFP+Port 1 to 5 and other fror port 6 to 10, maybe it’s the switch1 the limitation?
SFP1: Internet Connection 1 ( 1gbps / 200mbps )
ETH1: Internet Connection 2 ( 1gbps / 300mbps )
ETH2: PC1 using Internet Connection 1 ( lan port 1gpbs )
ETH3: PC2 using Internet Connection 2 ( lan port 1gpbs )
ETH4: NAS ( lan port 1gpbs )
ETH5 : unused
ETH6-10: varius minor device such as TV, decoder that doesn’t support 1gbps
Also consider that, prior to use two internet connection, just using the SFP connection and default value, I “lost” some pure performance against the modem provided by my ISP1. Of corse that modem is really “simple” and featureless then RouterOS, but on speedtest I can reach higher value with the ISP modem/router.