Community discussions

MikroTik App

Search found 93 matches

by colin
Tue Nov 05, 2024 9:22 am
Forum: General
Topic: endpoint-independent-nat 100% CPU
Replies: 2
Views: 1313

Re: endpoint-independent-nat 100% CPU

I have the same issue. After disabling the rules, the CPU becomes normal.

CCR1009-7G-1C-1S+
7.16
by colin
Fri Sep 27, 2024 7:37 am
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1812

Re: how to query by query words [SOLVED]

Oh my god, i thought there could only be one line of operators. Thank you. If you have haven't used an old RPN-based HP calculator, you'd think Mikrotik was crazy for how this works. You can have multiple operators in one line, but you can ALSO have multiple "#operators" in the string arr...
by colin
Thu Sep 26, 2024 11:17 am
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1812

Re: how to query by query words [SOLVED]

Oh my god, i thought there could only be one line of operators. Thank you.
by colin
Wed Sep 25, 2024 2:49 pm
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1812

Re: how to query by query words [SOLVED]

... and you asked a similar question here: https://forum.mikrotik.com/viewtopic.php?t=198974#p1021503 Yes, with your help i can do simple queries. Thank you again. But for the example:(chain=chain1 or chain=chain2) and (action=netmap or action=log) and src-address=fd00:0:0:3::/64, i still don't kno...
by colin
Wed Sep 25, 2024 1:47 pm
Forum: Beginner Basics
Topic: how to query by query words [SOLVED]
Replies: 7
Views: 1812

how to query by query words [SOLVED]

Hi All:
I want to query some nat rules via restful api,for some simple queries it has been implemented.
But i don't know how to query like this:
(chain=chain1 or chain=chain2) and (action=netmap or action=log) and src-address=fd00:0:0:3::/64

Can anyone give some help? Thank you.
by colin
Tue Sep 10, 2024 4:57 pm
Forum: Scripting
Topic: The start parameter of the :find function
Replies: 6
Views: 877

Re: The start parameter of the :find function

IMO it's really the docs could be clearer. The example shows a -1, so they give you the clue at least...clarity be better. In formal sense, the <start> is exclusive of itself, so it mean "search- after -this-index" or "start-after=-1:... and next number after -1 is 0, which is the st...
by colin
Tue Sep 10, 2024 6:50 am
Forum: Scripting
Topic: The start parameter of the :find function
Replies: 6
Views: 877

Re: The start parameter of the :find function

Is this designed to be like this? Yes. RouterOS uses 0-based indexes for variables/array/string, so -1 is before the first is logical. It's not important whether routeros uses 0-based index or 1-based index, the key point is that the parameter and return value ​​of the :find function define the ind...
by colin
Mon Sep 09, 2024 8:28 am
Forum: Scripting
Topic: The start parameter of the :find function
Replies: 6
Views: 877

The start parameter of the :find function

Hi all:

I found that the :find function starts searching from start + 1 (for example, if you want to search from the beginning, start needs to be specified as -1). Is this designed to be like this?
by colin
Fri Aug 23, 2024 4:10 pm
Forum: Scripting
Topic: variables in string
Replies: 20
Views: 1500

Re: variables in string

Other languages offer you string interpolation of variables like this: :log warn "${testStr}2" or :log warn "{$testStr}2" Of course not working in ROS scripting. First example is syntax error and the second one works, but outputs the braces. I guess OP does not want the braces. ...
by colin
Fri Aug 23, 2024 7:01 am
Forum: Scripting
Topic: variables in string
Replies: 20
Views: 1500

variables in string

Hi All: for the example below: :local testStr "198" :local testStr2 "199" :log warn "$testStr2" If i want get the result of 1982(not 199),how to do it? I know it can be done like: :log warn ($testStr . "2") but i wonder if there is an easier way. Thank you.
by colin
Tue Aug 20, 2024 1:32 pm
Forum: General
Topic: How to get runtime information via script [SOLVED]
Replies: 3
Views: 1921

Re: How to get runtime information via script [SOLVED]

I found that the execution in the script can be simplified to:
:local text1 "IP: $[([interface pppoe-client monitor DIGI once as-value]->"local-address")]"
or
:local text1 [([interface pppoe-client monitor DIGI once as-value]->"local-address")]
by colin
Tue Aug 20, 2024 1:04 pm
Forum: General
Topic: How to get runtime information via script [SOLVED]
Replies: 3
Views: 1921

Re: How to get runtime information via script [SOLVED]

This is exactly what i want, thank you so much.
by colin
Tue Aug 20, 2024 10:44 am
Forum: General
Topic: Wireguard in 2nd WAN [SOLVED]
Replies: 34
Views: 5690

Re: Wireguard in 2nd WAN [SOLVED]

Yeah, the first WireGuard handshake is like a secret handshake between two routers (Peer A and Peer B) that want to communicate securely. Peer A sends a "hello" (handshake initiation packet) to Peer B which responds with a "hello back" (handshake response packet). But because th...
by colin
Tue Aug 20, 2024 7:47 am
Forum: General
Topic: How to get runtime information via script [SOLVED]
Replies: 3
Views: 1921

How to get runtime information via script [SOLVED]

Hi all,
Is it possible to get the runtime information via script?
For example, get the remote ipv6 address of the pppoe client interface:
pppoe info.png
Thanks.
by colin
Tue Aug 06, 2024 4:32 am
Forum: Scripting
Topic: Strange array index behavior
Replies: 8
Views: 967

Re: Strange array index behavior

The ambiguity (I believe present in other computer languages/scripting) is in the quotes behaviour. When doing: :set ($testarr->2) 2 is a value read by the parser as number, or to be even more strict, 2 is an unknown type value and the parser attributes to it a number type. When doing: :set ($testa...
by colin
Mon Aug 05, 2024 1:35 pm
Forum: Scripting
Topic: Strange array index behavior
Replies: 8
Views: 967

Strange array index behavior

Hi all, could you please help confirm whether this is expected behavior or a bug? Thank you. :local testarr [:toarray ""] :set ($testarr->"2") "str 2" :set ($testarr->2) "int 2" :local testIdx 2 :log warn ($testarr->"2") #output: str 2 :log warn ($te...
by colin
Sat Oct 07, 2023 7:11 pm
Forum: Announcements
Topic: v7.12rc is released!
Replies: 224
Views: 111131

Re: v7.12rc is released!

*) interface - added "macvlan" interface support;
I've been waiting for years, and now we finally have macvlan, thanks.
macvlan.PNG
by colin
Sat Aug 26, 2023 7:27 pm
Forum: General
Topic: How to exclude content when query by rest api
Replies: 4
Views: 2054

Re: How to exclude content when query by rest api

Specifically, the syntax for the ".query" is use a stack (like an HP / RPN calculator), unlike "find"/"where" in script... /ip/firewall/nat/print where chain !="srcnat" and chain !="dstnat" How to do this query by rest api? Thanks. Using curl someth...
by colin
Sat Aug 26, 2023 12:09 pm
Forum: General
Topic: rest-api policy
Replies: 9
Views: 2173

rest-api policy

I thought the rest-api policy should be checked for the account which was used to access rest api, but in fact the api policy required(no need rest-api).
So when to use the rest-api policy? Thank you.
by colin
Sat Aug 26, 2023 11:42 am
Forum: General
Topic: How to exclude content when query by rest api
Replies: 4
Views: 2054

How to exclude content when query by rest api

Hi guys, i want to query some nat rules like this:
/ip/firewall/nat/print where chain !="srcnat" and chain !="dstnat" 
How to do this query by rest api? Thanks.
by colin
Thu Aug 24, 2023 1:04 pm
Forum: Scripting
Topic: v7 Rest API - ANSIBLE - PUT/Post
Replies: 4
Views: 3258

Re: v7 Rest API - ANSIBLE - PUT/Post

~ in api is not valid, you cannot use regexps that way.
Any parsing or filtering with regexps must be done on the APP side.
rest api still doesn't support regex query, right?
by colin
Thu Aug 17, 2023 11:42 am
Forum: Scripting
Topic: variable reference not working in v7
Replies: 3
Views: 2145

Re: variable reference not working in v7

Hi rextended, thank you for your reply. In v6 it happened by mistake, in v7 this error has been fixed. But this will broke compatibility,and maybe very hard to fix(hard to find out where need fix). There are no "pointers" in RouterOS as understood in some programming languages. Yes, it jus...
by colin
Wed Aug 16, 2023 7:18 pm
Forum: Scripting
Topic: variable reference not working in v7
Replies: 3
Views: 2145

variable reference not working in v7

1、array reference test :log warn "===Array reference test start...===" :local arr1 [:toarray ""] :local arr2 [:toarray ""] :set ($arr1->"key1") 2 :log warn ("arr1 befare change=") :log warn $arr1 :set ($arr2->"key2") $arr1 :set ($arr1->&qu...
by colin
Tue Oct 18, 2022 8:26 pm
Forum: General
Topic: Feature requests
Replies: 1792
Views: 674530

Re: Feature requests

Add Support for "Virtual Interfaces"
-MACVLAN
-IPVLAN

More info
https://developers.redhat.com/blog/2018 ... networking
+1
by colin
Fri Dec 10, 2021 8:21 am
Forum: RouterOS beta
Topic: DHCP Force server option
Replies: 2
Views: 1622

Re: DHCP Force server option

force option +1.
by colin
Wed Oct 27, 2021 11:07 am
Forum: RouterOS beta
Topic: v7.1rc5 [development] is released!
Replies: 167
Views: 51823

Re: v7.1rc5 [development] is released!

*) chr - fixed FastPath support for VMXNET3 drivers; 
CHR has FastPath ???

When did this happen!

Mikrotik, which drivers does this support ?
Its noted in the manual!
nice.
by colin
Wed Oct 27, 2021 8:49 am
Forum: RouterOS beta
Topic: v7.1rc5 [development] is released!
Replies: 167
Views: 51823

Re: v7.1rc5 [development] is released!

*) chr - fixed FastPath support for VMXNET3 drivers; 
CHR has FastPath ???

When did this happen!

Mikrotik, which drivers does this support ?
same question here.
by colin
Thu Sep 30, 2021 6:59 am
Forum: Scripting
Topic: How to switch command directory dynamically?
Replies: 2
Views: 2062

Re: How to switch command directory dynamically?

@rextended Thank you for your reply. The "change directory" is local only for :if statement Yes, like a local variable,you can't access it out the if block. # changed to global to quickly test the script on the terminal :global pam "4" :global ruleCnt 0 :if ($pam = "4")...
by colin
Wed Sep 29, 2021 1:27 pm
Forum: Scripting
Topic: How to switch command directory dynamically?
Replies: 2
Views: 2062

How to switch command directory dynamically?

Hi guys: I want to do some common operate both for ipv4 mangle rule and ipv6 mangle rule, for example: :local pam "4" :local ruleCnt 0 :if ($pam = "4") do={ /ip firewall mangle } else={ /ipv6 firewall mangle } :set ruleCnt [:len [find]] # and other code both for ipv4 and ipv6 :lo...
by colin
Wed Sep 22, 2021 6:54 am
Forum: RouterOS beta
Topic: v7.1rc4 [development] is released!
Replies: 276
Views: 87509

Re: v7.1rc4 [development] is released!

Which is correct about the disk format?
format_disk.png
diskformat_gui.png
diskformat_cli.png
by colin
Fri Sep 17, 2021 6:51 am
Forum: RouterOS beta
Topic: The exported routing rule is incomplete (7.1rc3)
Replies: 0
Views: 1230

The exported routing rule is incomplete (7.1rc3)

routing rule.png
When export routing rule, there's no table data.
by colin
Thu Sep 16, 2021 11:32 am
Forum: RouterOS beta
Topic: PLEASE MikroTik made NetInstall version for Docker....
Replies: 41
Views: 8232

Re: PLEASE MikroTik made NetInstall version for Docker....

I do not fully understand at what level the container-daemons live in ROS, but I'm sure your ROS must be booted up to a certain level for that. I am talking about this from an ISP perspective. At the local site, by where the user is, we have a head-end router there that is fully operational. Many c...
by colin
Sat Sep 11, 2021 11:24 am
Forum: RouterOS beta
Topic: v7.1rc3 [development] is released!
Replies: 172
Views: 53862

Re: v7.1rc3 [development] is released!

It seems that can't add scheduler via cli if the on-event contains the char of '\', but it's ok for script:
linebreak.PNG
by colin
Tue Sep 07, 2021 1:39 pm
Forum: RouterOS beta
Topic: v7.1rc2 [development] is released!
Replies: 194
Views: 48278

Re: v7.1rc2 [development] is released!

Please add an option to /import, or make it the default behavior, to print the imported line when an error occurs (in addition to the error message), and to continue the import. As it is now, it is very difficult to import rsc files as even with the slightest difference in features the import stops...
by colin
Thu Aug 26, 2021 1:45 pm
Forum: Announcements
Topic: WinBox v3.29 released!
Replies: 113
Views: 38418

Re: WinBox v3.29 released!

Previously, when running Torch and double-clicking a line in the results, Torch was stopped and IP address under mouse cursor copied to corresponding field (src. or dst. address) where it was easily accessible. Now I can't repeat that. Is it WinBox 3.29 or my MacOS?.. I have the same issue. windows...
by colin
Tue Aug 24, 2021 2:04 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

Do you mean bridge+nat? I think it's too complicated, and may be it will affect performance. No. You can add a VLAN to your ethernet port to get the VLAN tag, then create a bridge and add the VLAN interface to that as a port, set the admin MAC on the bridge, and add the PPPoE client to the bridge. ...
by colin
Tue Aug 24, 2021 1:33 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

Is there a plan to support macvlan or set mac address for the pppoe interface?
You can probably do that using a bridge...
Do you mean bridge+nat?
I think it's too complicated, and may be it will affect performance.
by colin
Tue Aug 24, 2021 12:49 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

Is there a plan to support macvlan or set mac address for the pppoe interface?
by colin
Tue Aug 24, 2021 12:46 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

Seems that there are duplicate settings about vrf:
vrf-diff.png
But in interfaces->vrf, vrf can't be added(interface list must be specified).
by colin
Mon Aug 23, 2021 1:49 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

!) added support for IPv6 NAT (CLI only);
Great news. Finally we can use ipv6 nat now(useful for multi wan+load balance).
by colin
Mon Aug 23, 2021 1:44 pm
Forum: RouterOS beta
Topic: v7.1rc1 [development] is released!
Replies: 344
Views: 83904

Re: v7.1rc1 [development] is released!

I was right then to put it in my signature... :lol:
(Be ready, 23 August is coming...)
So when can we see the stable version? :D
by colin
Mon Aug 23, 2021 1:42 pm
Forum: Announcements
Topic: WinBox v3.29 released!
Replies: 113
Views: 38418

Re: WinBox v3.29 released!

*) added "Windows" menu for list of all currently opened windows;
Love love this. Thank you so much.
by colin
Fri Jun 11, 2021 8:56 am
Forum: RouterOS beta
Topic: Feature Request Multi Connection Marks
Replies: 3
Views: 1893

Re: Feature Request Multi Connection Marks

+1, just like mwan3(bitwise mask)
by colin
Mon Dec 14, 2020 3:10 pm
Forum: RouterOS beta
Topic: v7.1beta3 [development] is released!
Replies: 261
Views: 84234

Re: v7.1beta3 [development] is released!

Which features are missing in your opinion?
Macvlan feature missing
+1
by colin
Wed Sep 02, 2020 11:17 am
Forum: RouterOS beta
Topic: Feature Request: Storage Updates
Replies: 1
Views: 1100

Re: Feature Request: Storage Updates

+1.
by colin
Sat Aug 22, 2020 6:37 am
Forum: RouterOS beta
Topic: FEATURE REQUEST:support macvlan
Replies: 5
Views: 5149

FEATURE REQUEST:support macvlan

Some isp bind the pppoe account and mac, so if you have more than one pppoe accounts, you should have more than one mac address. So for the v7 version, hope it will support: 1)add macvlan interface(add it's also suit for other situation, eg. when you want to get more than one address from DHCP server)
by colin
Thu Aug 13, 2020 11:42 am
Forum: Beginner Basics
Topic: It seems that Fasttrack can work with Policy Based Route
Replies: 0
Views: 1140

It seems that Fasttrack can work with Policy Based Route

From the wiki https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack and other topics we know that PBR does not play well with Fasttrack. I also test it by www.speedtest.net , and it can't complete the test. But yesterday i found that if i delete the default route(0.0.0.0/0) from the main table, then fo...
by colin
Fri Jul 31, 2020 5:39 am
Forum: General
Topic: something wrong on the wiki
Replies: 6
Views: 2091

Re: something wrong on the wiki

192.168.0.0/16 was added by mistake. Also fixed title form IPv4 to Ipv6. Thanks for the confirm. And is this right? /ipv6 firewall address-list add address=2001::/32 comment="defconf: RFC6890 TEREDO" list=not_global_ipv6 /ipv6 firewall raw add action=drop chain=prerouting comment="de...
by colin
Fri Jul 31, 2020 5:37 am
Forum: General
Topic: something wrong on the wiki
Replies: 6
Views: 2091

Re: something wrong on the wiki

Ad 1.: the article is an example to show how one can strenghten security. Surely exact config should be adapted for actual network layout. For example: 192.168.0.0/16 is a bad SRC IP address for packets arriving from WAN interface. Except in very rare cases. But for majority of installations bad SR...
by colin
Thu Jul 30, 2020 10:49 am
Forum: General
Topic: something wrong on the wiki
Replies: 6
Views: 2091

something wrong on the wiki

1.why 192.168.0.0/16 is a bad source for ipv4?
https://help.mikrotik.com/docs/display/ ... dressLists
bad src.png
2.should be ipv6 raw rule
https://help.mikrotik.com/docs/display/ ... RAWRules-2
ipv6 raw.png
by colin
Thu Jun 25, 2020 6:26 am
Forum: Scripting
Topic: convert string to a map
Replies: 1
Views: 1207

convert string to a map

Hi guys, is it possible to ocnvert a string to map? for example :local arrElements "a=1,b=2,c=3" :local arr4 [:toarray $arrElements] :foreach k2,v2 in=$arr4 do={ :log info "$k2=$v2" } Expected output: a=1 b=2 c=3 Actual output: 0=a=1 1=b=2 2=c=3 If define like this, it works: :lo...
by colin
Sun Jun 21, 2020 5:05 pm
Forum: Scripting
Topic: I did it! Script to compute UNIX time!
Replies: 36
Views: 27627

Re: I did it! Script to compute UNIX time!

Here is an updated version that could be used to both get current time or convert data from input. Example current time :put [$EpochTime] 1588597644 Convert time :put [$EpochTime "may/01 16:23:50"] 1588343030 EpochTime "15:23:50"] 1588598630 When date not give, it uses current d...
by colin
Sun Jun 21, 2020 3:45 pm
Forum: Useful user articles
Topic: Tool: Using Splunk to analyse MikroTik logs 3.3 (Graphing everything) 💾 🛠 💻 📊
Replies: 472
Views: 324074

Re: Tool: Using Splunk to analyse MikroTik logs 3.0 (Graphing everything)

Oh my god, why didn't I discover it until now. It's exactly what i want. Thank you so much.
by colin
Sun Mar 15, 2020 12:04 pm
Forum: RouterBOARD hardware
Topic: The usb otg cable for android phone can be used for ccr1009?
Replies: 2
Views: 3234

The usb otg cable for android phone can be used for ccr1009?

Hi guys, i bought a used ccr1009-8g-1s-1s+ router(no usb otg cable), and it seems work fine except the usb port. I connect a usb disk to the router via a usb otg cable which was used for the android phone, but i can't see the usb port in the winbox under the system->ports menu, and the disk doesn't ...
by colin
Sat Nov 30, 2019 9:59 am
Forum: Virtualization
Topic: Mikrotik CHR speed performance problem
Replies: 37
Views: 38074

Re: Mikrotik CHR speed performance problem

Pirlet , FYI - I assume you are running a Mikrotik CHR (64-Bit ROS). Heads up - I don't think you need the "SCSI controller 0" in your configuration. If I am correct , the CHR does not even have SCSI drivers and the virtual CHR hard disk is actually IDE. By removing the SCSI controller , ...
by colin
Sat Nov 30, 2019 8:53 am
Forum: Beginner Basics
Topic: high management cpu load when enable kid control
Replies: 1
Views: 947

high management cpu load when enable kid control

after enable kid control: enable-kidcontrol.png after disable kid control: disable-kidcontrol.png None of the other settings were changed. So it's the bug about kid control? Tried many times(disable kid control to see the cpu load then enable kid control to see the cpu again) and got the same result...
by colin
Thu Nov 21, 2019 4:39 am
Forum: Beginner Basics
Topic: mangle rule can't catch all packets
Replies: 0
Views: 912

mangle rule can't catch all packets

For the rules: add action=mark-connection chain=prerouting new-connection-mark=conn1 passthrough=no src-address=192.168.2.4 add action=log chain=prerouting connection-mark=conn1 src-address=192.168.2.4 add action=log chain=prerouting log=yes src-address=192.168.2.4 I found that the packets count of ...
by colin
Tue Oct 15, 2019 11:22 am
Forum: Scripting
Topic: dynamic=no doesn't work in /ip route
Replies: 4
Views: 2668

Re: dynamic=no doesn't work in /ip route

Works with find too:
[admin@p3_450] /ip route> :put [find  where !dynamic]      
*2;*1
[admin@p3_450] /ip route> :put [find  where !static]        
*401691fd
Sorry, my fault. It works.
by colin
Tue Oct 15, 2019 5:58 am
Forum: Scripting
Topic: dynamic=no doesn't work in /ip route
Replies: 4
Views: 2668

Re: dynamic=no doesn't work in /ip route

When route is not dynamic then "dynamic" parameter is not set wich is not equal to "no" Correct way is [admin@p3_450] /ip route> print where dynamic Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unr...
by colin
Mon Oct 14, 2019 6:27 pm
Forum: Scripting
Topic: dynamic=no doesn't work in /ip route
Replies: 4
Views: 2668

dynamic=no doesn't work in /ip route

Hi, i find that the follow commands get different results: /ip route :put [:len [find static=yes]] =>44 :put [:len [find dynamic=no]] =>0 :put [:len [find dynamic !=yes]] =>44 but in /ip firewall nat they have same results: /ip firewall nat :put [:len [find dynamic=no]] =>55 :put [:len [find dynamic...
by colin
Mon Sep 30, 2019 4:10 am
Forum: General
Topic: RouterOS v7.0beta1 (ARM)
Replies: 203
Views: 104392

Re: RouterOS v7.0beta1 (ARM)

looks like beta2 is out: https://forum.mikrotik.com/viewtopic.php?f=1&t=152003#p752103 Changes in v7beta2 capsman - improved compatibility between v6 and v7 versions; tr069-client - address support of server CA certificates; winbox - re-added OSPF menu; ppp - fixed "add-default-route"...
by colin
Sun Sep 22, 2019 7:44 am
Forum: General
Topic: RouterOS v7.0beta1 (ARM)
Replies: 203
Views: 104392

Re: RouterOS v7.0beta1 (ARM)

Even if it's not perfect, we'd love to start testing BGP/MPLS on ARM/Tilera!
And CHR also, please!!
CHR +1
by colin
Fri Sep 06, 2019 6:35 pm
Forum: General
Topic: RouterOS v7.0beta1 (ARM)
Replies: 203
Views: 104392

Re: RouterOS v7.0beta1 (ARM)

finally we saw the beta version of v7, and hope the full ipv6 support will be implemented.
by colin
Wed May 15, 2019 3:15 am
Forum: General
Topic: [SOLVED] UPnP seems not working with PPPoE
Replies: 10
Views: 9348

Re: [SOLVED] UPnP seems not working with PPPoE

Some times if i disable upnp, and reenable it, the upnp will still keep disabled(you can check the tcp port 2828 by tcping, it was closed.). After disable it and reenable again and again, it still disabled, then i find your solution and try it, and it worked again. So thanks to your solution. But mo...
by colin
Tue Apr 23, 2019 7:34 pm
Forum: Announcements
Topic: v6.44.2 [stable] is released!
Replies: 67
Views: 38639

Re: v6.44.2 [stable] is released!

After update to 6.44.2(CHR), i found that the port of 2828(upnp related port) will be closed when you restart ros, even the upnp settings still show as enabled. To enable it, i need to disable upnp then reenable it many times. And if restart ros, the port will be closed again. Any one else has the s...
by colin
Tue Jan 22, 2019 4:46 pm
Forum: General
Topic: [Feature Request] :resolve DNS Client Improvements
Replies: 9
Views: 6726

Re: [Feature Request] :resolve DNS Client Improvements

Oh good question @colin, I don’t know of a way. Perhaps adding :resolve server=8.8.8.8 might be handy.
Yes, the resolve command has the server parameter, but it seems that ip firewall address-list always resolve the domain address list by the default dns server.
by colin
Mon Jan 21, 2019 7:13 pm
Forum: General
Topic: [Feature Request] :resolve DNS Client Improvements
Replies: 9
Views: 6726

Re: [Feature Request] :resolve DNS Client Improvements

I fully support your proposals to enhance the DNS resolver.

And i think use the address list to get all of the address for a domain is a good idea, but if i want to resolve the domain by different dns server, how to do it?

So i think the best answer is to enhance the DNS resolver, i think.
by colin
Fri Dec 21, 2018 4:27 am
Forum: Beginner Basics
Topic: vrrp with mtu
Replies: 7
Views: 3306

vrrp with mtu

Does anyone know how to change mtu of vrrp interface? The default value is 1500, and i change it to 1512 or 1480, but the actual mtu is still 1500 And it seems that it no effect to pppoe interface which created base on vrrp, for example: eth1 mtu:1500 vrrp1 mtu:1460 pppoe1 mtu:1480 pppoe1 can connec...
by colin
Sun Nov 11, 2018 7:14 am
Forum: Beginner Basics
Topic: The winbox is hard to use
Replies: 12
Views: 4073

Re: The winbox is hard to use

I have my Winbox windows pre-defined in my session preferences, so every new session opens with my preferred windows open in exactly the same place and dimensions each time. If a window ends up behind another, I don't go looking for it in the right-hand pane. I navigate to it through the menu again...
by colin
Sun Nov 11, 2018 6:53 am
Forum: Beginner Basics
Topic: The winbox is hard to use
Replies: 12
Views: 4073

Re: The winbox is hard to use

Winbox is a classic MDI application, you can use CTRL-F6 and CTRL-SHIFT-F6 to cycle through child windows, forth and back respectively.
Thank you. This hot key is helpful.
by colin
Fri Nov 09, 2018 6:44 pm
Forum: Beginner Basics
Topic: The winbox is hard to use
Replies: 12
Views: 4073

Re: The winbox is hard to use

Hi guys, i want to know how do you use winbox, because i think it's really hard to use. For example: 1.can't move the sub window out of the main window. 2.can't minimal the sub window. So when opening many sub windows, it's hard to find the window which you want. Anyone else has good idea to operat...
by colin
Thu Nov 08, 2018 3:47 pm
Forum: Beginner Basics
Topic: The winbox is hard to use
Replies: 12
Views: 4073

The winbox is hard to use

Hi guys, i want to know how do you use winbox, because i think it's really hard to use. For example: 1.can't move the sub window out of the main window. 2.can't minimal the sub window. So when opening many sub windows, it's hard to find the window which you want. Anyone else has good idea to operate...
by colin
Mon Oct 29, 2018 4:21 pm
Forum: Beginner Basics
Topic: same ip for multi interfaces
Replies: 4
Views: 4412

Re: same ip for multi interfaces

First of all thanks to all of the reply. Case1: Yesterday i tried to bridge the two interfaces then filter them in bridge filters,(just like what @BartoszP and @vecernik87 said), and it worked. Thank you. Case2: I found that it can be achieved by Bridge VLAN Filtering and physical vlan switch(see:ht...
by colin
Sun Oct 28, 2018 6:02 am
Forum: Beginner Basics
Topic: same ip for multi interfaces
Replies: 4
Views: 4412

same ip for multi interfaces

Hello, I wan't to know is it possible to use the one ip for ros and accessed by different interface. Case1: 1.1 the router has two interface called lan1 and lan2. 1.2 the lan1 and lan2 have the same network of 192.168.2.0/24 1.3 the router take the ip of 192.168.2.1/24 1.4 lan1 and lan2 should not a...
by colin
Fri Oct 26, 2018 9:29 pm
Forum: General
Topic: v6 RC and v7 BETA
Replies: 126
Views: 48270

Re: v6 RC and v7 BETA

Hope we will get the v7 beta version in 2018...
by colin
Wed Oct 10, 2018 3:49 am
Forum: General
Topic: dhcp6 client always is requesting,can't get ipv6 prefix...
Replies: 2
Views: 1391

Re: dhcp6 client always is requesting,can't get ipv6 prefix...

Do you confirm that the isp provide the ipv6?
And make sure that
1."use ipv6" is yes in the pppoe profile.
2.only prefix is checked in the dhcpv6 client
by colin
Wed Oct 10, 2018 3:21 am
Forum: General
Topic: v6.38.1: Last Link Up/Down Time 2035
Replies: 3
Views: 3076

Re: v6.38.1: Last Link Up/Down Time 2035

I noticed this also. I tried to disable the pppoe client interface then reenable it, it use it's own time and ignore the system time.

CHR 4.43.2
by colin
Fri Sep 28, 2018 6:10 pm
Forum: General
Topic: Ipv6 & dns cache & script enviroment
Replies: 4
Views: 2471

Re: Ipv6 & dns cache & script enviroment

Thank you so much for the search for me.
It seems that not fixed even in 6.43.2
by colin
Thu Sep 27, 2018 7:28 pm
Forum: General
Topic: Ipv6 & dns cache & script enviroment
Replies: 4
Views: 2471

Re: Ipv6 & dns cache & script enviroment

@Sob Thank you for your reply.
by colin
Wed Sep 26, 2018 6:57 pm
Forum: General
Topic: Ipv6 & dns cache & script enviroment
Replies: 4
Views: 2471

Ipv6 & dns cache & script enviroment

1. These days i found that my isp enable ipv6 support. So i setup ipv6 in ros and it worked well. But after that i found that in the dns cache table, some strange content were cached.for example: dns2.PNG dns1.PNG And I confirm that they appear after i setup ipv6. Is it normal? BTW, there's more and...
by colin
Wed Sep 26, 2018 6:39 pm
Forum: General
Topic: Feature Request: IPv6 NAT support
Replies: 19
Views: 12641

Re: Feature Request: IPv6 NAT support

+1. very very need it, and routing mark
by colin
Mon Apr 02, 2018 5:39 pm
Forum: Scripting
Topic: Can't change Global variable with API
Replies: 19
Views: 5339

Re: Can't change Global variable with API

still have the same problem in ros 6.41.2, hope it will be fixed in the next release.
by colin
Fri Mar 16, 2018 7:30 pm
Forum: General
Topic: Iis it possible to capture the vlan interface's pppoe packets in bridge nat rule
Replies: 0
Views: 955

Iis it possible to capture the vlan interface's pppoe packets in bridge nat rule

for example: /interface bridge add name=wan /interface vlan add interface=wan name=vlan100 vlan-id=100 /interface bridge port add bridge=wan interface=ether2 /interface pppoe-client add name=pppoe-out1 user=test password=test interface=vlan100 /interface bridge nat add action=log chain=srcnat disabl...
by colin
Sun Mar 11, 2018 12:04 pm
Forum: Scripting
Topic: local variable of array act like a global variable
Replies: 1
Views: 1043

local variable of array act like a global variable

1. The local variable which type is array, sometime it act like a global variable, for example: :local testArr {1;2;3} :log info "step1:testArr[0]=$($testArr->0)" :set ($testArr->0) 11 :log info "step2:testArr[0]=$($testArr->0)" when execute it for the first time, the output was:...
by colin
Mon Feb 26, 2018 7:57 am
Forum: Scripting
Topic: the condition of for loop
Replies: 0
Views: 913

the condition of for loop

for the script:

:for i from=0 to=-1 step=1 do={
:log info $i
}

it will output
-1
0

But the expect result is output nothing.

Is it a bug or normal result?
by colin
Tue Jul 26, 2016 4:58 am
Forum: Announcements
Topic: v6.36 [current] is released!
Replies: 183
Views: 76130

Re: v6.36 [current] is released!

The changelog of: *) upnp - fixed nat rule dst-port by making it visible again;

It seems that the dst-port still unvisible.
by colin
Sat Jul 23, 2016 7:45 pm
Forum: General
Topic: Queue Tree(Global) with src-nat
Replies: 0
Views: 1200

Queue Tree(Global) with src-nat

We know that one different of  Global-Out and Interface HTB is that In case of SRC-NAT (masquerade) Global-Out will be aware of private client addresses, but Interface HTB will not in v5.  But in v6, both the global and interface htb are all after the src-nat(see http://forum.mikrotik.com/viewtopic....
by colin
Tue Mar 01, 2016 4:14 am
Forum: General
Topic: Feature request: Force sending of DHCP options to clients
Replies: 73
Views: 23260

Re: Feature request: Force sending of DHCP options to clients

+10000

I need this feature too
by colin
Wed Aug 26, 2015 10:16 am
Forum: General
Topic: v6.31 support vmware scsi disk?
Replies: 2
Views: 2243

Re: v6.31 support vmware scsi disk?

Thank you for reply.
retest it with the chr version, the same result.
by colin
Mon Aug 24, 2015 12:52 pm
Forum: General
Topic: v6.31 support vmware scsi disk?
Replies: 2
Views: 2243

v6.31 support vmware scsi disk?

What's new in 6.31 (2015-Aug-14 15:42): ...... *) demo mode of Cloud Hosted Router (CHR) added *) chr - added x86_64 image for use in virtual environments *) chr - added support for VMware SCSI virtual disks *) chr - added support for VMware vmxnet3 network card It seems that v6.31 had support the v...
by colin
Mon May 11, 2015 11:26 am
Forum: General
Topic: Problem Intel I350 t4
Replies: 11
Views: 6152

Re: Problem Intel I350 t4

sorry for invoice but we will have driver implemented only in v7 beta that will be released soon
Can it be implemented in v6.29 etc... or what is the exactly v7 beta release date...