Community discussions

MikroTik App

Search found 283 matches

by lurker888
Tue May 20, 2025 7:06 pm
Forum: General
Topic: Wireguard peer interface irregularly stop working
Replies: 70
Views: 27328

Re: Wireguard peer interface irregularly stop working

Yep, wg requires a monotonous time for handshakes to succeed. And you also correctly pointed out that disabling and enabling a peer resets this timestamp and so it's not checked on the next handshake attempt. Clearly NTP is the proper solution, however I have some applications where it is not easily...
by lurker888
Tue May 20, 2025 10:25 am
Forum: General
Topic: DHCP Pool exhausted - but not really exhausted - bug ?
Replies: 9
Views: 312

Re: DHCP Pool exhausted - but not really exhausted - bug ?

I love the forum too. But to the point. It's a strange behavior for sure. Maybe it really is a bug. I did a quick test both with converting to static and adding a new static entry with the same mac. I couldn't reproduce the behavior. Maybe I didn't do the exact steps that I would assume you took or ...
by lurker888
Tue May 20, 2025 10:01 am
Forum: General
Topic: DHCP Pool exhausted - but not really exhausted - bug ?
Replies: 9
Views: 312

Re: DHCP Pool exhausted - but not really exhausted - bug ?

Hello and welcome, Your dhcp server lease list looks suspiciously like it was created with the "export" command. The export doesn't contain dynamic entries - it is only meant to capture the actual configuration, not print the current state. Try the following command: /ip/dhcp-server/lease/...
by lurker888
Wed May 14, 2025 4:10 am
Forum: General
Topic: RB5009 dropping all traffic for a few seconds
Replies: 23
Views: 2062

Re: RB5009 dropping all traffic for a few seconds

Interesting. I cannot confirm this behavior on my RB5009 (RouterOS 7.18.2, auto-mac=yes). When the Ethernet interface that provides the bridge MAC address goes down, the bridge MAC address does not change. The Mikrotik documentation does not mention the behavior you describe either. On what hardwar...
by lurker888
Mon May 12, 2025 9:36 pm
Forum: General
Topic: RB5009 dropping all traffic for a few seconds
Replies: 23
Views: 2062

Re: RB5009 dropping all traffic for a few seconds

I was helping a colleague and your post popped into my mind. Just an idea, and don't treat it as more, but I'll jot it down here anyway. A similar behavior arises when a port goes down and it is part of a bridge that doesn't have an admin-mac assigned manually. Mikrotik (and generally Linux) systems...
by lurker888
Fri May 09, 2025 5:56 am
Forum: General
Topic: Wireguard: Endpoint and Current Endpoint differ
Replies: 15
Views: 1150

Re: Wireguard: Endpoint and Current Endpoint differ

Output packets are most certainly src-natted. If you don't see your NAT rule working correctly these are the probable causes: 1. If the connection already has a conntrack entry, the src-nat rules are not consulted (again) for the ongoing connection. You have to delete the conntrack entry with some v...
by lurker888
Wed May 07, 2025 5:59 pm
Forum: General
Topic: Am I missing something in relation to "Accept Router Advertisements" and Neighbour Discovery?
Replies: 3
Views: 739

Re: Am I missing something in relation to "Accept Router Advertisements" and Neighbour Discovery?

It would be nice for Mikrotik to allow configuring the accept router advertisements setting per interface (especially because these devices are mainly routers). In the meantime the firewall can be used to filter them Also be aware that there was a bug that enabled remote code execution from malforme...
by lurker888
Wed May 07, 2025 4:44 pm
Forum: General
Topic: mikrotik hex as wireguard client not working
Replies: 15
Views: 1668

Re: mikrotik hex as wireguard client not working

Hi, I have used Mikrotiks in this way many times, so it's definitely possible :-) I have no experience with the hEX S, but they all run the same software, so in terms of Wireguard, there will be no differences. I wouldn't use the wg import function, but configure the tunnels manually. The import is ...
by lurker888
Sun May 04, 2025 3:53 pm
Forum: General
Topic: Assign (wireguard) interface local ip route to specific routing table
Replies: 24
Views: 1977

Re: Assign (wireguard) interface local ip route to specific routing table

Okay. With regard to in-tunnel traffic routing, the "table" parameter of the interface only affects adding the routes based on "allowedips" to the specified (non-main) routing table. If that's your only wish, well that's already accomplished :-) In this regards there is literally...
by lurker888
Sun May 04, 2025 2:39 pm
Forum: General
Topic: Assign (wireguard) interface local ip route to specific routing table
Replies: 24
Views: 1977

Re: Assign (wireguard) interface local ip route to specific routing table

@lurker888 VRF's are similar but not the same. F.e. I'm providing DNS & NTP through ros, but both services can only run in one VRF. At least there doesn't seem to be a way to have DNS/NTP in more then one VRF as in winbox it's just a dropdown so you cant add multiple VRF's. With a 'normal' rout...
by lurker888
Sun May 04, 2025 12:33 pm
Forum: General
Topic: Assign (wireguard) interface local ip route to specific routing table
Replies: 24
Views: 1977

Re: Assign (wireguard) interface local ip route to specific routing table

Isn't all this about trying to recreate a VRF without using the word? Having a separate routing table. Check. Having two interfaces that only use this table for lookups. Check. Wanting to add addresses to the interfaces which only make sense in the given table. Check. All these things would work eff...
by lurker888
Sat May 03, 2025 5:13 pm
Forum: General
Topic: Assign (wireguard) interface local ip route to specific routing table
Replies: 24
Views: 1977

Re: Assign (wireguard) interface local ip route to specific routing table

I think the confusion comes about because OP never actually describes what they want to do. Btw. assigning a default via a wg tunnel in a table of your choice works perfectly. Just tried it, for me it shows up as "As" (Active, static) and doesn't have the U (Unreachable) flag, which is qui...
by lurker888
Thu May 01, 2025 3:22 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

This is a fair point. Though I don't necessarily think that they need to throw the actual syntax out. Maybe it would be easier if they did so rather than special-casing it, but if they at least wanted the CLI experience to be consistent, they could decide to not actually treat table entries as trad...
by lurker888
Thu May 01, 2025 1:12 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

I am curious what you are looking for that is not currently possible with /ip/firewall/connection/remove [find where <blah>] ? I thought I explained it well with: Because the current way with list building and iteration is really cumbersome, slow and resource intensive." Since you suggested a ...
by lurker888
Thu May 01, 2025 11:04 am
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

You're making it awfully hard to disagree with you because you are making valid points :-) Your asserting the kernel current logic, trumps what the MirkoTik docs do say. Perhaps. Docs could be wrong about "on IP change", but that be glaring oversight by MikroTik at this point. And it could...
by lurker888
Thu May 01, 2025 3:45 am
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

I get the kernel discussion... but Mikrotik does patch a lot of things, so kernel version is not always that telling. The docs and history suggest NAT masquerade should clear conntrack based on IP change... so suggestion DHCP feature for it seems premature (i.e. if DHCP client could do it , so coul...
by lurker888
Thu May 01, 2025 2:39 am
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Sorry lurker didnt really understand but you seem to be saying that with the new kernel ( really still an old kernel ) that MT is now using, the unexpected behaviour is normal/expected, much to our shagrin. Furthermore, you are hoping that MT comes up with a built-in easier way to clear the connect...
by lurker888
Thu May 01, 2025 2:05 am
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Yup watching this thread as most expect masquerade to clear connections..........otherwise rextended scripts will get extended use LOL. I would not consider this solved until MT replies with certainty about new behaviour or they forget to do something during programming etc............ Yep. But thi...
by lurker888
Thu May 01, 2025 12:13 am
Forum: General
Topic: RB5009 -> RB5009 DNS FWD doesn't work
Replies: 10
Views: 8382

Re: RB5009 -> RB5009 DNS FWD doesn't work

If that's your only disagreement with what I said, I'll happily give you that :-)
by lurker888
Wed Apr 30, 2025 8:01 pm
Forum: General
Topic: RB5009 -> RB5009 DNS FWD doesn't work
Replies: 10
Views: 8382

Re: RB5009 -> RB5009 DNS FWD doesn't work

@op: You didn't really do anyone a favor by not giving a full config. I don't necessarily agree with @jaclaz that the settings are "all jumbled", but when one doesn't understand a problem, then quite often they don't understand it because they don't know where to look - and only including ...
by lurker888
Mon Apr 21, 2025 7:29 pm
Forum: MikroTik hardware questions
Topic: Using Mikrotik S+RJ10 SFP+ transceiver with RB5009UG+S+IN
Replies: 8
Views: 971

Re: Using Mikrotik S+RJ10 SFP+ transceiver with RB5009UG+S+IN

The rb5009 actually has a trick up its sleeve with its thermal design. The SFP cage is coupled to the backplane/heatsink with a thermal spongy thingy. This gives it quite good characteristics for cooling the modules. Still, multi-gig modules run hot, so don't expect the full temperature range for yo...
by lurker888
Mon Apr 21, 2025 7:18 pm
Forum: General
Topic: Dual power rb5009ug+s+in
Replies: 4
Views: 642

Re: Dual power rb5009ug+s+in

For the DC inputs Mikrotik uses an arrangements of one input diode per dc input with the cathodes joined, which serves as the input to the buffer capacitor and then the smps. Using the same voltage is therefore fine. (I have deployed many devices which do not have dual inputs with the single input p...
by lurker888
Sat Apr 19, 2025 6:52 pm
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

Glad it works.

You shouldn't use proxy-arp btw. You only need it because the address is on ether2 instead of the bridge. When an interface is part of a bridge, all IP related configuration should be done on the bridge.
by lurker888
Fri Apr 18, 2025 3:04 am
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

Yeah, it’s unfortunately more common than you might think, especially at small and mid-sized facilities designed by “old-school PLC guys” who lack basic networking knowledge. Not disagreeing with you. However what *really* surprised me is that I used to work with a bunch of young and *very* talente...
by lurker888
Fri Apr 18, 2025 2:47 am
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

Again, the culture around PLCs, networks and their users is really messed up somehow. An especially common one is that they assume that masquerading on every interface of a router is normal, e.g. even when no nat is done but two subnets are involved and the PLC is being accessed from a different one...
by lurker888
Fri Apr 18, 2025 12:57 am
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

Your diagram is still incomplete/incorrect. My notes: * You say that you want addresses 10.0.80.200-203 (4 addresses) on the ether1 side. I will assume: * You want to use one for managing the your Mikrotik router. Let's assume that's 10.0.80.200. This we will have as a /24 address. * You want to use...
by lurker888
Thu Apr 17, 2025 4:07 pm
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

You really should draw a proper network diagram and then we can talk about the individual rules. Also note that it's not a single rule that in itself does all the things you want, but a set of them that work together. The whole scenario is discussed btw in quite some detail in the thread that lead t...
by lurker888
Thu Apr 17, 2025 3:41 pm
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

[...] and turns out that most issues that I am having are due to incorrect configuration on PLC side. Src-nat takes care of that, because the devices see all connections coming from their own subnet and send answers there. So the default gateway config doesn't come up at all. I was not just trying ...
by lurker888
Thu Apr 17, 2025 2:48 pm
Forum: Beginner Basics
Topic: DST-NAT for multiple wan addresses [SOLVED]
Replies: 34
Views: 4855

Re: DST-NAT for multiple wan addresses [SOLVED]

What the OP is about is a fairly standard ask in the automation field. Just some points: * Yes, most PLCs, sensors, relays etc. allow you to set an address, netmask, gateway and usually offer DHCP support. Somehow the guys doing these sorts of things don't want to set this up correctly. I don't know...
by lurker888
Wed Apr 16, 2025 4:28 am
Forum: Beginner Basics
Topic: Suggestions for hAP ac2 configuration
Replies: 10
Views: 1082

Re: Suggestions for hAP ac2 configuration

Although the number of clients you are serving are not exactly optimal for a single ac2, your problems in this case don't seem to come from wireless problems. The fact that wired clients also have access interruptions confirms this. That you can access the management interface also suggests hat your...
by lurker888
Wed Apr 16, 2025 3:24 am
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

My hunch is that even those in the IPv6 idealist camps would say this isn't the case, since if you are using it "as intended", you will have multiple addresses per interface, and that intra-LAN, your hosts should all be using link-local, or ULA, or something else to talk to each other. Th...
by lurker888
Wed Apr 16, 2025 2:12 am
Forum: General
Topic: Feature Request: Include NAT speeds in Mikrotik Test Results Documentation
Replies: 4
Views: 719

Re: Feature Request: Include NAT speeds in Mikrotik Test Results Documentation

Based on your previous posts there must be some gotcha to your question, but I'll bite. To make sense of the test results, we first look at the size of the packets. Simple IMIX assumes an average IP packet size of 340 bytes. Were we to assume that a TCP connection has one ACK for every full-size fra...
by lurker888
Sun Apr 13, 2025 10:47 am
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

i agree with your arguments about renumbering and why it's not practical to preserve addresses/prefixes in some scenarios, especially for smaller ISPs and ones that have grown their networks organically. One thing I would like to point out however, is that not preserving the allocation and allocatin...
by lurker888
Sun Apr 13, 2025 7:47 am
Forum: General
Topic: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]
Replies: 6
Views: 2230

Re: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]

Glad it worked.

You're always welcome to share your script/template as a reply in the "Useful user articles" topic I referenced. Hint-hint?
by lurker888
Sun Apr 13, 2025 7:09 am
Forum: Beginner Basics
Topic: likely hitting software-based routing limits [SOLVED]
Replies: 23
Views: 4542

Re: likely hitting software-based routing limits [SOLVED]

The ISP modem has 4 1GBps ports and has a built-in dhcp servers .. all i did is connect one of the ports on the CRS326-24S+2Q+RM like in my case port sfp-sfpplus24 and enabling dhcp client on and creating a default route. is what i did wrong in anyway ? how else i m suppose to do this You're probab...
by lurker888
Sun Apr 13, 2025 6:53 am
Forum: General
Topic: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]
Replies: 6
Views: 2230

Re: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]

Any number of things :-) My guesses would start at: * resetting the device without no-default-configuration * somehow your script doesn't run to the end (if any error is encountered, execution stops) - it's best to copy-paste it in parts into the terminal while debugging to actually see the error (i...
by lurker888
Sun Apr 13, 2025 6:24 am
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

IPCP itself doesn't really know about "framed routes", which is just an implementation detail on the PPP server side. [...] Well, I'm not very knowledgeable about last mile technologies. Of course I know that IPCP only handles addresses. I have the impression that usually when a static su...
by lurker888
Sun Apr 13, 2025 5:58 am
Forum: Beginner Basics
Topic: likely hitting software-based routing limits [SOLVED]
Replies: 23
Views: 4542

Re: likely hitting software-based routing limits [SOLVED]

The answers you have been given are essentially correct. You're not the first person to be confused by the product name. The CRS devices are essentially switches and do this functionality and wire-speed. The router in the name refers to the fact that full router functionality is available in their s...
by lurker888
Sat Apr 12, 2025 7:46 pm
Forum: General
Topic: hAP AC2 vs. AX2...
Replies: 20
Views: 2326

Re: hAP AC2 vs. AX2...

Regarding age, the affected one is from the initial series that still had the 256 MB RAM. As for the environment, it has always been in a living room, never exposed to direct sunlight, ambient temperature and vapors you'd expect in a non-smokers' living room... yet here we are. And yes, it is a sin...
by lurker888
Sat Apr 12, 2025 7:33 pm
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

I get the historical reasoning, but the trouble is, from the network's perspective, a UE is a UE is a UE, and a given SIM card could be inserted into any "class" of device, and even be swapped between devices from time to time. The same SIM card that is in a "phone" one minute c...
by lurker888
Sat Apr 12, 2025 5:51 pm
Forum: General
Topic: hAP AC2 vs. AX2...
Replies: 20
Views: 2326

Re: hAP AC2 vs. AX2...

Which is actually great, because in a few years, the moleskin layer turns out into the same sticky mess the thickier rubberish soft coats normally do. I liked the moleskin feel very much too until I've found out his happens. Yep. Especially if they're exposed to high temp, sunlight, vapors (anythin...
by lurker888
Sat Apr 12, 2025 5:40 pm
Forum: General
Topic: Switch Rule does not match IPv6 packets
Replies: 7
Views: 1022

Re: Switch Rule does not match IPv6 packets

If you think you've found a bug, don't hesitate to contact Mikrotik about it. However please be aware, that switch ACLs and rules are not as simple as you would want them to be. The behavior is switch chip dependent and what setting take precedence and when is not trivial (and to add to the frustrat...
by lurker888
Sat Apr 12, 2025 9:01 am
Forum: General
Topic: hAP AC2 vs. AX2...
Replies: 20
Views: 2326

Re: hAP AC2 vs. AX2...

In terms of physical size, would you say there is much difference betwen your ac2 (which I think is the same size as the ac lite) and the ax2? All three have the *exact* same silhouette. The ax2 is noticeably heavier and has a fairly large grille cutout, both due to the larger heatsink necessary fo...
by lurker888
Sat Apr 12, 2025 7:40 am
Forum: General
Topic: hAP AC2 vs. AX2...
Replies: 20
Views: 2326

Re: hAP AC2 vs. AX2...

Hi, There is no "hAP ac2 lite". The devices are: * hAP ac lite (RB952Ui-5ac2nD or -TC for the tower case variant) * hAP ac2 (RBD52G-5HacD2HnD-TC) * hAP ax2 (C52iG-5HaxD2HaxD-TC) That said, both the ac2 and ax2 are a significant upgrade compared to the ac lite. If I had to choose between th...
by lurker888
Sat Apr 12, 2025 6:26 am
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

At least when it comes to 3GPP networks, changes on such large networks (and the devices that connect to them) seem to move at the Speed of Slow(tm). As can be seen when perusing the relevant RFCs and 3GPP standards docs, initially LTE did not support any IPv6 deployment model other than a single /...
by lurker888
Sat Apr 12, 2025 3:45 am
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

why not just use IPv6 NAT? (With non-ULA internal addressing...) If not ULA (which is obviously undesirable due to how most client network stacks treat them), then what IP space would you suggest such a set-up use? That was what the "..." part was about. I'm quite sure that you are aware ...
by lurker888
Sat Apr 12, 2025 2:00 am
Forum: General
Topic: Strange PoE issue between MT router and Omada AP
Replies: 11
Views: 1256

Re: Strange PoE issue between MT router and Omada AP

Designing properly standard compliant PoE devices (both source and sink side) is not exactly trivial, and manufacturing it costs significantly more than the "more-or-less if you look at it the right way" versions of the same. Why not get a nice passive injector? There are actually ones ava...
by lurker888
Sat Apr 12, 2025 1:37 am
Forum: General
Topic: Switch Rule does not match IPv6 packets
Replies: 7
Views: 1022

Re: Switch Rule does not match IPv6 packets

Well, that wouldn't be very switch-like... I tested this on an rb5009 with the 88e6393x and it works correctly. (In the sense that it blocks ipv4, arp, ipv6, etc.) There was a bug related to switch rules that was fixed recently in or around 7.17 which could easily result in your observed result. I d...
by lurker888
Sat Apr 12, 2025 1:11 am
Forum: MikroTik hardware questions
Topic: advise before the purchase of a hEX refresh [SOLVED]
Replies: 7
Views: 2626

Re: advise before the purchase of a hEX refresh [SOLVED]

It's becoming sort of a standard for site-to-site tunnels involving Linux/BSD soho/smb routers. Several years ago I was looking specifically for devices capable of WireGuard for site-to-site small project. This is actually when I learned about MikroTik. People like you reporting their real-world ex...
by lurker888
Fri Apr 11, 2025 7:50 pm
Forum: RouterOS beta
Topic: Feature request: ND Proxy (RFC 4389)
Replies: 24
Views: 14883

Re: Feature request: ND Proxy (RFC 4389)

At the risk of being an idiot online: for these sorts of residential connections, why not just use IPv6 NAT? (With non-ULA internal addressing...) While it's not absolutely technically the cleanest, but neither is not delegating at least a /56 (or lately a /60) proper according to recommendations.
by lurker888
Fri Apr 11, 2025 7:40 pm
Forum: General
Topic: CCR2004-16G-2S+ stable?
Replies: 2
Views: 561

Re: CCR2004-16G-2S+ stable?

How's everyone's experience with the CCR2004-16G-2S+ been these days? I remember hearing a lot about stability issues, but that was a while ago and could have been related to running V6 on it, when it was designed for V7, or maybe early V7 bugs. What's everyone's thoughts on the stability of the CC...
by lurker888
Fri Apr 11, 2025 7:25 pm
Forum: Beginner Basics
Topic: RB5009 drops hardware vpn packets but not through another switch
Replies: 22
Views: 2507

Re: RB5009 drops hardware vpn packets but not through another switch

I think you've tried the usual stuff. Sometimes gigabit auto kind of conspires to make your life difficult. Downgrading etc. usually doesn't help with these devices. (I mean devices with the Marvell switch chips.) The drivers are solid in this regard and simply don't change version to version. When ...
by lurker888
Fri Apr 11, 2025 8:22 am
Forum: MikroTik hardware questions
Topic: advise before the purchase of a hEX refresh [SOLVED]
Replies: 7
Views: 2626

Re: advise before the purchase of a hEX refresh [SOLVED]

I think it would be nice to publish wg performance data for the different models. It's becoming sort of a standard for site-to-site tunnels involving Linux/BSD soho/smb routers. Or maybe someone with lots of devices lying around could provide us with a proper comparison??? If the numbers sound a bit...
by lurker888
Wed Apr 09, 2025 4:44 am
Forum: Beginner Basics
Topic: Mikrotik CRS326-24s+2q+rm won't work after RoterOS 7.12.1 Upgrade
Replies: 9
Views: 1022

Re: Mikrotik CRS326-24s+2q+rm won't work after RoterOS 7.12.1 Upgrade

That you got this far is actually good news. The formatting/transfer only takes at most a few minutes. I only encountered a similar situation when I nudged the rj45 connector loose. (The locking tab, as usual, was broken.) EDIT: It's safe to unplug/retry as many times as you have to. There are two p...
by lurker888
Wed Apr 09, 2025 2:49 am
Forum: MikroTik hardware questions
Topic: advise before the purchase of a hEX refresh [SOLVED]
Replies: 7
Views: 2626

Re: advise before the purchase of a hEX refresh [SOLVED]

Hi and welcome to the forum! Mikrotik routers basically all run the same software, so have the same feature set (with some minor differences). I'd reject the hEX S (rb750igs) out of hand, because it has a MIPS CPU, and Mikrotik has pretty much committed itself to ARM devices for the future. Unless y...
by lurker888
Wed Apr 09, 2025 2:03 am
Forum: Beginner Basics
Topic: Mikrotik CRS326-24s+2q+rm won't work after RoterOS 7.12.1 Upgrade
Replies: 9
Views: 1022

Re: Mikrotik CRS326-24s+2q+rm won't work after RoterOS 7.12.1 Upgrade

Well something went wrong, that much is pretty obvious. Actually the latest version marked as stale is the 7.18.2. Your best bet in these situations is to netinstall the device. You'll have to get both the netinstall program and the routeros software (mipsbe version) from the download page. Netinsta...
by lurker888
Tue Apr 08, 2025 9:10 pm
Forum: General
Topic: Multi-wan multi-ip wireguard setup
Replies: 15
Views: 1582

Re: Multi-wan multi-ip wireguard setup

Only authenticated users show up in the peers as "Current endpoint address". If I understand your solution correctly, thanks to the src-nat rule in input, the current enpoint address is always 172.16.10.2 (as per https://forum.mikrotik.com/viewtopic.php?p=1136875#p1136875) . So to find a ...
by lurker888
Tue Apr 08, 2025 8:55 pm
Forum: General
Topic: CCR2116 + 802.3ad + Bridge +l3HW-Offload
Replies: 6
Views: 925

Re: CCR2116 + 802.3ad + Bridge +l3HW-Offload

Check for the obvious: DHCP snooping disables fast track. I had a similar issue a while ago. It didn't involve LACP, but that shouldn't have an effect on fast track. So, basically fast track wouldn't work for traffic coming from and going back into the same vlan filtered bridge. (Counters weren't in...
by lurker888
Tue Apr 08, 2025 6:44 pm
Forum: General
Topic: Multi-wan multi-ip wireguard setup
Replies: 15
Views: 1582

Re: Multi-wan multi-ip wireguard setup

Thank you for your reply. Banning works for other services. Not for wg. May be you are correct that limiting the the rate is a better solution than banning. For now I do not know yet how to capture from logs or other way the auth failure of the peers. For now I use the client ip to differentiate fr...
by lurker888
Mon Apr 07, 2025 12:00 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

Just to be very clear: the WireGuard protocol requires that the destination address of the initial handshake request MUST match the source address of the initial handshake response , otherwise the session will be dropped. If the handshake succeeds, then it is fine for the address to change, and Wir...
by lurker888
Mon Apr 07, 2025 10:54 am
Forum: General
Topic: Different Link-Local for VLANs under the same Bridge?
Replies: 2
Views: 467

Re: Different Link-Local for VLANs under the same Bridge?

Hi and welcome! The ability to set link-local addresses was added is 7.17. From the changelog: *) ipv6 - added support for manual link-local address configuration; A better question is: why would you want to do that? Usually for the link-local address is constructed from the mac address, which is th...
by lurker888
Mon Apr 07, 2025 10:41 am
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

So here's my response. (I see what you are doing with wireguard just dont agree with it. There is no case where both sides of a connection need 50.0/24 that I can see.) I just wanted to send a ping across. This is what I typed first. There's no hidden agenda. :-) So our mangling was working but real...
by lurker888
Mon Apr 07, 2025 10:15 am
Forum: General
Topic: Multi-wan multi-ip wireguard setup
Replies: 15
Views: 1582

Re: Multi-wan multi-ip wireguard setup

@Mimiko: I'm not clear on what you want to do. Only authenticated users show up in the peers as "Current endpoint address" Why would you want to ban authenticated users? If you really want to ban them, why not just disable the peer? If you're afraid of the CPU load that failed authenticati...
by lurker888
Mon Apr 07, 2025 4:03 am
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

ECMP behavior has changed many times in the kernel. E.g. the 4.4 series was massively hated for this. Some were reversed, some not. There's an entire cottage industry of kernel modules that beef up/apply different heuristics to ECMP path selection. Locally originated packets for ECMP are an even mur...
by lurker888
Mon Apr 07, 2025 2:48 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Exactly. The redundancy I don't mind so much, but a connection can only carry one mark. (In this case it doesn't cause any trouble though.)

As to the VRF version: I have a few of these projects on my list. Sooner or later I'll get around to it. It would of course be very welcome if you'd test it out.
by lurker888
Mon Apr 07, 2025 2:37 am
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

I really am not getting your question. I promise I'm not being purposefully obtuse, and I *have* read your post several times and in full before responding. So I can only answer literally the question you have asked. So if the SELECTION PROCESS as we understand it is. What will will the router choos...
by lurker888
Sun Apr 06, 2025 11:54 pm
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

No, I wrote exactly what I meant. We are specifically talking about a situation in which * you have multiple connections with defaults (maybe ECMP, maybe failover) * these are "normal ISP" connections, where you receive an address that should be used for outbound traffic for each of them (...
by lurker888
Sun Apr 06, 2025 10:53 pm
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

So lurker did you test like 3 WANS with ECMP load balancing Basic mangle rule in wan3 out wan3 generic all traffic to WAN back out same WAN. What does the wireguard process choose for source address in this case, alway the correct WAN?? ( regardless if you put wireguard on wan1, wan2, or wan3 ) I d...
by lurker888
Sun Apr 06, 2025 9:55 pm
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

@lurker888, does EOIP really have the same handshake issue as WG, like I described above? It doesn't. EoIP is only used to provide the two wan connections in the test setup. The packet capture is of wireguard traffic. The description of the test setup makes this clear: We have two WANS. For this ex...
by lurker888
Sun Apr 06, 2025 8:17 pm
Forum: General
Topic: WireGuard Multi-WAN Policy Routing
Replies: 113
Views: 20319

Re: WireGuard Multi-WAN Policy Routing

Okay, but have you actually tested the "hard down" theory? Anyhow, we still use routing rules, which we consider clean and easy, and they work with MACVLAN too. And we'll keep using this approach until Mikrotik fixes the issue where the initial WireGuard handshake always leaves through th...
by lurker888
Sun Apr 06, 2025 7:21 pm
Forum: General
Topic: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD
Replies: 7
Views: 974

Re: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD

Yes, I'm looking at /system/routerboard. Keep in mind that all of my 256MB devices were purchased at the same time, and so were the 128MB ones (at a later date), so I probably only have devices from two production runs. My older 256MB devices have 6.40.5 (2017-10-31) as the factory version, the rela...
by lurker888
Sun Apr 06, 2025 5:14 pm
Forum: General
Topic: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD
Replies: 7
Views: 974

Re: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD

You're pretty attentive! All of my ac2 devices have stickers with "-TC" on the boxes and on the units themselves. The 256MB report themselves as "-TC", the 128MB ones not. :-)
by lurker888
Sat Apr 05, 2025 11:08 pm
Forum: General
Topic: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD
Replies: 7
Views: 974

Re: Difference between hAP ac2 RBD52G-5HacD2HnD-TC and RBD52G-5HacD2HnD

Hi, That's a neat observation. I have both, but never noticed. The -TC was used by Mikrotik to mean "Tower Case" in the "hAP ac lite", which is released as both RB952Ui-5ac2nD-TC and RB952Ui-5ac2nD. (The former having the case style of the hap ac2) I'm not aware of the hap ac2 ev...
by lurker888
Sat Apr 05, 2025 10:22 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

My bad that is valid, but this is assuming the remote router is an MT router. ( client peer for handshake) ........ makes sense, so other peers connecting to the local router can easily re-enter the tunnel and reach the remote router via the local router, so to speak. The local router needs allowed...
by lurker888
Sat Apr 05, 2025 6:27 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

It goes to root reason. As I stated, WAN1 being primary WAN2 secondary wanting to use WAN2 for wireguard. We only need to mangle for WAN2 and the problem was the router was sending return traffic via WAN1........ In my reply I pointed out that you don't *have* to do anything to wan1 traffic for eve...
by lurker888
Sat Apr 05, 2025 5:44 am
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

So in your example you have to manipulate both wans, not just wan2?? I don't exactly get what you mean by "manipulate". In the example I treat the WANs in a symmetric manner. We don't have to. If we remove everything that is related to the wg-wan1 mark, so these: /ip firewall mangle add a...
by lurker888
Sat Apr 05, 2025 3:37 am
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

I was planning on writing out an example, so just for your reading pleasure: the official "rabbit hole solution" to multi-wan wireguard hosting. We have two WANS. For this example, the two WAN connections are actually EoIP tunnels to another router. The base configuration is: Interfaces: /...
by lurker888
Fri Apr 04, 2025 10:12 am
Forum: General
Topic: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]
Replies: 6
Views: 2230

Re: RS305-1G-4S: map 4 devices with same IP to different IPs [SOLVED]

Hi, Really common question. Here are the references: https://forum.mikrotik.com/viewtopic.php?t=215744 https://forum.mikrotik.com/viewtopic.php?t=215953 The first one has explanations, he second one has a working example. (The second one will probably get corrected based on my latest comments in the...
by lurker888
Fri Apr 04, 2025 9:52 am
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

If you meet the criteria that I've explained in the previous post about "main" routes and addresses not being lost, sindy's version works absolutely fine with leaving the source address in place. Of course only if correctly implemented :-) Public addresses are static, but providers may di...
by lurker888
Fri Apr 04, 2025 9:43 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Glad it's working, and a great writeup! Now I will know where to refer people asking for this. It comes up several times a month. The following part should be however corrected. second one has connection and routing marks on traffic coming from the PLCs to the router. /ip firewall mangle # Mark conn...
by lurker888
Thu Apr 03, 2025 8:37 pm
Forum: General
Topic: Device-mode changes hit or miss? Mikrotik strategy?
Replies: 38
Views: 3615

Re: Device-mode changes hit or miss? Mikrotik strategy?

Sounds like a kind of "secret key" (rather than a password). Good idea. But won't help for already deployed devices. A rose by any other name. The problem around the whole thing is: * The attacks/botnets have become increasingly weaponized and are not one-off any more, but supported by ei...
by lurker888
Thu Apr 03, 2025 7:48 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

I'm wondering how dnating to onother ip of wan1 will assure that originated from wireguard packets will have src ip of second wan? Or i'm missing something. Both dst-nat and src-nat (and masquerade) actions do *both* a translation that is specified in the rule, *and* a translation of the packets in...
by lurker888
Thu Apr 03, 2025 1:19 am
Forum: General
Topic: Device-mode changes hit or miss? Mikrotik strategy?
Replies: 38
Views: 3615

Re: Device-mode changes hit or miss? Mikrotik strategy?

@infabo Sorry, but this is exactly why they say that the road to hell is paved with good intentions. First of all, this device controller at this point is just a dream. Second, companies really like this stuff because then the devices can be tied to subscriptions and their resale can be limited. Man...
by lurker888
Wed Apr 02, 2025 9:55 pm
Forum: General
Topic: Public DNS to private IP
Replies: 44
Views: 3142

Re: Public DNS to private IP

What you have in your DNS records and whether you do or don't do nat has no bearing on your firewall and access control capabilities. Maybe I'm misunderstanding, but I assumed that by NAT you meant opening a port that forwards frames arriving on the public IP address port of the router (the WAN por...
by lurker888
Wed Apr 02, 2025 9:49 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

Any thoughts on what the responder checkbox is trying to do?? Sorry, I meant to answer that one as well, just forgot by the time I got there. Responder is a very useful feature. Wireguard in its default form (that generally should not be reconfigured by the user) behaves in the following way: * the...
by lurker888
Wed Apr 02, 2025 8:24 pm
Forum: General
Topic: Public DNS to private IP
Replies: 44
Views: 3142

Re: Public DNS to private IP

What you have in your DNS records and whether you do or don't do nat has no bearing on your firewall and access control capabilities.
by lurker888
Wed Apr 02, 2025 8:00 pm
Forum: General
Topic: Public DNS to private IP
Replies: 44
Views: 3142

Re: Public DNS to private IP

Just thought I'd chime in to add to the confusion. Generally, private (RFC1918, etc.) addresses are permitted in public DNS records, in fact this is not uncommon. The rise in popularity of this is in fact rising because it's not exactly easy to do split DNS nowadays with hard-coded DNS servers on de...
by lurker888
Wed Apr 02, 2025 7:41 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

@Mimiko My post that explains why wireguards has this idiosyncrasy in its design (right here on this thread): https://forum.mikrotik.com/viewtopic.php?p=1111816#p1111816 And the one that explains the source address assignment in detail: (You should probably scroll though the entire thread) https://f...
by lurker888
Wed Apr 02, 2025 11:37 am
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

Thank you. This does work. I already have marked and sticky connections implemented per each incoming WAN IP. Also @Larsa, of course each client is configured with its own public key and all allowed addresses. It was just this thing about different WAN IP. @lurker888 why define a rule in /ip/firewa...
by lurker888
Wed Apr 02, 2025 11:18 am
Forum: General
Topic: Device-mode changes hit or miss? Mikrotik strategy?
Replies: 38
Views: 3615

Re: Device-mode changes are hilarious

@infabo: There is currently no way to set device-mode in netinstall scripts (without the unplug/reset procedure) It was suggested by many to allow only scripts executed as post netinstall scripts to be allowed to do this. As far as I know, it was not implemented. The device-mode settings persist ind...
by lurker888
Wed Apr 02, 2025 12:42 am
Forum: General
Topic: Device-mode changes hit or miss? Mikrotik strategy?
Replies: 38
Views: 3615

Re: Device-mode changes are hilarious

Originally device-mode limited some things. Okay, most of these were newly introduced anyway, like containers. Then device mode limited more things after an upgrade. Okay, we have to reset/unplug everything. Please stick to the facts. Under the old "enterprise" device mode, everything was...
by lurker888
Tue Apr 01, 2025 11:27 pm
Forum: General
Topic: Device-mode changes hit or miss? Mikrotik strategy?
Replies: 38
Views: 3615

Re: Device-mode changes are hilarious

Although with device mode *some* input from the community was taken into account, it was not nearly enough. Originally device-mode limited some things. Okay, most of these were newly introduced anyway, like containers. Then device mode limited more things after an upgrade. Okay, we have to reset/unp...
by lurker888
Tue Apr 01, 2025 7:50 pm
Forum: Beginner Basics
Topic: Constant high outbound traffic from ether1
Replies: 14
Views: 1786

Re: Constant high outbound traffic from ether1

Just writing to emphasize the points made by @mkx. While non-standard ports, port knocking, etc. are useful in cutting down on the number of log entries or in mitigating CPU usage from failed authentication attempts in case a bot/botnet really takes a liking to you, actual security is provided by se...
by lurker888
Tue Apr 01, 2025 7:26 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

@Larsa: Of course this also works with the two addresses on any interface (one assigned to the router and one not assigned, but routed to the interface in the "main" table - these are the criteria for conntrack to work). For me the wg interface is associated with the overlay traffic and in...
by lurker888
Tue Apr 01, 2025 5:12 pm
Forum: General
Topic: Chromcast firewall rules
Replies: 5
Views: 1115

Re: Chromcast firewall rules

You will have to somehow allow the reverse connection obviously. You can make the thing a bit more secure by using something a bit like port knocking: * add a dst-address-list criterion to your rule for port 8010 * populate this address list based on packets flowing to your ChromeCast control ports ...
by lurker888
Tue Apr 01, 2025 4:56 pm
Forum: General
Topic: RouterOS blatantly ignores pref-src. Can this really be a bug?
Replies: 92
Views: 10350

Re: RouterOS blatantly ignores pref-src. Can this really be a bug?

I think I understand what @Mimiko want: simply to have many WAN addresses, and for wg to always answer on that address. WG intentionally as a bit of a strange behavior (different from the usual stuff like ping, DNS over UDP, OpenVPN over UDP, etc.) One way of doing what is asked for here is the foll...
by lurker888
Mon Mar 31, 2025 3:03 pm
Forum: Beginner Basics
Topic: Constant high outbound traffic from ether1
Replies: 14
Views: 1786

Re: Constant high outbound traffic from ether1

That you see traffic on the WAN that you don't see on the bridge means that the outbound traffic is generated by your router. It is likely that you router is being used to attack others on the Internet using DNS amplification, as referenced by others. The easy way to both see if this is happening is...
by lurker888
Sat Mar 29, 2025 1:16 am
Forum: MikroTik hardware questions
Topic: upgrading old mikrotik RB2011UiAS-Rm
Replies: 5
Views: 1289

Re: upgrading old mikrotik RB2011UiAS-Rm

Thank you for the replies! The manager want to keep all wireguard peers, so i was wondering if the cpu will handle the load. Also, I read in the forum that ccr2004 cpu manages the switch chips, and rb5009 switch management is not from the cpu - if i got this correctly - so isn't this a bottleneck f...
by lurker888
Fri Mar 28, 2025 11:22 pm
Forum: MikroTik hardware questions
Topic: upgrading old mikrotik RB2011UiAS-Rm
Replies: 5
Views: 1289

Re: upgrading old mikrotik RB2011UiAS-Rm

Yep. The rb2011 is a nice and decent device, it just has its limitations. Saying that you only problem with a device introduced in 2011 is that it feels sluggish with today's internet speeds is a testament to the quality of their design, and the fact that it still receives regular software updates i...
by lurker888
Fri Mar 28, 2025 11:07 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

I wouldnt know eltikpad, I have never had to resort to putting an address on the bridge while using vlans. I prefer clean separation of bridge from DHCP etc, once I start using vlans. I can image one situation where it would be natural to have the bridge port as an access port: when using the devic...
by lurker888
Fri Mar 28, 2025 10:10 pm
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

With your current setup the ping is supposed to work (or not work) as you describe. This does not indicate that you didn't accomplish what you set out to do, or that somehow it's wrong; this is just not implemented. Most people are happy to get this far, and accomplish the bare minimum, so really ju...
by lurker888
Fri Mar 28, 2025 4:02 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

This forum also has a section named "Useful user articles". This thing comes up on the forum from time to time - maybe consider doing a write-up...
by lurker888
Fri Mar 28, 2025 3:56 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Good to hear. So... in order: You have to add the tables manually, and the routing marks are created by the table. I missed that part. The routing rules that you added are not strictly necessary. Without the rules, the behavior would be very similar, only with the action "lookup" instead o...
by lurker888
Fri Mar 28, 2025 1:30 am
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

It's considered "established".

Next up will be to disable fasttrack. Sounds good, doesn't work.
by lurker888
Thu Mar 27, 2025 11:17 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Since you're seeing something that seems to completely contradict the documentation, I actually prototyped the issue fully. (I drank too much coffee and have too much time on my hands.) In this case of course I control the DHCP server. When I force the client to renew (and of course it's NAK'd, and ...
by lurker888
Thu Mar 27, 2025 9:58 pm
Forum: General
Topic: IPv6 Setup Weirdness [SOLVED]
Replies: 25
Views: 10701

Re: IPv6 Setup Weirdness [SOLVED]

You could log the RAs you receive. Maybe your provider doesn't send any? For an internal host I'm logging 2025-03-27 19:53:03 radvd,debug received Router Advertisement on vlan100-local from fe80::dc2c:6eff:fe48:9517 2025-03-27 19:53:03 radvd,debug mtu 1480 2025-03-27 19:53:03 radvd,debug DNS server ...
by lurker888
Thu Mar 27, 2025 9:15 pm
Forum: General
Topic: IPv6 Setup Weirdness [SOLVED]
Replies: 25
Views: 10701

Re: IPv6 Setup Weirdness [SOLVED]

other-configuration (yes | no; Default: no) The flag indicates whether hosts should use stateful autoconfiguration to obtain additional information (excluding addresses). GIve it a try. Your will probably have to reboot. That's just for emitted RAs. BTW he's already running a DHCP client, which is ...
by lurker888
Thu Mar 27, 2025 9:11 pm
Forum: General
Topic: Make WireGuard VPN accessible from anywhere
Replies: 2
Views: 946

Re: Make WireGuard VPN accessible from anywhere

Hi, You just have to make your Wireguard server reachable from wherever it is you want to connect from. If the Mikrotik is not your Internet gateway, then this involves port forwarding; if it is then that doesn't have to be done. The default firewall blocks incoming connections, so you'll probably h...
by lurker888
Thu Mar 27, 2025 8:57 pm
Forum: General
Topic: IPv6 Setup Weirdness [SOLVED]
Replies: 25
Views: 10701

Re: IPv6 Setup Weirdness [SOLVED]

Just a note. When the "accept router advertisement" setting is changed, it only takes effect after a reboot. (Newer versions have a warning about this.)
by lurker888
Thu Mar 27, 2025 6:32 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Looked it up amongst the kernel patches. For some time period the behavior was indeed to purge the connections if the address changed (pr added/removed). This was reverted, and it is not the behavior any more. The purging of the entries only happens on link down. (At least for the 5.6 that Mikrotik ...
by lurker888
Thu Mar 27, 2025 5:32 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Could you also share the sniffed packets as received and transmitted by the rb5009, both on the external and internal interface?
by lurker888
Thu Mar 27, 2025 4:05 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

If I can provide any more information or config, please let me know.
Exactly! Do so. A full config would be the first step. (Redact private stuff as needed.)
by lurker888
Thu Mar 27, 2025 3:43 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

Well, exactly that's the reason I think it's a bug, because there is no src-nat rule in place. I'm using masquerade only: In may experience the masquerade part of conntrack works correctly and purges the appropriate entries. I'm not trying to be dismissive, but I would assume that there is somethin...
by lurker888
Thu Mar 27, 2025 3:34 pm
Forum: General
Topic: rOS for L2 switches
Replies: 6
Views: 1188

Re: rOS for L2 switches

I would agree with the others. Just having proper encrypted management access is enough to push me in the RouterOS direction. I also find having all sorts of router and VPN functionality, MVRP etc. really nice. I wouldn't exactly say take SwOS out the back and shoot it. I'd rather put in in marketin...
by lurker888
Thu Mar 27, 2025 3:28 pm
Forum: General
Topic: DHCP snooping bridge and tagged interfaces
Replies: 3
Views: 1070

Re: DHCP snooping bridge and tagged interafaces

When posting questions like this it is always nice to include a full configuration export of your device, because setting may have (seemingly strange) interactions. (/export file=choseaname; you may wish to read this over and redact any information you don't want to share.) That said, what you descr...
by lurker888
Thu Mar 27, 2025 3:13 pm
Forum: General
Topic: Feature Request: Specify Source Address in DNS Server
Replies: 8
Views: 4586

Re: Feature Request: Specify Source Address in DNS Server

Maybe I'm totally confused, but I understand OP to mean that he wants to make the DNS server's queries (when recursing) to come from a different source address *depending on* who the request was received from. The in-built resolver doesn't support anything like this. This would also necessarily invo...
by lurker888
Thu Mar 27, 2025 2:57 pm
Forum: General
Topic: Connection tracking table not cleared completely after WAN IP address change
Replies: 38
Views: 13256

Re: Connection tracking table not cleared completely after WAN IP address change

It works as designed. To elaborate a bit, there is a difference between NAT action=masquerade and action=src-nat. In case masquerade is used, the conntrack entries are purged automatically. For src-nat they are not. In this case ou can clear them using a script as suggested. This doesn't affect conn...
by lurker888
Thu Mar 27, 2025 1:11 pm
Forum: General
Topic: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets
Replies: 5
Views: 1422

Re: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets

No need to apologize; everyone's just here to help. (Okay, sometimes people just come for some fun flame wars :-) )

Glad it's resolved.
by lurker888
Thu Mar 27, 2025 1:03 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

In principle you don't want to set bridge port as tagged member of a VLAN if you don't intend CPU to interact with that VLAN over that bridge. [...] So I'm eager to hear use case for such setup. Huh? That's just not true. Maybe you are assuming that the MT in question is a router that will also be ...
by lurker888
Thu Mar 27, 2025 12:40 pm
Forum: Beginner Basics
Topic: When is connection-nat-state applied (default firewall rule)?
Replies: 13
Views: 2704

Re: When is connection-nat-state applied (default firewall rule)?

I was kind of surprised that mikrotik doesn't have the option to change the default policy as expended upon in many other threads, especially considering how straight-forward it is to do in iptables; maybe there is some other technical issue, maybe its just not worth their time since a drop all rul...
by lurker888
Thu Mar 27, 2025 1:55 am
Forum: MikroTik hardware questions
Topic: Replacing a flash drive - problem with the Software-ID
Replies: 33
Views: 10568

Re: Replacing a flash drive - problem with the Software-ID

Okay, I couldn't resist adding an example of how to do it correctly. Watch from 3:17
https://www.youtube.com/watch?v=PYIEP0u ... e6&index=3

The guy is an instructor with top notch equipment including proper non-ocular (stereoscopic) magnification.
by lurker888
Thu Mar 27, 2025 1:13 am
Forum: MikroTik hardware questions
Topic: Replacing a flash drive - problem with the Software-ID
Replies: 33
Views: 10568

Re: Replacing a flash drive - problem with the Software-ID

Well.. I'm an EE and neither me, nor my colleagues, nor the technicians that I worked with had any difficulty in soldering these things with just a normal soldering iron (Weller TCP / Hakko fx-888, etc.) and tweezers. (And with better ones like the Hakko fx-951 it's much easier.) I tried to look up ...
by lurker888
Wed Mar 26, 2025 9:18 pm
Forum: MikroTik hardware questions
Topic: Replacing a flash drive - problem with the Software-ID
Replies: 33
Views: 10568

Re: Replacing a flash drive - problem with the Software-ID

Or you can just cut off the plastic pins. BTW soldering these low pin count SONs with a normal soldering iron is totally possible, if not necessary fun. And the cheap hot air stations go for under USD 100 and work completely fine. (Of course the USD 1000+ brand name ones look nicer :-) ) Many people...
by lurker888
Wed Mar 26, 2025 1:36 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Also please update the software on your device to something recent; I would suggest the latest stable version 7.18.2. Bugs are fixed all the time and devices usually ship with quite ancient versions. Please don't forget that the bootloader/firmware (called RouterBoot) has to be updated as a separate...
by lurker888
Wed Mar 26, 2025 1:28 am
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

[...] the only thing I cannot wrap my head around is that the same "address=192.168.0.180/24" can actually be applied to multiple different interfaces without causing RouterOS to get confused. Having the same address and subnet on multiple interfaces only becomes problematic when routing ...
by lurker888
Tue Mar 25, 2025 11:35 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

How is it "reserved"? Or, how is "bridging between access ports to VLAN XYZ" different from "bridging between untagged ports"? What would be the purpose of a managed switch if you could not make an "untagged port" (= access one) a member of whatever VLAN you ...
by lurker888
Tue Mar 25, 2025 11:10 pm
Forum: General
Topic: Local connection to nated gameserver very slow / high ping
Replies: 21
Views: 2591

Re: Local connection to nated gameserver very slow / high ping

Well... your setup seems ok based on a cursory reading. How high do your pings get? Compared to your friends? Make sure that you are addressing your server via the router's *external* address even from the inside. You can always enable logging for your hairpin nat rule to check if all the address tr...
by lurker888
Tue Mar 25, 2025 10:51 pm
Forum: General
Topic: [Bug-Fix-Request] DHCP-Option 82 on hEX S not disable HW-Forward by default
Replies: 13
Views: 3779

Re: [Bug-Fix-Request] DHCP-Option 82 on hEX S not disable HW-Forward by default

[...] If you have a WAN port outside of the bridge, then fasttrack would still be working for connections between the WAN port and the interfaces on the bridge (including VLANs), but both fast path and fasttrack will be ineffective for any traffic between members of the bridges (such as inter-VLAN ...
by lurker888
Tue Mar 25, 2025 10:43 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

Perhaps this is what you are getting at, but most of these aforementioned switches will reserve VID 1 as an "untagged" VLAN, and likely will either not accept (or egress) tags on a trunk port with VID=1 (because it won't allow you to configure that as a valid trunk tagged ID to begin with...
by lurker888
Tue Mar 25, 2025 10:28 pm
Forum: General
Topic: routerOS & Mirkotik for the noobs
Replies: 6
Views: 1562

Re: routerOS & Mirkotik for the noobs

RouterOS generally exposes the networking system of the Linux kernel almost directly to the user. That means that you generally have to know what you're doing to configure it correctly. The other commenters are completely correct in that it doesn't require any sort of diploma or formal training, but...
by lurker888
Tue Mar 25, 2025 7:51 pm
Forum: General
Topic: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets
Replies: 5
Views: 1422

Re: WAN NAT assigned source port being used as destination port on LAN for SNMP acknowledgemnets

Hi! The firewall NAT actions src-nat and masquerade do the reverse port translation correctly, so what you describe is probably not what is happening. (Or not all that is happening.) To clear up the situation: create a packet capture on *both* the LAN and WAN side for these packets. (This can be don...
by lurker888
Tue Mar 25, 2025 7:28 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

If you don't mind me hijacking the thread a bit about vlan 1. I fully agree with @sindy, that "don't use vlan 1" has become somewhat of a meme on this forum, and I also agree that memes in and of themselves are often not very useful. However this does have some basis in reality. In most sw...
by lurker888
Tue Mar 25, 2025 3:24 pm
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Hello lurker888, many thanks for your reply! And pointing out the somewhat interesting choice of router model (sadly, I was not involved in the purchasing decision) - we might revisit this decision! Don't worry then. If you're looking for long-term reliability then I would seriously consider someth...
by lurker888
Tue Mar 25, 2025 12:41 pm
Forum: Beginner Basics
Topic: 1:1 NAT / DNAT configuration help
Replies: 19
Views: 2711

Re: 1:1 NAT / DNAT configuration help

Hi, what you want to do comes up quite frequently in industrial automation type scenarios. The good news is that it absolutely can be done, however it requires something called "policy routing", which is not the easiest for a first try at configuring Mikrotik devices. Some ideas: https://f...
by lurker888
Tue Mar 25, 2025 12:16 pm
Forum: General
Topic: My recent VLAN fiasco [SOLVED]
Replies: 48
Views: 13717

Re: My recent VLAN fiasco [SOLVED]

@sindy @erlinden I thought I were starting to understand, but I am lost again :? I am not sure about the difference between a purely trunk bridge-the-port or an hybrid bridge-the-port. Why would I chose one configuration over the other ? I am not sindy or erlinden but... You should realize that the...
by lurker888
Tue Mar 25, 2025 11:53 am
Forum: Beginner Basics
Topic: When is connection-nat-state applied (default firewall rule)?
Replies: 13
Views: 2704

Re: When is connection-nat-state applied (default firewall rule)?

I agree with almost everything said in this thread. The default firewall rules as written are totally correct, and match what most (not really configurable) off-the-shelf routers provide. However I also think that it would be easier to understand and modify them if they were split up to be more expl...
by lurker888
Tue Mar 25, 2025 11:27 am
Forum: Beginner Basics
Topic: CRS326-4C+20G+2Q+ high CPU with incoming packets
Replies: 6
Views: 1596

Re: CRS326-4C+20G+2Q+ high CPU with incoming packets

You chose option 1. Good for you!

I would suggest checking out number 2 as well. It's much cleaner - at least in my estimation. You will get the same throughput.
by lurker888
Fri Mar 21, 2025 6:16 am
Forum: Beginner Basics
Topic: CRS326-4C+20G+2Q+ high CPU with incoming packets
Replies: 6
Views: 1596

Re: CRS326-4C+20G+2Q+ high CPU with incoming packets

Hi! You're jumping in on the deep end here. What you want can generally be done, but expect a bit of a learning curve on the way. Actually I've helped someone with a setup similar to yours recently and the results were very satisfying. The CRS (Cloud Router Switch) devices are named quite awkwardly,...
by lurker888
Thu Mar 20, 2025 1:04 pm
Forum: General
Topic: Blocking the "standard"/most common DNS-over-HTTPS servers
Replies: 15
Views: 2442

Re: Blocking the "standard"/most common DNS-over-HTTPS servers

It should return NXDOMAIN. So it depends on what you mean by "blocked". It seems I have misinterpreted the mentioned article (and how Pi-hole responds to blocked domains). I interpreted the article as saying that as long as the domain doesn't resolve in a completely normal manner, it's co...
by lurker888
Thu Mar 20, 2025 7:35 am
Forum: General
Topic: Blocking the "standard"/most common DNS-over-HTTPS servers
Replies: 15
Views: 2442

Re: Blocking the "standard"/most common DNS-over-HTTPS servers

It should return NXDOMAIN. So it depends on what you mean by "blocked".
by lurker888
Thu Mar 20, 2025 12:11 am
Forum: General
Topic: Blocking the "standard"/most common DNS-over-HTTPS servers
Replies: 15
Views: 2442

Re: Blocking the "standard"/most common DNS-over-HTTPS servers

Don't forget the use-application-dns.net stuff. In my experience lots of software obeys it.
by lurker888
Wed Mar 19, 2025 10:02 pm
Forum: General
Topic: Blocking the "standard"/most common DNS-over-HTTPS servers
Replies: 15
Views: 2442

Re: Blocking the "standard"/most common DNS-over-HTTPS servers

I happen to have tackled this problem. I have a blocklist of IP addresses for the common external resolvers. Currently it sits around 1700 IPs (and roughly 1000 IPv6 addresses) To be a bit more exact in what I found useful as a solution: * block outgoing ports 53 and 853 (udp and tcp) * block all ou...
by lurker888
Wed Mar 19, 2025 4:35 pm
Forum: Beginner Basics
Topic: Q-in-Q Questions L2MTU [SOLVED]
Replies: 4
Views: 8228

Re: Q-in-Q Questions L2MTU [SOLVED]

The reference can be found here BTW with pretty diagrams :-) https://help.mikrotik.com/docs/spaces/ROS/pages/21725296/MTU+in+RouterOS EDIT: Usually Mikrotik devices set up the L2MTU by default with some 1500+ value, and this takes into account the buffer memory stuff that I talked about in my answer...
by lurker888
Wed Mar 19, 2025 4:33 pm
Forum: Beginner Basics
Topic: Q-in-Q Questions L2MTU [SOLVED]
Replies: 4
Views: 8228

Re: Q-in-Q Questions L2MTU [SOLVED]

Oopsie, Mikrotik counts things differently, than I'm used to. Sorry. I'll edit the original answer shortly.

For MPLS/VPLS, the MTU stays the same, but the L2MTU must be increased by 4 per MPLS tag and 4 +14 for a VPLS tag + the internal ethernet header.
by lurker888
Wed Mar 19, 2025 3:42 pm
Forum: Beginner Basics
Topic: Q-in-Q Questions L2MTU [SOLVED]
Replies: 4
Views: 8228

Re: Q-in-Q Questions L2MTU [SOLVED]

Short answer: yes, you have it correct. MTU refers to the IP packet size, and well behaved Internet circuits have an MTU of 1500 by agreement. You may consider increasing this in the following scenarios: * you want to use (IP-level) encryption; IPSec, Wireguard, etc. all have per packet overheads. I...
by lurker888
Wed Mar 19, 2025 3:05 pm
Forum: General
Topic: installation of system-7.18.2 failed: disk is too small
Replies: 10
Views: 1849

Re: installation of system-7.18.2 failed: disk is too small

Hello, there was some issue around that version where the kernel partition was too small (i don't know - sometimes?), and some sort of repartitioning took place automatically. There may be some hardcoded values there. Anyhow, I'm willing to bet you a flash chip (ha-ha) that after a netinstall it wil...
by lurker888
Wed Mar 19, 2025 6:36 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

Hi, thanks for good news :) I figured out what that was. As soon as I turn on my studio mixer which is eqipped with DANTE card that is connected to network, the cpu jumps up. Good to hear. DANTE (and other A/V protocols) tend to use multicast. These streams load your device in two ways: * bridging:...
by lurker888
Tue Mar 18, 2025 11:08 am
Forum: Beginner Basics
Topic: VLAN tagging on hap AX3 drives me crazy [SOLVED]
Replies: 5
Views: 10049

Re: VLAN tagging on hap AX3 drives me crazy [SOLVED]

I would add two things to the discussion, maybe you will find them helpful. First, the "enable VLAN filtering" on the bridge level is one of worst names that could have been given to this option. With this option disabled, the bridge will act as a "dumb" switch, and will perform ...
by lurker888
Tue Mar 18, 2025 8:17 am
Forum: Wireless Networking
Topic: Guest Network: VLAN vs. Bridge
Replies: 10
Views: 2723

Re: Guest Network: VLAN vs. Bridge

The usual advice to have one bridge with VLAN filtering enabled is solid, and is the preferred approach. So this is what I will suggest. Especially for the first time, configuring VLAN filtering can be daunting, and configuring it wrong can easily lead to a loss of access to your device, so your onl...
by lurker888
Tue Mar 18, 2025 7:50 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

Hi! I'm glad that at least your DNS woes are over. The device that you have is able to handle approximately 500 Mbps of traffic. (In the specs look at performance numbers for 512 byte packets / 25 firewall filter rules.) The CPU load - especially at low traffic volumes - is very non-linear with thro...
by lurker888
Tue Mar 18, 2025 7:37 am
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

What you actually want is overlay networking of some type. There are many possible standards and realizations to choose from, but currently VXLAN seems to be the weapon of choice across vendors. The ASICs that support this type of operation can sometimes (usually?) be configured to do what you want ...
by lurker888
Mon Mar 17, 2025 7:40 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

I tried to include both a technically correct answer as to why this is not possible and a subtle reference to the X-Y problem.

https://en.wikipedia.org/wiki/XY_problem
by lurker888
Mon Mar 17, 2025 5:17 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

No, this cannot be done. On the fourth port you prescribe that a broadcast packet that comes in with tag 500 should be reflected to the same port with tag 501. To further complicate this, a broadcast packet arriving on another port of your bridge4 would have to be sent out twice (multiplied) both wi...
by lurker888
Mon Mar 17, 2025 4:12 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

@maxxch Yes, it is possible. And I'm happy to give you an example. But before I do, could you please carefully reread what I have written, and confirm that I have correctly understood what you want to do. (I am not doubting that you somehow need this, but - at least from what I've seen - it's quite ...
by lurker888
Mon Mar 17, 2025 2:42 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

I will assume then "q-tag" means the normal 802.1q (ethertype 0x8100) tags. I will also assume that each customer has one physical connection to your switch. And I take it that you want to connect q-tag-10 between Customer-2 and Customer-3. But that you would want not to connect Customer-2...
by lurker888
Mon Mar 17, 2025 2:05 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

Edited with possible cases.

EDIT:
If you only want separate switching domains, then adjusting the forwarding vector would already solve all your problems.
by lurker888
Mon Mar 17, 2025 2:00 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

My bad. I completely thought that you wanted routing. No, indeed it can only offload a single (VLAN-aware bridge.) All other devices will be the same. I can't imagine what you would want to do that would necessarily require two bridges. Roughly here are the cases: * You don't use VLANs on the bridge...
by lurker888
Mon Mar 17, 2025 12:16 pm
Forum: General
Topic: CRS520 hw-offloading problem
Replies: 19
Views: 2122

Re: CRS520 hw-offloading problem

This is indeed expected behavior. And exactly correct. These (and all other) switch chips can only offload one bridge. Most manufacturers just "implicitly" put all ports into a bridge and don't even expose you to this. Mikrotik allows more than one bridge, but - again - only one can be han...
by lurker888
Sun Mar 16, 2025 3:56 pm
Forum: General
Topic: Request for Latest Modified Kernel Source Code and Ongoing Updates under GPL License
Replies: 38
Views: 4547

Re: Request for Latest Modified Kernel Source Code and Ongoing Updates under GPL License

I thought I shouldn't stick my nose into this, but this is as far as I could resist :-) Amm0 is absolutely right, this is a user forum. (The server is provided by MikroTik, but basically that and minimal maintenance is as far as their involvement goes. Though some of their employees lurk around here...
by lurker888
Sun Mar 16, 2025 1:09 pm
Forum: Forwarding Protocols
Topic: iBGP setup / RouterOS 7.18.2 Documentation
Replies: 1
Views: 1373

Re: iBGP setup / RouterOS 7.18.2 Documentation

Hi,

Basically the wiki.mikrotik.com stuff refers to v6.xx of RouterOS, the docs for the newer v7 - which I guess you're using - is at help.mikrotik.com

So in your case I would take a look at
https://help.mikrotik.com/docs/spaces/R ... 328220/BGP
by lurker888
Sat Mar 15, 2025 12:48 pm
Forum: General
Topic: CCR1036 vs CCR2116 CGNAT
Replies: 10
Views: 2273

Re: CCR1036 vs CCR2116 CGNAT

Thanks for the detailed stats!

So the software actually makes quite good choices about what to offload. In one case 2.25k / 300k unloads 40% of traffic, in the other 4k / 370k unloads 65%. Nice. You were right, that's absolutely worthwhile.

It's good to hear some success stories here sometimes.
by lurker888
Sat Mar 15, 2025 2:16 am
Forum: General
Topic: MSTP on VLAN interface that is part of the bridge
Replies: 3
Views: 1137

Re: MSTP on VLAN interface that is part of the bridge

I'm not sure I understand your problem exactly.

Do you want physical redundancy i.e. have two (essentially parallel) wires connecting your routers, so that if one fails, the other takes over?
by lurker888
Sat Mar 15, 2025 1:35 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

Nevertheless you did a pretty good job. First, when configuring dhcp networks, don't specify the netmask. The address prefix length will be used automatically (/24) (For some particular setups these may need to be mismatched, but those are very unusual.) Yes, the allow-remote-requests is off be defa...
by lurker888
Sat Mar 15, 2025 12:31 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

It's always safe to flush the DNS cache. It's up to you. The DNS cache - were it not for the firewall misconfiguration - should be almost empty. One of the strange things about your config is that you enabled the dns "allow-remote-requests" thingy, and you configured lots of static records...
by lurker888
Sat Mar 15, 2025 12:07 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

That's what I meant. Looks good. Is the DNS load gone? I'm not especially concerned with the networking/bridging/firewall etc. load - that's normal if you're using it. According to its published measurements it can do ~500Mbps, and CPU usage is not linear, so I wouldn't be surprised if a couple of R...
by lurker888
Fri Mar 14, 2025 11:46 pm
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

NO! You misunderstood something.

I think you just moved your *forward* rule, but that's not what I meant.

The *forward* rule was correct, and in the correct place. Return it!

Add the same rule, just to the *input* chain, and place that at the end!
by lurker888
Fri Mar 14, 2025 10:52 pm
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

The problem is in your firewall rules. Somehow the "input drop all !LAN" got deleted from the default. Add it back and your problem will probably be done. You have to add this to the end of your rules. The syntax is: add action=drop chain=input comment="Drop all not coming from LAN an...
by lurker888
Fri Mar 14, 2025 9:54 pm
Forum: General
Topic: RB5009 intermittent boot issue
Replies: 7
Views: 3858

Re: RB5009 intermittent boot issue

This may not be too helpful, but when I had similar issues, it was the power supply gradually failing. If you have one handy, try testing it with a known good one. At least in my experience these power bricks fail way more often than the routers themselves.
by lurker888
Fri Mar 14, 2025 9:43 pm
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

First of all, sorry for the CCR assumption, I was looking as loloski's screencap, not yours. The firewall rules seem to be the default, and they are quite good. They should protect you from this sort of things if everything else is set up correctly, so while the rules you wrote are not bad, the &quo...
by lurker888
Fri Mar 14, 2025 8:55 pm
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

The DNS load would account for your increased CPU usage. That kind of load on a CCR1036 would mean that it's serving the DNS load for several thousand machines (more like tens of thousands...) I presume this is not your use case. Together with the fact that reverting the software didn't help, and th...
by lurker888
Fri Mar 14, 2025 6:44 pm
Forum: General
Topic: CCR1036 vs CCR2116 CGNAT
Replies: 10
Views: 2273

Re: CCR1036 vs CCR2116 CGNAT

Only around 2K connections can be offloaded 2k connections at 2mbps each connection can add up around 4gbps, for a device like ccr2116 with an estimated throughput of 20gbps thats around 20%, it is not something insignificant i have seen a significant reduction in cpu usage with this offload featur...
by lurker888
Fri Mar 14, 2025 2:29 pm
Forum: Announcements
Topic: v7.19beta [testing] is released!
Replies: 525
Views: 211166

Re: v7.19beta [testing] is released!

The problems with splitting the software in many small packages are: 1. some packages may be or get dependent on others, and the architecture has no provision for "pulling in packages". e.g. in v6 there were separate packages for "security" (encryption), "ppp", "d...
by lurker888
Fri Mar 14, 2025 5:58 am
Forum: General
Topic: CCR1036 vs CCR2116 CGNAT
Replies: 10
Views: 2273

Re: CCR1036 vs CCR2116 CGNAT

The CCR1036 has been discontinued. I hear that they are still available second hand... only this would make me buy the CCR2116. I have no experience with the CCR1036, but I have used the 2116 for CGNAT. They can easily push 10Gb+ even without fasttrack. Even with bonding the interface limit is pract...
by lurker888
Fri Mar 14, 2025 4:01 am
Forum: Announcements
Topic: v7.19beta [testing] is released!
Replies: 525
Views: 211166

Re: v7.19beta [testing] is released!

Oh, I see. Some GTS root certificates are cross-signed with other roots "to ensure optimal support across a wide range of devices", as per their FAQ . In any case, I think GTS is a CA big enough to be considered. It has its own ACME implementation that is used in-house (by Firebase servic...
by lurker888
Fri Mar 14, 2025 3:49 am
Forum: Beginner Basics
Topic: after upgrade to 6.49.18 CPU Spikes
Replies: 25
Views: 4067

Re: after upgrade to 6.49.18 CPU Spikes

Tools->Profile gives some insight.
by lurker888
Fri Mar 14, 2025 3:40 am
Forum: Beginner Basics
Topic: RouterOS Isolated Management Port Setup, help
Replies: 6
Views: 1787

Re: RouterOS Isolated Management Port Setup, help

Hi there! You got some good pointers, let me give my two cents. Hey guys, I am trying to set up a dedicated management port in RouterOS, kind of like how SWOS handles it, completely isolated from any other ports on the switch, meaning only devices connected to the management port can manage the swit...
by lurker888
Fri Mar 14, 2025 2:59 am
Forum: Announcements
Topic: v7.19beta [testing] is released!
Replies: 525
Views: 211166

Re: v7.19beta [testing] is released!

I'm curious as to why GTS (Google Trust Services) root CAs are missing in built-in root certificate authorities. The situation with GTS is a little involved. The short answer: The certs issued by GTS *are* trusted under the current collection of Mikrotik trust anchors. (I have verified this with go...
by lurker888
Wed Mar 12, 2025 4:26 pm
Forum: General
Topic: Upgrade or no (revisited)
Replies: 13
Views: 2068

Re: Upgrade or no (revisited)

Just my two cents. For devices which you don't want to fuss around with, test things, possibly netinstall, a usual recommendation is to avoid using "bare" release versions (because they usually contain improvements/fixes that sometimes break things) and use the latest "point release&q...
by lurker888
Wed Mar 12, 2025 4:00 pm
Forum: Announcements
Topic: v7.19beta [testing] is released!
Replies: 525
Views: 211166

Re: v7.19beta [testing] is released!

I'm happy to confirm that the DHCP snooping issue is fixed in beta4. (At least for me.) Setting the DHCP client "routing table" parameter to "default" from Winbox (v3) and Webfig still doesn't work correctly. (In fact, the default is "main", and trying to set it to &quo...
by lurker888
Wed Mar 05, 2025 9:12 am
Forum: Beginner Basics
Topic: hAP ax2 upgrade to 7.18 don't have interface wifi
Replies: 5
Views: 2482

Re: hAP ax2 upgrade to 7.18 don't have interface wifi

I saw your other post about the 10Mbps problem as well. It's not clear to me what your problem is... When you say *all* ports go to 10 Mbps, what did you do to verify that? I see that you are using an usb-to-ethernet adapter. What other device verifies the same problem? It's not clear whether you ma...
by lurker888
Wed Mar 05, 2025 7:03 am
Forum: Beginner Basics
Topic: hAP ax2 upgrade to 7.18 don't have interface wifi
Replies: 5
Views: 2482

Re: hAP ax2 upgrade to 7.18 don't have interface wifi

Hi! At around 7.13 the wireless drivers were shuffled around. You need to install the "wifi-qcom" package. On your device you can do this by going to System->Packages, click "Check for updates", (a lot of packages should appear greyed out), you then select the package "wifi-...
by lurker888
Tue Mar 04, 2025 11:07 pm
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

Generally, I am in agreement with you that router manufacturers do shady stuff, mostly in order to be able to claim the highest speeds with the puniest possible CPUs. Let's be clear, by shady I mean that what they actually do is undisclosed (very bad!) and generally, when reverse engineered (usually...
by lurker888
Tue Mar 04, 2025 10:01 am
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

Part of my testing procedure was moving the DHCP server and client configs around from interface to interface, between interfaces and bridges. I didn't find any cases where DHCP communications unexpectedly worked when applied to an interface other than one I was directly connected to. I managed to ...
by lurker888
Tue Mar 04, 2025 9:23 am
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

Yep. All the MAC-* (mac-telnet, mac-winbox, mac-ping) also use raw sockets. I consider the only correct configuration for these outside of a homelab setting to be either "none" or a single trusted port or vlan. I don't exactly get the point that @mkx makes. Probably just a misunderstanding...
by lurker888
Tue Mar 04, 2025 8:14 am
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

You are really getting into this :-) First of all: you should get the same result whether the interface is a bridge or a "naked" port. And indeed you will, if you turn off use-ip-firewall (as you should). The setting use-ip-firewall actually utilizes a feature of ebtables (bridge filter in...
by lurker888
Tue Mar 04, 2025 3:44 am
Forum: Announcements
Topic: v7.19beta [testing] is released!
Replies: 525
Views: 211166

Re: v7.19beta [testing] is released!

Yep. DHCP snooping has some sort of major problem. I updated a previously working rb5009 router (from 7.18 stable) to 7.19b2, and can't ping/connect to the router through a bridge that has VLAN filtering and DHCP snooping enabled. A bit weirdly the DHCP server works correctly (provided by the same r...
by lurker888
Mon Mar 03, 2025 9:13 pm
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

As mkx said, of the usual services only DHCP is special.

Mikrotik does allow you access to the netfilter raw chain (/ip firewall raw) and yes, it can be used to filter DHCP packets. I can't think of a practical use for this, but it is possible.
by lurker888
Mon Mar 03, 2025 8:45 am
Forum: General
Topic: BOOTP/DHCP bypasses NAT firewall
Replies: 20
Views: 3414

Re: BOOTP/DHCP bypasses NAT firewall

Actually no. The firewall simply does not apply to the packets of the dhcp client. This may sound strange, but in fact it is quite logical. The DHCP client must send and receive packets while the interface in question has no valid ip configuration. In this state it is not possible to bind a normal s...
by lurker888
Sun Mar 02, 2025 5:01 pm
Forum: General
Topic: DNS timeout when using router's DNS
Replies: 5
Views: 2266

Re: DNS timeout when using router's DNS

Hi, The default firewall only accepts DNS queries from members of the LAN interface list. Make smarthome a member. This should solve your immediate issue. You should also remove ether1 from the WAN interface list. (You are not actually receiving internet on ether1, but on the pppoe interface.) Also,...
by lurker888
Sat Mar 01, 2025 11:04 pm
Forum: MikroTik hardware questions
Topic: RB4011iGS+5HacQ2HnD-IN vs RB4011iGS+RM Tested ambient temperature
Replies: 12
Views: 6100

Re: RB4011iGS+5HacQ2HnD-IN vs RB4011iGS+RM Tested ambient temperature

First of all, the specified temperatures in the specification all refer to *ambient* temperature, that is: locate it in a normally ventilated (non-obstructed) place and put a (normal room) thermometer let's say 30cm from it. What that reads is the temperature data sheets refer to. Yes, the WiFi chip...
by lurker888
Fri Feb 28, 2025 10:45 pm
Forum: General
Topic: Use /24 FW rules for /23 subnets
Replies: 34
Views: 6373

Re: Use /24 FW rules for /23 subnets

@BartoszP My experience regarding allocations from a pool does not match yours. I've used next-pools for many years to assign openvpn addresses in /30 subnet schemes (long story why /30 was needed), and what I found is that if the first pool has a free address, then that is always allocated, and onl...
by lurker888
Mon Feb 17, 2025 3:37 pm
Forum: General
Topic: RSTP issue with Cisco switches
Replies: 5
Views: 3186

Re: RSTP issue with Cisco switches

Basically PVST and PVST+ (and R-PVST+) in general were designed as a better alternative to the STP-RSTP protocols. In that they succeeded. MSTP coming about muddled things a bit; while achieving the same general goal (per-VLAN spanning trees), it does so very differently. (MSTP does not address redu...
by lurker888
Mon Feb 17, 2025 12:35 pm
Forum: General
Topic: RSTP issue with Cisco switches
Replies: 5
Views: 3186

Re: RSTP issue with Cisco switches

Hi, You describe a lot of things. Just to make a few points: * Mikrotik and CISCO stuff are fully compatible on the RSTP front. STP nowadays should not be used. MSTP is simply unnecessary. PVST and its variants are not supported by Mikrotik. Stick with RSTP. * That a root bridge is selected is norma...
by lurker888
Mon Feb 17, 2025 12:22 pm
Forum: General
Topic: Why are these caught by "drop invalid"
Replies: 9
Views: 3328

Re: Why are these caught by "drop invalid"

I don't know why you would want to log these packets at all. For educational/testing, ok, sure. But this rule has been used like this in basically every Linux machine, cloud server, etc. forever, and no one got hurt. You could log not-FIN invalid, as BartoszP suggested, but again: IP is not designed...
by lurker888
Mon Feb 17, 2025 12:08 pm
Forum: Beginner Basics
Topic: Change adress space
Replies: 7
Views: 3381

Re: Change adress space

Yet another approach. Mikrotiks allow you to have more than one address on an interface. We will use this temporarily: 1. Add (not change/modify) an address of 192.168.87.1/24 to your LAN interface (probably bridge) 2. Reconfigure DHCP. Change the IP Pool to e.g. 192.168.87.100-192.168.87.253 and th...
by lurker888
Sun Feb 16, 2025 10:25 pm
Forum: General
Topic: OPEN VPN Server with iPhone
Replies: 9
Views: 3938

Re: OPEN VPN Server with iPhone

Hi! First of all, configuring openvpn is not complicated, but not simple. This is not because of what Mikrotik does, it's just how openvpn is. Regarding certificates. Usually openvpn is deployed with self-signed certificates (that is: ones that cannot be verified by the public PKI system). The certi...
by lurker888
Sun Feb 16, 2025 7:26 pm
Forum: General
Topic: Why are these caught by "drop invalid"
Replies: 9
Views: 3328

Re: Why are these caught by "drop invalid"

This is a common question for the linux nf_conntrack machinery. There is much discussion around how a TCP connection starts (the three-way handshake), but much less is said about how it ends. It ends with a FIN (can also be FIN ACK) packet from the side closing the connection, and a FIN, ACK is sent...
by lurker888
Fri Feb 14, 2025 6:31 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

That's totally fine. You will still have to do step 1 of what I wrote - in order for the router itself to be able to do "automatic" updates, access the IP->Cloud things (DDNS, time service...) You can set its DNS server to the Adguard, but personally I wouldn't. No use in having ad blockin...
by lurker888
Fri Feb 14, 2025 6:23 pm
Forum: General
Topic: How to Load Balance a 2x1gbps from a single router
Replies: 17
Views: 3833

Re: How to Load Balance a 2x1gbps from a single router

Sir @anav, you must be joking. You do know that the rb5009 does indeed have an sfp+ port, right? In fact I think that this is probably the best device to receive a "multi-gig" internet connection. It's usually delivered on a copper 2.5GbE, and you can fan out either using the 1G ports on t...
by lurker888
Fri Feb 14, 2025 6:09 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

Glad to hear it worked out!
by lurker888
Fri Feb 14, 2025 6:02 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

Some more notes: * You'll also have to set up the DNS server(s) manually (now you're getting them via dhcp) google is 8.8.8.8 and 8.8.4.4, cloudflare: 1.1.1.1 (IP->DNS) * You are currently giving out (via your dhcp server -> networks configuration) 192.168.8.11 to your clients to usefor dns. Is this...
by lurker888
Fri Feb 14, 2025 5:46 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

That point in time was now. You have a misconfiguration. On ether 1 you can either: * use a DHCP client to acquire an address and a default route * set an address manually and configure a default route by hand You have attempted to do both, the second one only halfway. Your test results are actually...
by lurker888
Fri Feb 14, 2025 5:32 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

Yep. Those logs are normal.

The "cloud time" thing is also normal. These devices don't have a proper (external, battery-backed) RTC, so they lose a few tens of seconds at each reboot.

I'll take a look at your config - at some indefinite point in time in the future :-)
by lurker888
Fri Feb 14, 2025 4:08 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

I meant logs on the Mikrotik. Have a look. They should contain details.

I am baffled by your results.

Otherwise please post full config export of your ac3.
by lurker888
Fri Feb 14, 2025 2:29 pm
Forum: General
Topic: Help with Latency problem needed [SOLVED]
Replies: 15
Views: 4953

Re: Help with Latency problem needed [SOLVED]

Hi there! Getting "net unreachable" (that fast) means that there is no route to the network present. This can happen because of some sort of DHCP confusion or port flapping. Port flapping is the common one. Can you confirm that you don't have link up/down notifications (in the log) and the...
by lurker888
Thu Feb 13, 2025 12:56 am
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 573
Views: 190619

Re: v7.18beta [testing] is released!

I was checking out the following feature: *) dhcpv4-client - allow selecting to which routing tables add default route; It's really nice that you have added this. A really nice addition to make multi-WAN setups simpler! However I found a few issues and also I would like to make a suggestion. About t...
by lurker888
Tue Feb 11, 2025 2:08 pm
Forum: General
Topic: OpenVPN Server - Ignore client redirect-gateway def1
Replies: 3
Views: 2808

Re: OpenVPN Server - Ignore client redirect-gateway def1

Hi, I don't think that's actually possible. The client has all sorts of possibilities to *not* accept what the server pushes, such as nopull, pull-filter, route-nopull, etc. But according to the openvpn security model, it is assumed that the client and server may be controlled by different people/or...
by lurker888
Mon Feb 03, 2025 7:17 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

Personally, I think it's better to set ip-address, so the router gets a fixed address & docs should discuss and show using ip-address - your setting up a NEW network and RouterOS is likely to be the default route so example should set it to .1. But, as technical point, their instructions as-is ...
by lurker888
Mon Feb 03, 2025 6:19 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

First of all - thanks for the tip on opening the port on the router. Open on the WAN side - yes? Yeah. Well, actually I mean from everywhere, so in the input chain without additional filters. (The reason being that it's not uncommon to have a zt connection from inside your own network. In this case...
by lurker888
Mon Feb 03, 2025 5:58 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

Just an unrelated note: If you have a routable WAN address (even if dynamic), you should open port 9993/udp for the ZeroTier service. This enables other clients on the network (even if they are behind NAT) to make a direct connection and not have to use relays. You should especially open this port i...
by lurker888
Mon Feb 03, 2025 5:52 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

Glad it works. :-) But your explanation is off. (Using the same config.) If I delete the member, rejoin, and don't give it an explicit IP address assignment, I get: > /zerotier/controller/member/print Flags: A - AUTHORIZED Columns: NETWORK, ZT-ADDRESS, IP-ADDRESS # NETWORK ZT-ADDRESS IP-ADDRESS 0 A ...
by lurker888
Mon Feb 03, 2025 5:29 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

DHCP in never used in ZT. It is explicitly filtered in all ZT networks. (It's part of the "source" distribution for all zt clients. The desginers thought that it would be a security threat when joining networks run by people you don't really trust. Many people use ZT to for example run Min...
by lurker888
Mon Feb 03, 2025 5:12 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

For me everything works just fine. Commands: /zerotier/controller/set 0 private=yes ip-range=172.30.30.100-172.30.30.100 routes=172.30.30.0/24,0.0.0.0/0@172.30.30.1 /zerotier/controller/member/set 0 authorized=yes ip-address=172.30.30.1 Afterwards: > /zerotier/controller/member/print Flags: A - AUTH...
by lurker888
Mon Feb 03, 2025 4:41 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

After authorization, you should see an ip address being assigned in the controller/member area. I don't know how frequently the client tries to reconnect; maybe you should try disabling/enabling the zt interface. EDIT: And in case you're adding this member as a gw of a route, you really would want t...
by lurker888
Mon Feb 03, 2025 4:18 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

Excuse some of the typos in the terminal session! In this case I demand that you smash one of our fingers with a claw hammer mob-style. [admin@MikroTik] /zerotier> interface/print interval=1 Columns: NAME, MAC-ADDRESS, NETWORK, STATUS # NAME MAC-ADDRESS NETWORK STATUS 0 NA9DNET 46:92:71:60:00:60 5f...
by lurker888
Mon Feb 03, 2025 3:52 am
Forum: Beginner Basics
Topic: Question on using the Internal Zerotier Controller [SOLVED]
Replies: 40
Views: 15427

Re: Question on using the Internal Zerotier Controller [SOLVED]

The guys at Mikrotik are various levels of user friendliness :-). The given example is one such. Actually it is exact and not in the least vague. The given syntax in given in the so-called Backus-Naur form. (https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form) I've used the controller and it work...
by lurker888
Mon Feb 03, 2025 3:48 am
Forum: Beginner Basics
Topic: How to set up VLAN to pass traffic through a managed switch? [SOLVED]
Replies: 43
Views: 18537

Re: How to set up VLAN to pass traffic through a managed switch? [SOLVED]

I was the one who recommended adding an additional management VLAN. The reason, that many L3 switches are hard-wired config-wise to have one is one of the reasons. The other being that in larger deployments (anything commercial/enterprise) you have to deal with security and uptime issues. Having a m...
by lurker888
Sat Feb 01, 2025 1:56 am
Forum: General
Topic: RB5009+ 2x hAP ax2 as access Point
Replies: 16
Views: 5999

Re: RB5009+ 2x hAP ax2 as access Point

@JhnMtrx: You're at about 20W with adding in the rb5009. During bootup the devices consume about +50% for about 10-20s. That puts you quite near the limit. I ran such a setup (I was aware that I'm on the edge), and it worked quite well for approx. 2 years. Then incidentally when doing a software upg...
by lurker888
Thu Jan 30, 2025 11:20 am
Forum: General
Topic: Mangle policy based routing
Replies: 6
Views: 4962

Re: Mangle policy based routing

If I follow the packet flow I indeed now understand that packets originating from the router will not pass the prerouting chain. The do pass the output and postrouting chain, but that is after the 'routing decision', hence of no use. Makes sense! Glad you understand. But I'm not sure you do so comp...
by lurker888
Thu Jan 30, 2025 12:38 am
Forum: Beginner Basics
Topic: POE INJECTION
Replies: 14
Views: 6813

Re: POE INJECTION

@jacklaz You misunderstood, I'm actually saying the same thing. I think in actual operation the device doesn't draw more than 0.5-0.8A. (But OP should not rely on my guesswork, but his trusted multimeter) Shipping a larger power supply rather makes up for a lack of quality control from their supplie...
by lurker888
Wed Jan 29, 2025 11:13 pm
Forum: General
Topic: Mangle policy based routing
Replies: 6
Views: 4962

Re: Mangle policy based routing

You actually have two problems :-) When doing multi-wan, you should really study the packet flow diagram meticulously. A version of it is given in the Mikrotik docs, but this is often more suitable: https://stuffphilwrites.com/2014/09/iptables-processing-flowchart/ As you can see, for locally origin...
by lurker888
Wed Jan 29, 2025 10:40 pm
Forum: Beginner Basics
Topic: POE INJECTION
Replies: 14
Views: 6813

Re: POE INJECTION

Yep. If this is a one-off, you're likely best off with a splitter. As others have already insinuated, the nominal power requirements for these devices are usually way exaggerated. (Or to be a bit more blunt/common: include some "chinesium" factor - many wall wart power supplies you get fro...
by lurker888
Wed Jan 29, 2025 1:08 am
Forum: General
Topic: Blocking admin services - Firewall rules
Replies: 30
Views: 8374

Re: Blocking admin services - Firewall rules

First, regarding the ordering of rules. It's best to keep the rules grouped by chains. It makes things clearer. The order of rules *within* a chain matters, between different chains it doesn't. The default firewall basically gives you what you wound get in most consumer routers. The difference is th...
by lurker888
Tue Jan 28, 2025 11:02 pm
Forum: General
Topic: Blocking admin services - Firewall rules
Replies: 30
Views: 8374

Re: Blocking admin services - Firewall rules

Not trying to be abrasive, but your firewall rules are kind of a mess. It's very typical of what newcomers produce on their first try, so if you're willing to learn, you'll get there. Just keep up trying/learning/reading. Just be careful: there are *lots* of "tutorials" on youtube and othe...
by lurker888
Tue Jan 28, 2025 9:30 pm
Forum: General
Topic: Blocking admin services - Firewall rules
Replies: 30
Views: 8374

Re: Blocking admin services - Firewall rules

Concurring with mks. Routers/devices connected to the internet with a publicly routable IP often get hundreds or thousands of such scanning/probing traffic. There's really no way around this. It's the correct thing to block these attempts. Usually these are not logged - they really don't add anythin...
by lurker888
Tue Jan 28, 2025 9:16 pm
Forum: Beginner Basics
Topic: POE INJECTION
Replies: 14
Views: 6813

Re: POE INJECTION

Actually it can work quite well. (I've been in a similar situation and it was solved with good results.) So... Mikrotik injectors are nothing special, they work like the ones from other manufacturers. Some things to consider: 1. Injectors do work for "taking PoE off" an ethernet line, and ...
by lurker888
Tue Jan 21, 2025 1:30 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

[removed]
by lurker888
Tue Jan 21, 2025 1:16 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

[removed]
by lurker888
Tue Jan 21, 2025 1:00 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

Okay. I don't exactly understand everything, but I'm glad you1re gaining headway. I have a slow day, so if you wish, I'd be willing to help you clear up some things in a more interactive channel (by this I mean having a chat via Google Meets). By now I'm actually interested in who I'm talking to. Le...
by lurker888
Tue Jan 21, 2025 12:02 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

OK. This is weird. It is working on port 7 of the router.... But ether7 is on the bridge. The port numbers in the config should match the physical ports yes? Actually this is the expected behavior. This means that the router is at least functioning as it should. The router responds on *all* of its ...
by lurker888
Mon Jan 20, 2025 11:37 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

And still no ping. Do you get a ping/connectivity from elsewhere? EDIT I mean connecting to another port of the router, etc. EDIT2: Reread the thing. Of course it's a mac. "no route" means that the route to directly connected is not installed. Although many developers do, I have never used...
by lurker888
Mon Jan 20, 2025 11:26 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

This means that there is a problem on your PC (Windows, I would assume.) The route is not correctly installed. If the route were installed you would get the message "unreachable". Maybe you have a connection from you PC both to WiFi, which provides Internet access, and to this network whic...
by lurker888
Mon Jan 20, 2025 11:13 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

Post ping response. It is "ICMP dst unreachable" or timeout or something else? When you have item unknown in for example bridge config, that means that there are some messed up references in the configuration database (reference to an item that somehow no longer exists). You are best off d...
by lurker888
Mon Jan 20, 2025 10:31 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

The things you might have missed: * You should assign an address/subnet to ether8 that is *different* from the one you use otherwise use e.g. 192.168.100.0.1/24 * You should add ether8 to the interface list LAN, so the firewall doesn't block you * You should configure your PC to have a static addres...
by lurker888
Mon Jan 20, 2025 9:39 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

I am not really aware of the behavior of bridges in Linux. I am aware of how VLANs work in systems like Cisco, HP, Ubiquity, etc. I know the bridge is basically the overall fabric of the switch. Right now, I have created all my VLANs, assigned IPs to them, but they are all just assigned to the brid...
by lurker888
Mon Jan 20, 2025 9:18 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

Well... what you wrote may be correct, depending on other settings. The gist of it is there. Before commenting further, please answer this: are you aware of the behavior of bridges in Linux (the same in Mikrotik) to "enslave" the interfaces assigned to them? (You seem to be...) Are you set...
by lurker888
Mon Jan 20, 2025 8:15 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading RB5009

Okay. It seems we're making headway :-) Let me respond to several comments in one post. I will omit citations, it's just too much work. To IGMP/IGMP snooping. IGMP snooping actually *does* happen at L2. If you don't want to use it that's fine. Actually IGMP snooping implementations have well known i...
by lurker888
Mon Jan 20, 2025 8:02 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

[...] OK. So the VLAN for the 192.168.0.0/23 stuff is easy as it's already on its own VLAN since you can't use the management VLAN for routing. So that's easy - add it to a trunk. Now the problem is the 10.0.0.0 data. I could add every VLAN to the trunk except now we are going to be passing gigabit...
by lurker888
Mon Jan 20, 2025 7:38 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

The question is how do I force my switch to send all LAN subnet traffic to the router instead of direct. I tried adding a route and it didn't do anything. That's it. You can't. The route you add would conflict with the directly connected one. A separate subnet is the correct way. Especially if you ...
by lurker888
Mon Jan 20, 2025 5:53 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

It actually makes sense now. Your network design with the mismatching prefix lengths and real-time switching of vlans is not networking best practice, but whatever works for you. Maybe if you haven't started out 10 years ago, you could make use of more modern multicast protocols, but you goal is obv...
by lurker888
Mon Jan 20, 2025 2:46 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

So question - So create a new VLAN on the switch? Now I have both normal LAN traffic and the VLAN traffic on the switch. It seems like doing what you suggest will break the LAN connection between the 192.168.0.0 LAN and the switch. Are you talking about adding second connection between the switch a...
by lurker888
Mon Jan 20, 2025 1:51 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

Just to rehash. The problem (triangular routing) is this: * The devices on the 192.168.0.0/23 - when sending to the 10.0.0.0/8 subnet - send it to the Mikrotik at 192.168.1.1 (resolving it via default), because they don't know where the router for the 10.0.0.0/8 subnet is located. * The devices in t...
by lurker888
Mon Jan 20, 2025 1:21 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

Okay. You seem to misunderstand (or I'm not clear enough) what "rules" means: * there a routing rules (/routing/rules) - these you don't need * there are firewall rules (/ip/firewall): * * filter rules (/ip/firewall/filter) - these should be there * * nat rules (/ip/firewall/nat) - if NATi...
by lurker888
Mon Jan 20, 2025 12:40 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

By the way the route: /ip route add disabled=no dst-address=10.0.0.0/8 gateway=192.168.1.198 routing-table=main suppress-hw-offload=no creates a routing situation where packets may be (will be) sent back and forth between your Mikrotik and your L3 switch. Consider the case that on the 10.0.0.0/8 net...
by lurker888
Mon Jan 20, 2025 12:34 am
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

Just a little addendum: For now I would skip the raw rules entirely. Configure everything to your satisfaction. Verify. Measure. And if you want/need more performance, add them back in. OK. I'm confused. 1.) Creating just the route by itself does not work well. That's why I am here. 2.) rplant sugg...
by lurker888
Sun Jan 19, 2025 11:15 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

Just a little addendum: For now I would skip the raw rules entirely. Configure everything to your satisfaction. Verify. Measure. And if you want/need more performance, add them back in.
by lurker888
Sun Jan 19, 2025 11:01 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

[...] OK. Both of these make sense. And basically notracked traffic is already fasttracked because it is not tracked if I understand it right. I a sense yes. Just to make it perfectly clear: * in case of notrack, no conntrack entry is created (this means that no stateful rules can be applied to the...
by lurker888
Sun Jan 19, 2025 10:20 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

Cool. What is *not* needed: * fasttrack cannot (and silently will not) be applied to notracked traffic (fasttrack modifies the conntrack entry, which is nonexistent for untracked) - for a given traffic it is either/or * the routing rules - the default is to look at the main table for any routing dec...
by lurker888
Sun Jan 19, 2025 7:55 pm
Forum: General
Topic: L3 HW Offloading RB5009
Replies: 96
Views: 11421

Re: L3 HW Offloading

The rb5009 does not do HW offload. The HW would be capable of it, but the limitations are so severe that it will probably never happen. See this post: https://forum.mikrotik.com/viewtopic.php?p=925222#p925222 Your route is showing the "HW offload" flag because the route is "unreachabl...