Community discussions

MikroTik App
 
User avatar
omidkosari
Trainer
Trainer
Topic Author
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Feature Request: add dynamic ip to address list by api

Tue Mar 11, 2014 4:51 pm

 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Feature Request: add dynamic ip to address list by api

Thu Jul 03, 2014 10:51 am

Actually, this will not be feature of 7.x as it is already available in RotuerOS 6.x

ros code

[admin@MikroTik] /ip firewall address-list> add list=lala timeout=30s address=0.0.0.0 
[admin@MikroTik] /ip firewall address-list> print 
Flags: X - disabled, D - dynamic 
 #   LIST                                                                    ADDRESS                         TIMEOUT             
 0 D lala                                                                    0.0.0.0                         28s                 
[admin@MikroTik] /ip firewall address-list> print 
Flags: X - disabled, D - dynamic 
 #   LIST                                                                    ADDRESS                         TIMEOUT             
 0 D lala                                                                    0.0.0.0                         25s
 
victoredo
just joined
Posts: 4
Joined: Fri Aug 29, 2014 6:45 am

Re: Feature Request: add dynamic ip to address list by api

Sun Sep 07, 2014 5:43 am

Hi, I downloaded this image "mikrotik-6.19.iso", tested it in virtual machine, and can add dynamic entries via WinBox successfully.
Then I bought a CCR1036-12G-4S, write my own API library and integrate the proper code to add support for mikrotik to my application, and sadly it just don't work.

My device info is:
[admin@MikroTik] /system resource> print
             uptime: 5d6h7m49s
            version: 6.1
         build-time: Jun/12/2013 11:50:54
        free-memory: 3687.3MiB
       total-memory: 3969.0MiB
                cpu: tilegx
          cpu-count: 36
      cpu-frequency: 1200MHz
           cpu-load: 0%
     free-hdd-space: 905.7MiB
    total-hdd-space: 1024.0MiB
  architecture-name: tile
         board-name: CCR1036-12G-4S
           platform: MikroTik
My API library is OK and full tested, the problem is the feature disabled:
[admin@MikroTik] /ip firewall address-list> add list=lala timeout=30s address=0.0.0.0
expected end of command (line 1 column 15)
[admin@MikroTik] /ip firewall address-list>
It is a 6.1 one, what could be the problem? if the feature is not supported in the current firmware, there is some plan on release this? or any beta version with this feature for my device?

For me this is very important, because we switched to mikrotik after evaluate the ISO image.

best regards,
victor
 
victoredo
just joined
Posts: 4
Joined: Fri Aug 29, 2014 6:45 am

Re: Feature Request: add dynamic ip to address list by api

Mon Sep 08, 2014 5:16 am

Nevermind, I see I can update it to 6.19, and it worked flawless :)

Who is online

Users browsing this forum: baragoon, Bing [Bot], shahzaddj1 and 29 guests