CRS Series - RouterOS vs SwitchOS

What do people prefer, use and why; what is a general recommendation by the community.

For example for myself i have a CRS310-8g+2S+IN, i was running RouterOS 7 since the beginning; i don't really see a real value in switching to switchOS other than it being more simple and the management being browser only.

Big downsides for me are; No traffic graphing in stats, No fan speed tuning like i can in ROS7, At the moment of writing this there's a bug with the fan ramping up and down for no reason on SwOS 2.19 (i've reported it, they tested it in their lab and acknowledged it, its being fixed, exact time-frame on when the patch may be deployed hasn't been disclosed.), SwOS in general does look like its much more bare-bones than ROS7 and i haven't seen an update for it in a long long time and i assume that's done for stability reasons.

Is there anything to gain in my case by switching the crs310-8+2s from RouterOS 7 to SwOS, rather than just configuring it as a switch in RouterOS 7 using bridges and so on?

The only upside of switching to SwOS that I can think of is having a simpler, switch-focused configuration without having to deal with RouterOS bridge configuration.

SNMP in SwOS is dumb af. No "export". No SSH. So no RANCID.

That's enough reasons for me to never even consider a SwOS only device.

Run RouterOS on Your Switch.

I'm still standing by that if they implemented proper fan control and proper graphing under statistics. i would use it over ROS7 anyday.

Most of the stuff that's on your website is such a non argument, dyndns, scripting, api, dhcp server, certificates, containers (really? on this hardware with this amount of ram?), VPN argument is completely useless.

Switches are literally supposed to just switch the traffic and do that reliably and nothing else; using something like a CRS310 as a router is just plain stupidity. The cpu itself is way underpowered to run any of these functions and people will never need any of them because they wont use them as routers by default.

I personally wouldn't really care about having CLI for a switch, not saying its bad, i just feel like i don't really need it, i don't even use it at all when in RouterOS either.

It also does pain me that the SNMPv3, SNMP traps and SNMPwrites are not supported.

Only the ssh and the NTP server part i would agree upon, that's a valid point.

Also not to mention SwOS by itself is way better and lighter in terms of resources to run on the gear than Ros7.

Considering the lack of logging in SwOs, not sure what value NTP would bring, but it's never a bad thing.

For me, for basic stuff that SwOs is capable of, the seriously faster reboot time is also a huge factor, as well as being orders of magnitude harder to screw up configuring. (Personally, I could care less about a CLI, and it does have config backup.) https would not be bad, but is pretty trivial to work around.

certificates

Yes. That runs on a CRS328-24P here. Doubtless there are fancier solutions that would not run on it, but this is suitable.

containers (really? on this hardware with this amount of ram?)

Not everything requires multicore and gigabytes.

VPN argument is completely useless.

A CRS328-24P will push hundreds of Mbit/sec. Unless your uplink is faster than that, it will carry the load. When it is the only always-on device offering customization — as when the border gateway is locked down and ISP-owned — it's a perfectly reasonable way to get remote access to the site's LAN.

Nobody is suggesting you run a Fortune 100 VPN concentrator on a CRS.

using something like a CRS310 as a router is just plain stupidity

I agree. There is plenty of daylight between CRS-as-router and the lightweight services I'm giving as examples, however.

Only the ssh and the NTP server part i would agree upon, that's a valid point.

But not DHCP-per-VLAN? It's a common pattern in the big-boy brands, but not offered in SwOS.

Also not to mention SwOS by itself is way better and lighter in terms of resources to run on the gear than Ros7.

Doubtless, but to what visible effect? The switch fabric speed remains unchanged.

The speed and the performance of the device itself is not affected to what i experienced up until now at least, but the reboot times and uptime (consequently affected by very very small amounts of updates itself) are worth it for me over routerOS.

Validation of TLS certificate dates.

I run switchOS on a couple of switches: it provides VLANs and it is enough for me, L2 only.

the only reason I do it is simplicity: simple software, less bugs, narrower attack surface. But this argument isn't really strong enough and more like a personal preference (and web-only UI isn't nice either, but this is a price I pay)

You mean the ones that are not used?

My point remains valid in thie use case . . .

That's for the router that "defines" the VLAN, not an L2 device that simply distributes a part of it.

So your argument is that SwOS is more secure by being smaller, and is smaller because it doesn't do security…like, at all? :exploding_head:

That's for the router that "defines" the VLAN, not an L2 device that simply distributes a part of it.

L3HW lets a single CRS do both. SwOS leaves most of a CRS's L3HW power untapped.

That's seriously HUTA right there . . . . The point is that SwOs can be completely secure if deployed by a user with a functional brain. That, and less bloat is always better, since unused "features" are non-features (if anything, liabilities).

But that is isn't a switch! Please try to keep up . . . SWITCH OS is the name for a reason, no matter what the hardware might do . . . If those "features" are unused, the distinction is irrelevant (again, as per the question posed.)

SwOs can be completely secure if deployed by a user with a functional brain.

First off, that’s the No True Scotsman fallacy; anyone who fails to deploy SwOS securely ergo has no “functional brain.” Nonsense.

Second, I presume you’re referring to the common advice to restrict management access to a private management VLAN? If so, that’s good advice for RouterOS, so it nets out zero. What you should be focusing on is that RouterOS gives you belt-and-suspenders-and-elastic-waistband, while SwOS is belt-only. VPN into a management VLAN for SSH access is more secure than plaintext over a management VLAN.

less bloat is always better

Encrypted comms is “bloat” in a discussion about security?

But [L3HW] is isn't a switch!

Networking equipment providers have been blurring OSI’s superannuated, arbitrary dividing line between L2 and L3 for decades. To insist on L2 purity is to create a false dichotomy.

If you have VLANs with routing between them, that’s L3, but still a switching function for simple cases, perfectly within the scope of a modern L3HW switch chip feature set.

No, but 9000 features is when you only need 6 certainly is . . .

And when did this become about security? The OP certainly didn't ask that . . . it was about what is more appropriate on a switch.

Again, nobody really gives a good crap what the chipset is or can do when all that is needed is an L2 switch . . . .

I guess I am just oppesed to excess complication with zero gain, but others live to complicate and obfuscate . . .

And as far as security is concerned, there needs to be a balance between usability and insanity. A server with the power off and the disks removed and in a vault is the ultimate in both security and uselessness . . . . For that matter, for basic L2 use, unmanaged switches would be inherently the most secure.

It seems you have answered your own question.

If you are familiar with ROS, and the extra options/complexity it exposes, then there are few things that SwOS can do that ROS can't. (The ones that come to mind are the ability for SwOS to "lock to a first mac address seen on a port" and SwOS does not require you to define a default gateway (in fact you can't). But the lack of a default gateway is one of the reasons that SwOS is so limited; it can't establish an ip connection. It can only reply to an ip/mac combinationfrom the net. This is the core reason that it can't log to a syslog server, or update itself without the assistence of another host. See this by bpwl in the SwOS 2.13 release thread.

SwOS is much simpler to configure (but even that isn't much of an issue now that there is a free ROS config generator).

Some things are much easier to configure on SwOS. Port isolation is one; i.e. the ability to limit what switch ports a switch port is allowed to forward to, on a port by port basis (This is port based, and I orignally claimed it was layer 1 because no mac addresses are involved, but it really isn't a phyical layer bit by bit thing like a repeater is, and google search says it is layer 2). In SwOS there is a NxN matrix with from port - to port. In default state each port can forward to every other port, but you can limit that in each direction. The same thing can be done with ROS using the /interface/ethernet/switch section, but the SwOS config is much easier to view and see what the status is than ROS is looking at the export.

Compare the port isolation features for yourself (on a CRS326)

CRS3xx and CSS3xx series Manual - SwOS - MikroTik Documentation In SwOS it is quite simple.

In ROS (I am not even sure it is configured the same way on CRS switches as it is on for example the RB760iGS), which uses

/interface ethernet switch port-isolation set ether2 forwarding-override=ether3,ether4,ether5

to limit what ports ether2 is allowed to forward traffic to, in this case only ports ether3-5
And you have to have reverse rules too. The default it to allow forwarding to every other port, so you don't normally have to do anything, if you are not doing port isolation.

This is described in the now frozen ROS documentation here

The only "freely available" youtube video that I am aware of that covers this is Port Isolation in MikroTik by Inquirinity. There are others that I assume are discussing the same thing but they are "members only" videos (I wish google would not display the members only youtube videos in its search results, but it does, and I have never found a setting that can filter them out).

You have to explicitly list every port you want it to be able to forward to. On a 24 port switch that's a pain to do manually.

So if you want port isolation (without vlans) that's something that is much easier to setup in SwOS.

I suppose we could request that the config generator be modified to allow configuration with a matrix similar to the way it can do with vlans in the flrewall, but it isn't currently there (that I am aware of).

The other advantage is that SwOS is so light weight that it boots very quickly. Edit: See this which was a response to this.

For just about everything else ROS is more capable, and Tangent has already stated those features that ROS has that SwOS does not.