Community discussions

MikroTik App

Search found 41 matches

by chuq
Fri Feb 16, 2024 4:55 pm
Forum: General
Topic: ICMP
Replies: 2
Views: 271

Re: ICMP

I have an RD3011 UIAS-RM with 40 VPNs connected. When I send a ping from any station, to any of these VPNs that are turned off, the command
is normally accepted
. What could it be?
What station ? So VPS are connected or turned off ? What command is accepted ?
by chuq
Fri Feb 16, 2024 4:06 pm
Forum: General
Topic: Container start-on-boot not working
Replies: 2
Views: 341

Re: Container start-on-boot not working

Did you create the container in CLI of via WebFIG/Winbox ? Do you have the "logging" flag enabled too ? Winbox Sure logging is enabled, but nothing there from container, nor from disk errors or other strange messages. It just doesn't start, silently :( I've also tried to put /container/st...
by chuq
Fri Feb 16, 2024 3:56 am
Forum: General
Topic: Container start-on-boot not working
Replies: 2
Views: 341

Container start-on-boot not working

My single container doesn't start on boot, but can be easily started manually afterwards.
Nothing in the log, and I have no idea what's wrong
Any ideas ?
by chuq
Fri Jan 05, 2024 6:17 pm
Forum: RouterBOARD hardware
Topic: Mikrotik hAP ax2 onboard USB 3.0 pads
Replies: 14
Views: 8556

Re: Mikrotik hAP ax2 onboard USB 3.0 pads

I can't believe a usb port can cause much heating issues

For mikrotik guys: if your marketing team is forcing you to do that, blink "USB" in morse code in your next video :roll:
by chuq
Thu Dec 21, 2023 11:19 pm
Forum: General
Topic: Queue tree priority and limits
Replies: 0
Views: 813

Queue tree priority and limits

1. If several queues have parent global , does prioritization work between them ? 2. If one of queues doesn't have limit(s), how much will it get relative to others (with limits and priorities) ? for example: queue1 parent=global limit-at=1M max-limit=10M priority=3 queue2 parent=global limit-at=2M ...
by chuq
Thu Dec 21, 2023 9:13 pm
Forum: Scripting
Topic: Get "Bridge port" from address "/ip/arp" via API
Replies: 3
Views: 1680

Re: Get "Bridge port" from address "/ip/arp" via API

any news here ? faced the same problem in terminal
by chuq
Thu Dec 21, 2023 7:40 pm
Forum: General
Topic: Bridging packet flow
Replies: 5
Views: 672

Re: Bridging packet flow

Thanks @mkx
Do I get it right: a bridge packet goes through the routing chains only if it comes to a bridged port (the A entrance) ?
by chuq
Thu Dec 21, 2023 6:23 pm
Forum: General
Topic: Bridging packet flow
Replies: 5
Views: 672

Re: Bridging packet flow

so it's just not working I don't see market packets on 3rd layer postrouting chain, and that explains why out-bridge-port matcher not working also asked here Does anyone know how it's supposed to work in theory ? Because there is no much explanation in documentation once again( I saw a bridge postro...
by chuq
Wed Dec 20, 2023 10:26 pm
Forum: General
Topic: Feature requests
Replies: 1744
Views: 642337

Re: Feature requests

script errors (syntax, runtime) must be notified somehow
with a log message I suppose
by chuq
Wed Dec 20, 2023 8:49 pm
Forum: General
Topic: Bridging packet flow
Replies: 5
Views: 672

Bridging packet flow

There is a postrouting chain (bottom-left), and if packet goes to bridging after routing, does it mean, if use-ip-fw - the packet goes through the postrouting AGAIN ? Or is it some another postrouting ? https://help.mikrotik.com/docs/download/attachments/328227/04a_bridging_output.png?version=1&...
by chuq
Wed Dec 20, 2023 5:44 pm
Forum: General
Topic: Feature requests
Replies: 1744
Views: 642337

Re: Feature requests

extended logging for scripts etc, with ability to specify the topic
like this
/log/write topic=script,info message="Doing fine!"
and to create a user defined topic
/system/logging/add topics=my-scripts action=memory
by chuq
Wed Dec 20, 2023 12:46 am
Forum: General
Topic: out-bridge-port doesn't match anything
Replies: 0
Views: 862

out-bridge-port doesn't match anything

I have common router setup with uplink on ether1 and all other bridged for lan (default config, basically) In order to check if I can mark download traffic for specific client, I have added a mangle counter rule add action=passthrough chain=forward out-bridge-port=ether2 but the counters are all zer...
by chuq
Mon Dec 04, 2023 12:25 pm
Forum: General
Topic: wireguard peer client-* properties [SOLVED]
Replies: 10
Views: 2415

Re: wireguard peer client-* properties [SOLVED]

client-address is used for the client-server setup scenario, when the configuration is imported using a qr code for a client (for example, a phone), then this address for the wg interface is set on that device. Added to manual https://help.mikrotik.com/docs/display/ROS/WireGuard Can you confirm tha...
by chuq
Mon Dec 04, 2023 10:06 am
Forum: General
Topic: wireguard peer client-* properties [SOLVED]
Replies: 10
Views: 2415

Re: wireguard peer client-* properties [SOLVED]

It looks like these properties don't affect anything
I've tried different values on both sides - nothing happens
have no idea what are they for
by chuq
Wed Nov 22, 2023 2:07 pm
Forum: General
Topic: wireguard peer client-* properties [SOLVED]
Replies: 10
Views: 2415

Re: wireguard peer client-* properties [SOLVED]

I do understand that, but I'd like to have a formal explanation
Weird thing is that official help doesn't even mention about those properties :-?
by chuq
Wed Nov 22, 2023 10:53 am
Forum: General
Topic: wireguard peer client-* properties [SOLVED]
Replies: 10
Views: 2415

Re: wireguard peer client-* properties [SOLVED]

good article! but there is no answer to my question
by chuq
Tue Nov 21, 2023 12:23 am
Forum: General
Topic: wireguard peer client-* properties [SOLVED]
Replies: 10
Views: 2415

wireguard peer client-* properties [SOLVED]

Can someone explain wg peer client properties
There is no much explanation in official documentation
For example:
client-address and client-endpoint vs endpoint-address,
client-listen-port vs endpoint-port vs listen-port
by chuq
Thu Oct 12, 2023 10:59 pm
Forum: Scripting
Topic: Traffic monitor
Replies: 2
Views: 1701

Traffic monitor

How do I access values from /interface/monitor-traffic ?
by chuq
Fri Sep 15, 2023 10:42 pm
Forum: Beginner Basics
Topic: Custom logging topic
Replies: 0
Views: 938

Custom logging topic

Is there a way to make a custom logging topic, and and produce a log message using it from script ?
by chuq
Mon Aug 28, 2023 5:28 pm
Forum: Beginner Basics
Topic: Recursive routing with marking
Replies: 3
Views: 2020

Re: Recursive routing with marking

Nexthop lookup is done only in the main routing table, even for routes with different value of routing-mark . It is necessary to restrict set of routes that can be used to look up immediate nexthops. Quite surprising :) and absolutely unclear why would they do that If I understand correctly, routin...
by chuq
Mon Aug 28, 2023 4:14 am
Forum: Beginner Basics
Topic: Recursive routing with marking
Replies: 3
Views: 2020

Recursive routing with marking

Found on this page: https://help.mikrotik.com/docs/pages/vi ... d=26476608
reroute.png
Why do we specify routing-table in the second part, but not in the first ?
by chuq
Fri Aug 18, 2023 4:15 pm
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

Re: PCC and routing tables

OK, another question: is there a way to debug the route selection process somehow ? Some logging maybe ?
by chuq
Wed Aug 16, 2023 12:29 pm
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

Re: PCC and routing tables

You have linked to an existing Mikrotik document which does work. If it doesn't, show your config indicating what doesn't go as expected. But if I understand your question correctly, you are (for now) on a theoretical level ? Maybe be a bit more specific as to what part you don't understand or thin...
by chuq
Wed Aug 16, 2023 8:29 am
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

Re: PCC and routing tables

Then this post contains all the answers you need.
Next.....
No, it's not.
That's why I'm asking the question.

I would recommend you to read the question before answering something.
Anyway, if you have noting to say, you can just don't say anything.
Cheers!
by chuq
Tue Aug 15, 2023 7:39 pm
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

Re: PCC and routing tables

I cannot assist on a config if there is no config and no plan and no network diagram.
There is a plan, a diagram, and parts of config you can see following that link I posted in my original post
by chuq
Tue Aug 15, 2023 12:59 pm
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

Re: PCC and routing tables

When you have a plan and network diagrams and a config, i can certainly discuss particulars otherwise read more https://forum.mikrotik.com/viewtopic.php?t=192736 https://forum.mikrotik.com/viewtopic.php?t=182373 Thank you for useful links! What plan or diagram you are talking about? Have you read m...
by chuq
Mon Aug 14, 2023 7:05 pm
Forum: Beginner Basics
Topic: PCC and routing tables
Replies: 9
Views: 1738

PCC and routing tables

According to this manual https://help.mikrotik.com/docs/display/ROS/Per+connection+classifier I have to add routes specifying routing marks AND(!) also additional routes in main table "To enable failover..." But as I can see it doesn't work without these main table routes, even if there ar...
by chuq
Fri Jun 23, 2023 3:45 am
Forum: Beginner Basics
Topic: interface traffic prioritization
Replies: 1
Views: 654

interface traffic prioritization

I have a usual router(NAT) with internet on ether1, and all others bridged for LAN
How do i prioritize one specific interface (say either2) for the most important client?
by chuq
Mon Apr 10, 2023 3:22 am
Forum: Wireless Networking
Topic: station modes are not working
Replies: 3
Views: 1227

Re: station modes are not working

The problem was found here
/interface/wireless/connect-list/print
There was a rule allowing specific ap only.
To figure this out I had to enable logging for wireless driver
/system/logging/add topics=wireless action=memory
by chuq
Mon Apr 03, 2023 1:43 am
Forum: Wireless Networking
Topic: station modes are not working
Replies: 3
Views: 1227

station modes are not working

I have a hap lite device, it was used as a wifi-to-wire bridge (station pseudobridge mode), and it used to work as expected earlier. But now, when I started my setup after some time, it doesn't work anymore It just doesn`t want to connect to wifi, and I do not understand why I tried different statio...
by chuq
Tue Jan 10, 2023 6:12 pm
Forum: Beginner Basics
Topic: MAC Telnet specification [SOLVED]
Replies: 1
Views: 491

MAC Telnet specification [SOLVED]

Is there any information about MAC Telnet protocol ?
I wonder to make a client program to communicate with rb device
by chuq
Mon Dec 05, 2022 1:14 am
Forum: Beginner Basics
Topic: MultiWAN backup bridge
Replies: 0
Views: 300

MultiWAN backup bridge

Here's the deal I want to have several WAN ports for different ISP with DHCP, and switch between them in defined order, if they goes down. I saw the solutions based on firewall and routing, but I would like to have my equipment in the ISPs network without NAT. So I've created a bridge for each WAN p...
by chuq
Sat Dec 03, 2022 10:42 pm
Forum: Scripting
Topic: Set global variable [SOLVED]
Replies: 7
Views: 1724

Re: Set global variable [SOLVED]

BTW, I knew I read this at some point... The old wiki actually describe this in a "Tips and Tricks" – other useful gems likely in here that AFAIK aren't in the newer help.mikrotik.com docs: https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks#Accessing_global_variable_from_func...
by chuq
Sat Dec 03, 2022 8:25 pm
Forum: Scripting
Topic: Set global variable [SOLVED]
Replies: 7
Views: 1724

Re: Set global variable [SOLVED]

...
Basically you need add ":global <varname>" for ANY variable/function defined outside the scope, you are going to use inside the current "scope" (e.g. do={} block here).
Thanks a lot ! Works fine 👌
by chuq
Sat Dec 03, 2022 2:11 pm
Forum: Scripting
Topic: Set global variable [SOLVED]
Replies: 7
Views: 1724

Re: Set global variable [SOLVED]

It's meaningless, like the phrase you wrote "extrasensory perception" Do two lines of code thrown out at random without description seem normal to you? There are three globals in the script, and two set commands - quite obvious. If script runned as it is, nothing happens, and no global ge...
by chuq
Fri Dec 02, 2022 9:44 pm
Forum: Scripting
Topic: Set global variable [SOLVED]
Replies: 7
Views: 1724

Set global variable [SOLVED]

It seems the system doesn't like my script :global activeCh first :global auxCh second :global setActiveCh do={ :if ($activeCh = $"ch") do={ :log info "Keep $activeCh" } else={ :log info "Switch $activeCh to $ch" :set auxCh $activeCh :set activeCh $ch } } I have found t...
by chuq
Fri Dec 02, 2022 6:48 pm
Forum: Scripting
Topic: Global var scope and lifetime [SOLVED]
Replies: 2
Views: 847

Re: Global var scope and lifetime [SOLVED]

show your code
As it turned out, I had a syntax error in my script, and the system didn't bother to tell me about it (what a shame!), and just ignore my script completely 🤷‍♀️
by chuq
Thu Dec 01, 2022 7:29 pm
Forum: Scripting
Topic: Global var scope and lifetime [SOLVED]
Replies: 2
Views: 847

Global var scope and lifetime [SOLVED]

What's the scope and lifetime of a global variable ?
I put a script in scheduler at system startup, it creates a bunch of global vars, but I don't see them in the environment
Should I move my code out of named script ? Or how do I make them available from other places/scripts ?
by chuq
Mon Nov 28, 2022 6:00 pm
Forum: General
Topic: Feature Request: Event Handling
Replies: 9
Views: 4269

Re:

i'ts planned, but not sure when it will be ready
and now ?
by chuq
Mon Nov 28, 2022 12:00 pm
Forum: Beginner Basics
Topic: LAN Interface static ip [SOLVED]
Replies: 3
Views: 2104

Re: LAN Interface static ip [SOLVED]

What IP has your computer? No DHCP on that interface means no traffic if your computer is not manually configured. My pc has been also configured with static ip from the same network (say 192.168.88.7), but they didn't see each other. The problem disapeared when I switched them to another net (not ...
by chuq
Sun Nov 27, 2022 10:21 pm
Forum: Beginner Basics
Topic: LAN Interface static ip [SOLVED]
Replies: 3
Views: 2104

LAN Interface static ip [SOLVED]

I've removed ether5 from lan bridge, and assigned 192.168.88.5 ip to it
But I can't connect to this ip from my pc, and in there is an "ether5 unreachable" message in the routes list gateway col.
Where I'm wrong ?