I’ve recently set up the following model:
Mikrotik CRS326-24G-2S+RM Cloud Router Switch 326-24G-2S+RM 24 Gigabit port switch with 2 x SFP+ cages in 1U rackmount case, Dual boot (RouterOS or SwitchOS)
I also wanted to mention the only NAT firewall rule I have is a srcnat 10.0.0.0/16 out interface ether01, action src-nat, ToAddress: My Modem Public IP
You need to include your “/export hide-sensitive” information (the config you are using) to get any meaningful reply to such questions.
However, you should understand that the router function of such devices is a lot slower than the switching function.
When you want to get the full performance of the device, you should use it as a switch, not as a router. Only with tricks like fasttrack it will
be possible to get anywhere near your modem speed.
Actually the routing speed you’re getting is more or less what your CRS is capable of. Any higher routing speed would mean sacrificing security (firewall) … which might be fine for routing between two LAN subnets without any limitations about connectivity (i.e. simple routing, no firewall), but when used as border fateway (between you and internet) it definitely has to run firewall.
Check official test results, number under “routing - 25 ip filter rules - 512 byte packets” resembles most real-life scenarios quite well.
Of course what mkx wrote also applies, but at the moment you have no firewall at all (apart from the block on port 53).
Note that it is unwise to connect a device directly to internet in such state, it would only be safe when your “modem” is actually a NAT router as well.
Also I still have the NAT rule enabled. Is that the one that is slowing down the speed? I know it needs to be there to connect the LANs to the WAN, but just trying to understand exactly where the bottleneck is.
Bottleneck is the fact that CRS devices are switches with low-capacity L3 functionality. Meaning they can route and firewall, but nowhere near wirespeed.
If you want to get decent routing speed, get a router. A low-cost candidate device is hAP ac2 (you can disable wireless) … or a RB450Gx4 - pricier because of more RAM and storage but CPU is the same in both devices.
The single most expensive job a statefull firewall has to perform is connection tracking. Since you have NAT enabled it means your CRS has to do it. The fact you don’t have many firewall rules only helps some - you said you’re reaching around 400Mbps while official test results indicate 270Mbps. So you do see higher numbers. I only guess that you’d have to remove all firewall configuration to make it route at around 1Gbps … but that means no NAT as well …
Thanks guys for the reality check on my hardware. I’ll look into getting a “real” router and put that in front of what I currently have - and just use it as a switch.
I think you meant 900Mbps?/
In any case, in terms of routers to maximize your ISP connection I would recommend for
(1) WIRED
a. RB450Gx4 routerboard and an enclosure etc (some places sell it already pre-assembled).
b. RB4011 wired only model (more than you need)
(2) WIFI Router
a. HAPAC2 - similar to the RB450Gx4 in performance
b. RB4011 with wifi (more than you need).
Note: I dont mention the 3011 wired as it only has 2 cores and for only $20 more bucks the 4011 screams.