Community discussions

MikroTik App

Search found 10 matches

by grealish
Mon Apr 19, 2010 3:31 pm
Forum: General
Topic: Static NAT mapping per VLAN basis
Replies: 1
Views: 665

Static NAT mapping per VLAN basis

Hi, I have an unsually setup for a NAT configuration. I'm trying to configure the Firewall NAT in such away that you can have any number of VLANs with the same subnet but a static NAT mapping prevent duplicated IP being routed. It would look like this 10.100. 1 .100 => dstnat => 192.168.10.100 (vlan...
by grealish
Tue Sep 29, 2009 9:17 pm
Forum: Scripting
Topic: perl API client
Replies: 107
Views: 57343

Re: perl API client

checked with 3.28: when that name exists, the request returns the following: !re= =.id=*1 Got it :) <<< /queue/simple/print <<< =.proplist=.id <<< ?name=limit-vlan3-tc <<< >>> !re >>> =.id=*2 >>> !done <<< Will try now to implement this in a perl script I believe you have to enter the tree structur...
by grealish
Tue Sep 29, 2009 6:45 pm
Forum: Scripting
Topic: perl API client
Replies: 107
Views: 57343

Re: perl API client

thanks, so I do as is, however it returns idone?? is it not to return the .id? of the name I passed?
<<< /queue/simple/print
<<< =.proplist=.id
<<< ?name=limit-vlan3=tc
<<<
>>> !done
by grealish
Tue Sep 29, 2009 3:36 pm
Forum: Scripting
Topic: perl API client
Replies: 107
Views: 57343

Re: perl API client

at first, '/queue/simple-table/print' gets no such command prefix trap =) you should use '/queue/simple/print' for enabling, use /queue/simple/set =.id=*2 =disabled=false Cool Thanks, works now, however can I address the queue differently as in; <<< /queue/simple/set <<< =name=limit-vlan3-tc <<< =d...
by grealish
Tue Sep 29, 2009 12:31 pm
Forum: Scripting
Topic: perl API client
Replies: 107
Views: 57343

Re: perl API client

/queue/simple -table ?.. what exact command do you try to set 'disabled' to false?.. I have a list of simple queue's that I wish to be able to disable and enable from a perl script using the API, /queue/simple-table/print will list the table of simple scripts, but my question is how do I enable the...
by grealish
Tue Sep 29, 2009 11:38 am
Forum: Scripting
Topic: perl API client
Replies: 107
Views: 57343

Re: perl API client

Hi I've been playing around allot with the perl API client, and have been testing a few commands on the TTY wrapper, however I'm having trouble trying to enable a defined queue in the simple queues table /queue/simple-table/print #lists queues >>> !re >>> =.id=*2 >>> =name=limit-vlan3-tc >>> =target...
by grealish
Tue Jun 02, 2009 4:40 pm
Forum: Scripting
Topic: Re-Configurable network using API
Replies: 7
Views: 1233

Re: Re-Configurable network using API

just had a look over the api, and have received the two routers, however its been a while when i last configured one of these guys, so need to play catch up :) however any one know the best way to generate latency on a vlan or bridge, some how buffer it or so? why would you artificially introduce l...
by grealish
Tue Jun 02, 2009 11:58 am
Forum: Scripting
Topic: Re-Configurable network using API
Replies: 7
Views: 1233

Re: Re-Configurable network using API

just had a look over the api, and have received the two routers, however its been a while when i last configured one of these guys, so need to play catch up :)

however any one know the best way to generate latency on a vlan or bridge, some how buffer it or so?
by grealish
Sat Apr 11, 2009 11:01 pm
Forum: Scripting
Topic: Re-Configurable network using API
Replies: 7
Views: 1233

Re: Re-Configurable network using API

Looking for both actually, Using the API interface can I build a RouterOS network to reconfigure it self almost fully, I'm trying to design a reconfigurable network testbed and need to be able to simulate changes in network environments, as in Packet loss, high latency, strange encapsulation of pack...
by grealish
Tue Apr 07, 2009 7:04 pm
Forum: Scripting
Topic: Re-Configurable network using API
Replies: 7
Views: 1233

Re-Configurable network using API

Hi, I''ve been searching around for a router platform that can reconfigure various network characteristic, such as
  • Bandwidth throughput
    Packet size,
    Latency,
    Routing,
    Firewall Polices,
It looks like the API can do this, has anyone attempted any of the following above?
Thanks