MikroTik RB5009UPr+S+IN + CRS310-8G+2S+IN intital setup

All the equipment is in close proximity. I'm using the Mikrotik XS+DA0003 to connect the NAS to the CRS310 and have a XS+DA0001 to connect the CRS310 to the RB5009.

You may want to verify that the ONT supports 2.5Gb and will correctly negotiate with the 2.5Gb RB5009 ether1 port. There have been issues in the past where that didn't work well, but hopefully recent ROS versions have that sorted.

Then you will be able to use the RB5009 ports as @jaclaz first option described in MikroTik RB5009UPr+S+IN + CRS310-8G+2S+IN intital setup - #13 by jaclaz

That’s actually a pretty solid setup to start your MikroTik journey with. The RB5009 + CRS310 combo is very powerful once you get comfortable with bridges, VLANs, and routing basics. I’d recommend checking out MikroTik’s official YouTube channel and some beginner RouterOS guides before adding VLAN segmentation and WiFi configs.

Also, planning bandwidth and port usage beforehand really helps in setups like this.

@herrybent what type of router do you have? How did you learn?

I have both the RB5009 and CRS310 updated to 7.22.3 and default backups stored.

I finally have all my equipment and cables to tackle my setup. I've been using AI (I know, please don't stone me) as a general guide to see what it spits out which has helped me narrow down how I would like things configured. Please interject if you see something wrong with my logic.

I think 3 VLANS make sense.

  1. Data for trusted equipment (PC's and Phones)
  2. IOT equipment
  3. Guest Network (probably used very little in my situation but might as well set it up)

I'd like to use the default MikroTik IP address scheme of 192.168.88.X

ONT RJ45 to RB5009 Ether1
RB5009 sfp-sfpplus1 --> CRS310 sfp-sfpplus1
U7 Access points --> CRS310 2.5 gig RJ45

Considerations.

I'd like to reserve the CRS310 for 2.5gig devices/Unraid Server and use ether2-ether8 on the RB5009 for 1gig devices. Including the access points, I'll have 5/8 ports on the CRS310 used.

I won't insult anyone intelligence by posting what AI wrote. Sometimes AI mentions router on a stick and sometimes not depending on my wording. I'd like to get it direct from the experts here. Once I am up and running I'll save the configs and then I can actively deep dive into RouterOS at my leisure.

Personally I would not do this.
If, for whatever reason, some MT device in your network has to be reset to default config, guess what range it will use (and what subnet it will mess with).

Same reason why I avoid 192.168.0.x, 192.168.1.x, ...
Too commonly used by other vendors/equipment.

Gemini prompted for "router on a stick" produces a telling image:

Hahahaha, luv it!!

Best way to learn is to dive right in.
First, draw a network diagram labelling the ports and the devices connected to the ports and the vlans that need to go to the devices, through the ports,

That way you will have a decent context start, knowing the traffic flows required.
I have given you good enough examples of the switch that it can be done first before tackling the router.
AKA, you only have to consider the trunk port from the router.

You also need to decide if you will have a dedicated management VLAN or just use the trusted vlan for that purpose. All smart devices should get their IP address from this subnet.
Also, as I have demonstrated, on all MT devices, create an off bridge port and do the config from that location.

GLuck. When you run into troubles, come back and ask for help.

Thanks anav, I'll start with what you wrote here for the CRS310.

A coupe points of clarification (dumb questions) on my end.

Should that be /24 instead of /34? add address=192.168.50.2/24 interface=vlan10-mgmt network=192.168.50.0
Ether8 is an emergency access port Should this port only be used for troubleshooting?

/ip address
add address=192.168.50.2/34 interface=vlan10-mgmt network=192.168.50.0
add address=192.168.77.1/30 interface=OffBridge8 network=192.168.77.0

Yes LOL, I am the typo king! Correct it should be /24 :slight_smile:

Just in case:
Once and for all COMPLETE Offbridge Port setup

already included/discussed........ the other 11 rules may be useful for the router side though.

Is there any reason the Offbridge port setup is done on the switch instead of the router? In my mind,I'm least likely to fill the 1g ports on the router. Or does the offbridge port only have access to the device it is setup on (setup on router, no access to switch and vice versa).

Yep, there should be an offbridge port on the switch and an offbridge port on the router. :astonished_face:

Or if you prefer, an offbridge port for any device that has a risk of locking you out when (if) you make a teeny-tiny mistake in your configuration (more often this happens when learning to implement and experimenting with VLANs, but also firewall filter rules and interface categorization can lead to this).

Now "real" (professional) devices usually have a "console" port, so in the worst case you only need a RS232 port on your PC (or a USB<->RS232 serial converter) and a suitable cable.

For the RB5009 and CRS310 specifically, this can be in most cases replaced by a second RS232<>USB adapter (since the USB access is post-boot it is slightly less useful than a real console port that gives connection to the bootloader also, but it can still resolve the "lockouts" from mis-configurations), so if you have this stuff (cable/adapters) available you don't really-really need an offbridge port.

Usually however you also don't really-really need to use all ethernet ports on these devices, and IF you actually do you can setup the offbridge port only temporarily and, once you have a working configuration, re-add it to the bridge.

It takes - what? - five minutes to setup an offbridge port and another five minutes to reset it to "normal", so it is worth it.

Yup all MT devices, an offbridge port is recommended. Less of a mystery to put on the router, now that you have the example for the switch.

The bad news is that my wife and I work from home and can't be without a working network for very long. Add to that our daughter will go through convulsions without wifi during waking hours.

The good news is that I didnt try to save a few bucks by utilizing our current ASUS routers as access points. I work in medical IT and we we always have a rollback plan when things go sideways. :slight_smile: until things are settled all i need to do is swap a few cables around.

I got the U7 access point updating. We'll see how much I can accomplish tomorrow.

As long as your current ASUS router isn't using either of the two LAN addresses you plan to use on the RB5009, you can just treat your ASUS as the ISP connection for your RB5009. This will allow you to continue to use the ASUS as is for the family, while you are configuring the RB5009 and verifying that things work (including the firewall, which you can verify by attempting to connect from the current home LAN to both the RB5009 (which should be blocked from the "internet connection"). From the LAN on the RB5009, you should have internet access, so you can still get updates etc.

Then when you are satisfied that things are working, you can then replace the ASUS with little downtime, and the added assurance that the firewall is working.

Excellent idea buckeye.... treat the router as a router getting a private IP on the LAN of the asus during setup. Make the switch when everyone has gone to bed LOL.

If you want 'live help session' if you get stuck, let me know.