r/mikrotik • • 16h ago

Implementing VLANs on AC devices which mikrotik doesnt want

0 Upvotes

Mikrotik specifically went extra efforts to block vlan usage on older wifi AC devices.

Previously i configured the cap client so that the wifi interfaces are created static and not assigned to any bridge, and then i had scripts running which create bridge-ports with custom vlan based on SSID.

This whole setup was super clumsy and kept writing to flash all day and also with newer firmware versions the free space got so little that simple config saves didnt work anymore because only 100kb are free but with fragmentation its not writable again.

I started hacking the official mikrotik packages and simply implemented something they dont want the public to see: old ac devices with vlan support enabled (required ~5 patches to their binaries)

Creating a configuration with vlan does not result in the wifi manager to stop creaating interfaces or ssids. Why is mikrotik like this, the hardware is so nice but the software is sometimes so trash.

Let me know if there is demand for this and if I should write a long explaination how exactly it works and what it takes to set it up (sadly requires wiping all configs on the device and running custom hacked npks with custom signatures to be able to apply patches)

This is tested on hap-AC2 and cap-ac devices


r/mikrotik • • 4h ago

CRS326-24S+2Q+ & 1G Ethernet Adapters

2 Upvotes

I've been migrating my home network mostly to 10g for the last couple of years using a pair of CRS326-24S+2Q+RMs. Over the last week or so, I've been doing the final bit of migrating to get the last few things that were dangling off a ZyXEL GS1900-8HP onto the switch. I wanted to share the experience to help forewarn others on SFP compatibility.

Most of the machines that could be were moved to used Intel X520-DA2s that I picked up on ebay. The remaining things that required classic 8-wire STP were:

  • a Raspberry Pi 5 - connected via both its internal ethernet and a second USB ethernet in a 802.3ad bond
  • an old 1U Atom machine from SuperMicro (circa 2010)
  • an old Brocade ICX6450-48P (connected via ethernet because of its physical location)
  • another 1U Intel server from SuperMicro (circa 2016)
  • Three bespoke (i.e., built from parts) machines of various vintages (2020-2026)
  • For the duration of the transition, the ZyXEL switch

To try to connect all of this stuff, I bought 3 different types of transceivers:

  • Cisco GLC-T 1GB BASE-T (bought used from eBay)
  • Juniper EX-SFP-1GE-T 740-013111 (bought used from eBay)
  • 10gtek 1000Base-T (bought new from Amazon)

Cisco GLC-T

These would be detected by the switch, but I could not get them to successfully complete auto-negotiation with any device. Disabling auto-negotiation and forcing them to 1G baseT full would allow them to connect to the Brocade & ZyXEL switches, the raspberry pi, and the bespoke machines--but none of the others. If I disconnected the transceiver from the switch, plugged in the ethernet cable, then plugged in the whole module (while still having auto-negotiation and the speed pre-set), then they would also connect to the newer SuperMicro (but not the older one).

In general, this was a very finicky transceiver.

Juniper EX-SFP-1GE-T 740-013111

This behaved quite similarly to the GLC-T. It required deactivation of auto-negotiation and forcing to 1G baseT full to connect to anything. Interestingly, the "plug in cable before transceiver" procedure also allowed this one to connect to the older Super micro.

This was also a finicky transceiver.

10gtek 1000Base-T

This was the most well-behaved of the lot. Auto-negotiation worked with everything that I tried; no custom configuration was needed. In hindsight, I wish that I'd just bought a pile of these rather than trying the "name brand" ones.


The postscript to this story is that I'm now planning to replace all of the Cisco/Juniper transceivers with 10gtek ones since I'm concerned that the ones that needed "extra fiddling" might not play nice in the event of, say, a server reboot.


r/mikrotik • • 9h ago

[Solved] hAP be³ Media: a week of 2.4 GHz WiFi "hardware failure" turned out to be something completely different

64 Upvotes

I'm posting this so the next person doesn't lose a week like I did.

TLDR: Yes, it was the USB 3.0 interference.

https://www.intel.com/content/www/us/en/content-details/841692/usb-3-0-radio-frequency-interference-impact-on-2-4-ghz-wireless-devices-white-paper.html

Setup

  • hAP be³ Media, RouterOS 7.25.2
  • Containers: Jellyfin, Sonarr, Radarr, Prowlarr, Seerr, Nginx Proxy Manager
  • I don't use the internal memory of the router, don't want to ruin the flash memory and there's of course no NVMe/M.2 slot. So the containers, layers and swap run from an NVMe SSD in a USB enclosure, and logs all go to another USB stick.
  • I put the enclosure right next to the router. (Spoiler: I Shouldn't have)

Symptoms on 2.4 GHz (5 GHz was fine)

  • Phones associate, and the WPA handshake completes.
  • The router sees the client's DHCP Discover and logs offering lease ... without success. The offer never reaches the phone.
  • The registration table shows the router's tx-rate stuck at 1 Mbps and 100% ping loss towards the client. Uplink works, downlink is dead.
  • IoT devices (on a different, separated guest bridge) kept working at first, then they also lost downlink, while the interface still showed "running".
  • 2.4 GHz had worked fine for about a week before this started.

What I tried, none of which helped

  • Upgraded RouterOS to 7.25.2
  • Every non-overlapping channel, 20 MHz only
  • Wi-Fi 7 off (2ghz-ax), then back on
  • tx-chains 0 / 1
  • PMF required / allowed, WPA2-only, WPA2/WPA3
  • qos-classifier on/off
  • Recreated the interfaces, gave every virtual AP an explicit MAC
  • A separate test SSID on its own bridge with its own DHCP
  • Tested on 3 different mobiles.

At that point I was convinced the 2.4 GHz radio (ipq5332) was dead. I did also send supout files, logs and config to MikroTik support for help.

The fix

I found this paper from 2012 on accident:
https://www.intel.com/content/www/us/en/content-details/841692/usb-3-0-radio-frequency-interference-impact-on-2-4-ghz-wireless-devices-white-paper.html

I was thinking naaahh that can't be. But I moved the USB 3.0 NVMe enclosure about 1 meter away from the router. 2.4 GHz worked immediately and has been fine since.

This is a known problem. Intel's white paper 327216, "USB 3.0 Radio Frequency Interference Impact on 2.4 GHz Wireless Devices", describes: USB 3.0 signaling radiates broadband noise into the 2.4–2.5 GHz range from the connector, the cable and the device. That noise lowers the receiver's sensitivity. In my case the router couldn't hear the clients' ACKs anymore, so rate control kept falling back to 1 Mbps and the downlink collapsed.

My question to MikroTik

The device is literally called hAP be³ Media, and its whole pitch is running media apps (Jellyfin and friends) through the Apps menu and containers. Those need real storage. Yet:

  • there is no NVMe / M.2 slot,
  • so you have to hang USB 3.0 SSDs or sticks off a box that has a 2.4 GHz radio a few centimeters away,
  • and USB 3.0 is documented to interfere with 2.4 GHz.

Thank you for reading all this. I'm just so happy it's finally over and my router is not broken.


r/mikrotik • • 9h ago

MikroTik CRS312-4C+8XG-RM - Is it robust

3 Upvotes

I am looking at switches to use between our client's ISP and Fortigate (in HA) and I need switches (1 per ISP) that can work in any ISP scenario. Wether the ISP gives us a 10Gigs fiber port or 10gigs Base-T port or 1Gbps, 2.5Gbps or 5Gbps Base-T.

We currently use FortiSwitch 110G-FPOE and they work great but, like always, some clients argue about the price.

I did a bit of AI research and found that Mikrotik switch which seems to do what i need.

Will basically just split it in half (1 Vlan per ISP) so that i could put 2 ISPs in the same switch if 1 of the ISP switches fail.

I do not have any experience with Mikrotik switches but I have heard that routers are solid.

Does anyone have any insight into Mikrotik switches regarding their lifespan and reliability?

thanks