Spyke

CRS310-8G+2S+ VLAN configuration issues in SwOS

Made this post on forum.mikrotik.com and it's awaiting approval from moderation, figured I'd try here...

Hey everyone!

Been running into an issue the last few weeks with trying to setup a VLAN on my home network.

Hardware/OS/IP:

Router (R) = GL.iNet GL-MT6000 (Flint 2), OpenWrt 25.12.1, 10.1.10.1
Office switch (O) = CRS310-8G+2S+, MikroTik SwOS 2.18, 10.1.10.2
Living room switch (LR) = CSS610-8G-2S+, MikroTik SwOS Lite 2.21, 10.1.10.3

Followed a few different guides on the OpenWrt side of the house, primarily this one

During my multiple attempts I have wiped all devices and started fresh a few times and I always end up in the same situation…

VLAN appears to be working on the LR switch (CSS610)

VLANs tab
    Port 1 is my trunk and a member of all 4 of my VLANs
        10 = LAN (Used for network devices and maintenance)
        20 = IoT
        30 = Guest (not configured on the switch, only for WIFI)
        40 = Main (Primary VLAN for my network)
        50 = Servers
    Ports 2-5 are members of VLAN 40
    Port 6 is a member of VLAN 10
VLAN tab
    Port 1 = Strict, Only tagged, Default ID 1
    Port 2 -5 = Strict, Only untagged, Default ID 40
    Port 6 = Strict, Only untagged, Default ID 10

This seems to work great, devices will get 10.1.40.x IP addresses and I can connect to port 6 and get 10.1.10.x IP address. Confirmed that my firewall rules also seems to work (although I’ll probably want to run this past OpenWrt forum as well).

But when I go to look at the O switch (CRS310), I’ll mirror this configuration, I’ll get DHCP and DNS, but I can’t reach the WAN or ping any other devices apart from the network equipment. Most recently I tried just VLAN 10 because I figured it would be using the LAN firewall rules and work correctly, but I get the same issue… correct IP address but no traffic.

Note: These screenshots are from last attempt to get something to work, when I mirror the CSS610 setup, I get the same results.

I had to follow these steps to get the SwOS boot to work on the CRS310

Curious if either…

  • Have I configured the CRS310 incorrectly and something needs to be different vs the CSS610 which seems to work?
  • Is there is a known VLAN related bug with the CRS310 & SwOS?

Any advice and guidance would be appreciated, feel like I am going in circles at this point.

Happy to share any outputs or screenshots from my OpenWrt router if it’ll help, but the issues do seem to be related directly to this CRS310 switch.

View original on lemmy.zip

Enable arm64 functionality on your L009!

Usually, when a device is built on arm32 architecture, it is not possible to switch to arm64 due to hardware limitations, but this is an exception! The L009UiGS and L009UiGS-2HaxD-IN devices come with an arm64 processor that was initially run in arm32 mode for stability, but we have improved our software! Now, it is possible to do a simple package switch.

Note that there are other 32-bit Mikrotik products with 64-bit ARM Cortex A53 processors, which may get the same upgrade to 64-bit, including the “hEX refresh,” “hEX S (2025),” and “hAP ax S”.

Enable arm64 functionality on your L009!https://tiktube.com/w/49XXAA9ajdrnWpxHPoAevgOpen linkView original on lemmy.ml
mikrotik·Mikrotikbyfhoekstra

Creator of Mikrotik IaC modules gauging community interest

cross-posted from: https://feddit.nl/post/50949358

From Mircea Anton:

Hello, everyone!

I fairly recently re-worked most of my Mikrotik automation to move it from Terraform to OpenTofu and Terragrunt and modularize everything.

Tbh the project got to a point I'm quite happy and proud with it. I made a couple of videos about it if you're interested:

Here's the link to the repo: https://github.com/mirceanton/mikrotik-terraform

Been thinking about cleaning up the modules I made, writing a couple more and maybe publish a module library that others can use and contribute to if attempting something like this. What do you think?

View original on feddit.nl
mikrotik·Mikrotikbyqjkxbmwvz

L3HW offloading of PBR/additional routing tables?

Hi,

I am considering upgrading my router (RB750Gr3). I am eyeing the CRS309-1G-8S+IN in the hopes that the fast ISP in town eventually expand to my street (10G fiber).

My question is about L3HW offloading, and how it plays with PBR. Currently, I have a number of rules (/routing/rule), some based on source IP and some on VLAN. The purpose is to route certain traffic through VPNs (WireGuard, but I run on a separate computer, not on the router itself). Example: VLAN10 routes all traffic through main routing table, VLAN20 routes local traffic through router but sends external traffic through VPN-1, and VLAN30 sends everything through VPN-2. I use a number of different VPNs, so it's not just a binary "main route or VPN."

I am unclear how this plays with L3HW offloading. This page ( https://help.mikrotik.com/docs/spaces/ROS/pages/62390319/L3+Hardware+Offloading#L3HardwareOffloading-Inter-VLANRoutingwithUpstreamPortBehindFirewall/NAT ) mentions pbr-cap/usage/lpm-bank but I am unclear if that's referring to what I'd be using. That page also says that only the main routing table is HW offloaded in the context of VRF, so I wasn't sure if that also applied to PBR.

The question then, is, does L3HW offloading 1) Just Work for PBR /routing/rule, 2) only work via Fasttrack (perhaps requiring some redirect-to-cpu switch rules), or 3) ain't gonna work?

To preempt a few questions: I know Fasttrack is a last resort. I am a single household, I don't have concerns about TCAM exhaustion. I am considering a CRS instead of a "true" router due to cost and reduced energy footprint. I also know that I don't "need" 10G; if it is ever offered on my street it'll be via an ISP with a "best effort" policy, i.e., they don't have throttled tiers, so 10G is their only offering (cheaper than we're paying now for asymmetric cable).

Thanks!

View original on startrek.website
mikrotik·Mikrotikbyqjkxbmwvz

Persistent routing rule for specific IPv6 host?

What I want: I want to be able to route specific clients through different interfaces (WireGuard tunnels), and I want this behavior to persist upon disconnect/reconnect. Clients can change which tunnel, with several VLANs being able to use the tunnels (so a client A on VLAN 124 and client B on VLAN 789 can both use VPN tunnel X or Y at their discretion).

What I have: IPv4 works fine (routing rule src address -> routing table). IPv6 works, but is not persistent, as clients change their IPv6 address. (I have a dinky script where I enter IPv4 address and country, and it will grab a VPN peer from a json file, set it up, and add the IPv4+current IPv6 address to the routing rules. This works well currently; I use Mullvad.)

Any recommendations? Ideas: use IPv6 mangle based on MAC address, but I have been having trouble getting this to work (extremely slow). Another idea is to have a script run and grab the IPv6 address of client (either by hostname or by DHCP lease+MAC info), but I'm not sure if it's possible to trigger a script upon IPv6 neighbor discovery.

Any help appreciated!

View original on startrek.website
mikrotik·MikrotikbyOwlPaste

[Resolved] Is there an easy way to clear settings via terminal?

I am trying to create a setup script for configuring router + AP via CAPsMAN, but would like to ask if there is an easy way to clear my settings as I am testing and exploring the setup to clean up the various config changes I am doing to clear the state easier?

I am changing things like

/caps-man datapath
/caps-man configuration
/caps-man provisioning

And others. Is there some way I can just drop all entries from those config paths? Or something like that to tidy up config while I am editing and trying out things?

View original on lemmy.world
mikrotik·MikrotikbyMikroTik

If you’re at CEATEC Japan this week, don’t miss your chance to check out our latest 5G gear - showcased at the LIAA/MikroTik booth by a representative of Investment and Development Agency of Latvia.

If you’re at CEATEC Japan this week, don’t miss your chance to check out our latest 5G gear - showcased at the LIAA/MikroTik booth by a representative of Investment and Development Agency of Latvia.

Visit the LIAA/MikroTik booth (Hall 4, Booth 4H313) to explore the tech, the Northern European work ethic, the people, and the business opportunities behind the MikroTik flexible world of connectivity.

https://www.ceatec.com/en/

@[email protected]

View original on mikrotik.social
mikrotik·MikrotikbyAlbirew

moved back my instance on my dedicated server (with an IP that's NOT automatically blocked by some ISP just for being in a home IP block)

moved back my instance on my dedicated server (with an IP that's NOT automatically blocked by some ISP just for being in a home IP block)

can now magically follow @[email protected] or @[email protected] without doing anything more...
dunno yet for @[email protected] , need to check if error occur when trying to follow...

View original on soshar.dess.ga