Community discussions

Search found 121 matches

by astounding
Fri Nov 16, 2018 2:09 pm
Forum: Scripting
Topic: date,time format
Replies: 2
Views: 963

Re: date,time format

You mean like this? { :local mydatetime :local time [/system clock get time] :local date [/system clock get date] :local month [:tostr ([:find \ "janfebmaraprmayjunjulaugsepoctnovdec" [:pick $date 0 3] \ ]/3+1)] :if ([:tonum $month]<10) do={ :set month "0$month" } :set mydatetime ( \ $month.[:pick $...
by astounding
Wed Nov 14, 2018 11:40 pm
Forum: Scripting
Topic: Useful scripts
Replies: 53
Views: 94705

Unix-style Timestamp Functions

I've need to do some date/time comparisons on RouterOS 6.40.9, and as new scripting commands to make this easier don't yet exist--see the "Built in function library" thread --I did it the hard way. This script provides three basic timestamp functions. All three use name-based arguments, not position...
by astounding
Thu Aug 04, 2016 10:13 pm
Forum: Forwarding Protocols
Topic: OSPF with two connections between the same 2 routers Q
Replies: 1
Views: 901

OSPF with two connections between the same 2 routers Q

OSPF question: Topology: 1) Primary area border router (in area 0 AND NSSA area 50) 2) Primary link from #1 to #4 is a P2P pair of radios 3) Secondary link from #1 to #4 is another P2P pair of radios 4) Leaf router in NSSA area 50 So there are TWO separate OSPF sessions, one over each P2P radio link...
by astounding
Thu Feb 18, 2016 8:30 pm
Forum: General
Topic: Does RouterOS use any glibc resolver code? (CVE-2015-7547)
Replies: 0
Views: 454

Does RouterOS use any glibc resolver code? (CVE-2015-7547)

MikroTik:

Does RouterOS use any glibc resolver code, thus making it potentially vulnerable to CVE-2015-7547 (the buffer overflow being talked about currently)?

Thanks!

Aaron out.
by astounding
Tue Feb 03, 2015 8:39 pm
Forum: General
Topic: RouterOS v6.25
Replies: 110
Views: 32542

Re: RouterOS v6.25

I use a script via CRON to periodically SSH into a bunch of MikroTik devices and do "/export compact" to archive device configurations. When there's a change, it email's me the diff. PROBLEM: One RB433AH device running RouterOS v6.25 serving DHCP on a LAN (ethernet port) to a group of users keeps re...
by astounding
Mon Dec 08, 2014 10:19 pm
Forum: Scripting
Topic: Can someone explain this?
Replies: 1
Views: 543

Can someone explain this?

Now to try something I'm not sure will even work (running RouterOS 6.23): [user@mikrotik] /system script environment> {:local x do={:put "Hi $1"};[$x "Mom"];:set x [:parse ":put \"Hello \$1\""];[$x "Dad"]} Hi Mom Hello Dad Hi The "Hi Mom" first output line is exactly what I expected (as documented)....
by astounding
Fri Dec 05, 2014 10:27 pm
Forum: Scripting
Topic: :toarray bug???
Replies: 2
Views: 1031

Re: :toarray bug???

True to your word, 6.23 fixes the issue: { :local a {"a"="A";"b"="B";"c"="C"}; :local b [:toarray $a]; :put "a is $[:typeof $a] len $[:len $a]:"; :put $a; :put "b is $[:typeof $b] len $[:len $b]:"; :put $b; :put "equiv..."; :if ($a=$b) do={:put "yes"} else={:put "no"} } ...now gives me the expected:...
by astounding
Fri Dec 05, 2014 8:46 pm
Forum: Scripting
Topic: Feature request: :lambda or :func or :code or :proc
Replies: 1
Views: 729

Re: Feature request: :lambda or :func or :code or :proc

A VERY powerful, a more difficult-to-implement feature that would be extremely useful (especially in conjunction with the above feature), would be this: The ability of a :func do={} defined or :local var dp={} defined code block to get access to the enclosing scope's local variables: { :local cityst...
by astounding
Sat Nov 22, 2014 12:56 am
Forum: Scripting
Topic: :toarray bug???
Replies: 2
Views: 1031

:toarray bug???

First, let's see what happens if one casts an existing normal array to an array using :toarray : { :local a (1,2,3); :local b [:toarray $a]; :put "a is $[:typeof $a] len $[:len $a]:"; :put $a; :put "b is $[:typeof $b] len $[:len $b]:"; :put $b; :put "equiv..."; :if ($a=$b) do={:put "yes"} else={:put...
by astounding
Sat Nov 22, 2014 12:37 am
Forum: Scripting
Topic: Feature request: :lambda or :func or :code or :proc
Replies: 1
Views: 729

Feature request: :lambda or :func or :code or :proc

Now that MikroTik scripting allows passing around code chunks and makes it more easy to create them by setting variables (no more complex parsing of strings with crazy escape sequences), I'd like to see MikroTik add anonymous inline code abilities that don't need a variable. For example: { :local Ma...
by astounding
Fri Nov 21, 2014 10:24 pm
Forum: Scripting
Topic: Script to perform numeric sorting using a bubble sort
Replies: 3
Views: 2013

Re: Script to perform numeric sorting using a bubble sort

Here's my simple implementation of a recursive merge sort (works as of RouterOS 6.22 where it was implemented and used): ## Merge-sort a simple (non-associative) array: ## NOTE: This only works if each array item can ## be compared using the '<' operator. /system script environment remove [ find whe...
by astounding
Fri Nov 21, 2014 10:18 pm
Forum: Scripting
Topic: Understanding scripting data types
Replies: 5
Views: 2727

CODE type...

Messing around more on RouterOS 6.22, I note that functions (the special code data type) can be stored in both global and local variables. But I notice there seems to be two different ways code can be stored: The older :parse global command way: { :local x [:parse ":return 1;"]; :put [$x]; } Output:...
by astounding
Fri Nov 21, 2014 2:04 am
Forum: Scripting
Topic: Understanding scripting data types
Replies: 5
Views: 2727

Re: Understanding scripting data types

Arrays, especially now that there are key/value associative variations are proving interesting too me. I hope to post some quirks I'm encountering in the future...
by astounding
Fri Nov 21, 2014 2:02 am
Forum: Scripting
Topic: Understanding scripting data types
Replies: 5
Views: 2727

Understanding scripting data types

In an effort to better understand MikroTik scripting data types (running RouterOS 6.22) and understand what happens when doing boolean comparisons or passing data around, I've been experimenting. I've encountered some "interesting" things. Here are some of them (some may be bugs): nil is not the sam...
by astounding
Thu Jan 23, 2014 7:23 pm
Forum: General
Topic: What in the world?
Replies: 3
Views: 853

Re: What in the world?

Yes, it is exported compact every time. And as there are ZERO changes from the default configuration of the device with regard to any serial device (I don't use it at all), compact should indeed export nothing. This does seem to be a bug in my opinion. I wondered if anyone else had encountered it.
by astounding
Wed Jan 22, 2014 6:18 pm
Forum: General
Topic: What in the world?
Replies: 3
Views: 853

What in the world?

Okay, so I do "/export compact" on a RouterBoard 951-2n running RouterOS version 6.7 (firmware 3.10), then about an hour later, do "/export compact" again. WITH NO CHANGES MADE BY ANYONE in between. If I "diff" the two exports I notice that in one there are these lines (see below) that do NOT appear...
by astounding
Tue Dec 10, 2013 11:46 pm
Forum: General
Topic: Help me understand: serial port vanish/reappears in export?
Replies: 0
Views: 554

Help me understand: serial port vanish/reappears in export?

Hi, I have a Routerboard 951-2n running firmware 3.10 RouterOS 6.7 that I periodically do a "/export compact" on and save the resulting compacted configuration export away in an archive. Now and again, I detect configuration changes (using diff to compare two exports separated by perhaps an hour or ...
by astounding
Thu Oct 18, 2012 3:47 am
Forum: General
Topic: Priority and VPLS
Replies: 5
Views: 935

Re: Priority and VPLS

1500 (data) + 4 (802.1q VLAN tag) + 14 (ethernet frame) + 4 (inner VPLS tag) + 4 (innermost MPLS tag) + 4 (outer MPLS tag) = 1530, and bump that up to 1534 if you need to carry Q-in-Q double VLAN tagged packets. If I understand it correctly, VPLS layer 2 encapsulation requires the VPLS tag, and a pa...
by astounding
Fri Feb 03, 2012 8:38 pm
Forum: General
Topic: Hotspot 2.0 and 802.11U
Replies: 10
Views: 5437

Re: Hotspot 2.0 and 802.11U

I second the request for 802.11U information/plans/goals.

Aaron out.
by astounding
Wed Nov 16, 2011 11:47 pm
Forum: General
Topic: bridge untagged and tagged from same port NEED FIX YEAR AGO!
Replies: 13
Views: 9345

Re: bridge untagged and tagged from same port NEED FIX YEAR

As of several years back, this was a limitation of the non-VLAN aware Linux kernel bridging. I haven't tracked the issue since then in Linux, so I have no idea if any proposed solutions made it back into mainline kernels. However, MikroTik COULD (and I encourage MikroTik to do it!) fix this problem....
by astounding
Sat Oct 15, 2011 2:48 am
Forum: Scripting
Topic: API wireless scan
Replies: 8
Views: 3665

Re: API wireless scan

Is it possible that the duration parameter is not being interpreted as seconds, but perhaps tenths of seconds or some other unit of time? Testing using the Ruby API library and connecting to a RB411 running version RouterOS version 4.11 (I didn't realize, I'm running 4.11 on a 411... *chuckle*), whe...
by astounding
Thu Sep 29, 2011 12:06 am
Forum: Scripting
Topic: [SOLVED] Ping Via API
Replies: 22
Views: 5552

Re: Ping Via API

Sorry I can't help you with the PHP API library. But for anyone using the Ruby API library, it looks like: require irb(main):001:0> require 'mtik' => true irb(main):002:0> con = MTik::Connection.new(:host=>'10.0.0.1',:user=>'user',:pass=>'password') => #<MTik::Connection:0x000001009d2c80 @sock=#<TCP...
by astounding
Tue Aug 23, 2011 1:39 am
Forum: General
Topic: Management vlan on p2p wds wireless link
Replies: 1
Views: 614

Re: Management vlan on p2p wds wireless link

Can i create that vlan on the bridge interface and move the ip address on vlan or not ?
Your instinct is right on. Just create a VLAN on the bridge and add/move the IP to that VLAN interface.

Aaron out.
by astounding
Thu Aug 11, 2011 6:09 pm
Forum: General
Topic: Feature request: nfnat66
Replies: 1
Views: 734

Re: Feature request: nfnat66

Nice to see a potentially very useful implementation. NAT66 appears to be quite handy for individual users who need it in a border router should they wish to not have to renumber when they change IPv6 providers, or if their existing IPv6 provider renumbers the prefix assigned to them. At least that'...
by astounding
Thu Aug 11, 2011 6:01 pm
Forum: General
Topic: Forum availability via IPv6
Replies: 30
Views: 4759

Re: Forum availability via IPv6

Glad it's back! I didn't hear anything back from HE.net though. It appears HE.net is no longer announcing the prefix to us (which is a good thing if they were unable to transit the traffic to the destination). Looking at HE.net's looking glass via http://lg.he.net/ a traceroute on their network show...
by astounding
Thu Aug 11, 2011 3:10 am
Forum: General
Topic: Forum availability via IPv6
Replies: 30
Views: 4759

Re: Forum availability via IPv6

Hurricane Electric is still announcing the IPv6 prefix in question to my network. Various public looking glass sites show that Sprint and TATA (among others) can reach MikroTik's network just fine. I just sent off an email to HE.NET asking for more information. If I hear back, I will post in this th...
by astounding
Wed Aug 10, 2011 9:44 pm
Forum: General
Topic: Failure removing interface from OSPF (RB800 v5.5 and v5.6)
Replies: 25
Views: 2577

Re: Failure removing interface from OSPF (RB800 v5.5 and v5.

Nevermind on my most recent OSPF CLI-freeze issue. Turns out an intermediate bridge was dropping packets. At last my sessions are happy and my CLI is too.

Aaron out.
by astounding
Wed Aug 10, 2011 2:31 am
Forum: General
Topic: Failure removing interface from OSPF (RB800 v5.5 and v5.6)
Replies: 25
Views: 2577

Re: Failure removing interface from OSPF (RB800 v5.5 and v5.

In running OSPF and RouterOS version 5.6 on RB411 boards and RB750GL boards, I keep repeatedly encountering command freezes, but usually only when OSPF is having a problem establishing a neighbor relationship on one or more interfaces. For example, /ip route print will hang if OSPF is in this semi-r...
by astounding
Tue Aug 09, 2011 3:35 am
Forum: Forwarding Protocols
Topic: Disappearing Default Route in OSPF
Replies: 10
Views: 5739

Disappearing Default Route in OSPF

Hi, I've got three RB411AH devices, all of them running 5.6. One is an AP, the other two are wireless clients. They are doing WDS bridging. For administrative purposes, they all belong to a /29 network. They are each running OSPF and the /29 network and the wds (on the AP) and wlan (on the clients) ...
by astounding
Thu Aug 04, 2011 6:31 pm
Forum: General
Topic: IPv6: Trouble reaching *.mikrotik.com web sites?
Replies: 1
Views: 398

IPv6: Trouble reaching *.mikrotik.com web sites?

Is anyone else using globally routed IPv6 addresses having trouble reaching *.mikrotik.com web sites? user@host:~$ ping6 forum.mikrotik.com PING6(56=40+8+8 bytes) --> 2a02:610:7501:1000::201 --- forum.mikrotik.com ping6 statistics --- 100 packets transmitted, 0 packets received, 100.0% packet loss u...
by astounding
Thu Jul 28, 2011 3:12 am
Forum: General
Topic: Add DHCP leases to address-list
Replies: 6
Views: 7145

Re: Add DHCP leases to address-list

Just schedule a script to run periodically, something like: /ip firewall address-list remove [/ip firewall address-list find list=foo];:local a;:set a [/ip dhcp-server lease find status="bound"];:local b;:for b from=0 to=([:len $a]-1) step=1 do={/ip firewall address-list add list=foo address=[/ip dh...
by astounding
Wed Jul 27, 2011 10:08 pm
Forum: RouterBOARD hardware
Topic: RB750GL and packets over 1500bytes
Replies: 8
Views: 1600

Re: RB750GL and packets over 1500bytes

The 5.6 prerelease DOES fix the 1500 byte problem on the 750GL boxes I'm using.

I can run packets cleanly as large as 4074 bytes.

Thanks!

I do wonder why the l2mtu by default is 1998 instead of 4074 on the GL...

Aaron out.
by astounding
Wed Jul 27, 2011 10:00 am
Forum: RouterBOARD hardware
Topic: RB750GL and packets over 1500bytes
Replies: 8
Views: 1600

Re: RB750GL and packets over 1500bytes

Thank you. I will follow your suggestion.

Aaron out.
by astounding
Tue Jul 26, 2011 9:56 pm
Forum: RouterBOARD hardware
Topic: RB750GL and packets over 1500bytes
Replies: 8
Views: 1600

Re: RB750GL and packets over 1500bytes

Anyone at MikroTik have an idea when a new release will hit the download servers to address this? (5.6?) I've got several 750GLs installed at a particular site that I cannot use until this is fixed.

Wondering,
Aaron out.
by astounding
Thu Jul 21, 2011 3:08 pm
Forum: Forwarding Protocols
Topic: Riddle Me This, OSPF (buggy?)
Replies: 7
Views: 1624

Re: Riddle Me This, OSPF (buggy?)

I'm sorry I even brought up the MTU thing, as I was hoping this thead would be about the OSPF issue. Oops. It's a non-issue for me. But since I did mention it, I appreciate the reasons MTU mismatches should be avoided being mentioned in case of a future reader or the thread thinking otherwise. Aaron...
by astounding
Thu Jul 21, 2011 4:56 am
Forum: Forwarding Protocols
Topic: Riddle Me This, OSPF (buggy?)
Replies: 7
Views: 1624

Re: Riddle Me This, OSPF (buggy?)

If it ignores MTU mismatches that's horrible, even more so if it's quietly (at least seeing that turned on as a "feature" is a nice big red flag). You've got a point there. If it silently ignores it without a specific setting specifying that I want it ignored, that is bad. If you have mismatched MT...
by astounding
Thu Jul 21, 2011 3:58 am
Forum: Forwarding Protocols
Topic: Riddle Me This, OSPF (buggy?)
Replies: 7
Views: 1624

Re: Riddle Me This, OSPF (buggy?)

I should have mentioned all four boxes are running 5.5.

Aaron out.
by astounding
Thu Jul 21, 2011 3:54 am
Forum: Forwarding Protocols
Topic: Riddle Me This, OSPF (buggy?)
Replies: 7
Views: 1624

Re: Riddle Me This, OSPF (buggy?)

I must express appreciation to MikroTik for making MTUs on OSPF interfaces get ignored by default now. At least it seems that way, as during my testing, at times I had MTU mismatches yet OSPF worked just fine (the aforementioned problem excepted). Thanks, MikroTik! (Next test of MTU ignoring will be...
by astounding
Thu Jul 21, 2011 3:51 am
Forum: Forwarding Protocols
Topic: Riddle Me This, OSPF (buggy?)
Replies: 7
Views: 1624

Riddle Me This, OSPF (buggy?)

I set up a test network consisting of 4 RB750GL boxes. All switching and bridging was removed so ethernet ports were NOT connected to other ethernet ports internally (by bridge or switch). Then I made a ring using the four boxes, A, B, C, and D, connecting ports 1 and 5 on each as follows: ...[D]e5<...
by astounding
Fri Jul 15, 2011 9:26 pm
Forum: General
Topic: IPv6 with static route for gateway FAIL
Replies: 3
Views: 935

Re: IPv6 with static route for gateway FAIL

Something else odd: When I had TWO default routes (one with distance=1, the other with distance=2), on boot the distance=1 route was listed as "A"=active -- but no traffic was flowing. I removed that route, and instantly upon removal when the distance=2 route became active, traffic flowed. I then ad...
by astounding
Fri Jul 15, 2011 9:22 pm
Forum: General
Topic: IPv6 with static route for gateway FAIL
Replies: 3
Views: 935

Re: IPv6 with static route for gateway FAIL

This behavior was seen both on 5.2, 5.4, and 5.5 versions of RouterOS.

Aaron out.
by astounding
Fri Jul 15, 2011 9:22 pm
Forum: General
Topic: IPv6 with static route for gateway FAIL
Replies: 3
Views: 935

IPv6 with static route for gateway FAIL

Hi, Consistently upon boot, a RouterBoard 750GL (also seen on a RB750G) using a static default IPv6 route FAILS to route IPv6 traffic even though pings from the RB's CLI to the gateway IPv6 addresses succeed and pings from the RB's CLI to the client IPv6 host on the LAN also succeed. IF I REMOVE the...
by astounding
Wed Jun 29, 2011 2:55 am
Forum: General
Topic: Dumb Bridge (P2P) with NO MAC table?
Replies: 1
Views: 484

Re: Dumb Bridge (P2P) with NO MAC table?

I assume the bridging code when it encounters an unknown MAC forwards to all other bridge ports (much like dumb mode) so I've shortened the timeout and forwarding delay on my bridges to the very minimum. Hopefully that will make the fail-over much quicker.

Aaron out.
by astounding
Wed Jun 29, 2011 2:30 am
Forum: General
Topic: Dumb Bridge (P2P) with NO MAC table?
Replies: 1
Views: 484

Dumb Bridge (P2P) with NO MAC table?

Is there a way to set up a pair of MikroTik radios in a "dumb" bridge mode such that ZERO MAC table exists in either device, and instead ANY and ALL packets received on the ethernet interface are ALWAYS forwarded out the wireless point-to-point link? (No spanning tree, no mac table, no "learning" at...
by astounding
Thu Jun 09, 2011 3:44 am
Forum: General
Topic: IPv6 default route problems on a 750G on World IPv6 Day
Replies: 1
Views: 1159

IPv6 default route problems on a 750G on World IPv6 Day

Hi, I've got a dual-stack (IPv4 and IPv6) set-up at a location that has two upstream connections. IPv4 stuff works just fine with static routes. Sometimes IPv6 works too. Except when it doesn't. Device: 750G Firmware: 2.29 Software version: 5.4 [user@location] /ipv6 route> print Flags: X - disabled,...
by astounding
Wed Apr 27, 2011 12:42 am
Forum: Scripting
Topic: Ruby MikroTik API library gem version 4.0.0 released
Replies: 2
Views: 1152

Re: Ruby MikroTik API library gem version 4.0.0 released

I should have added that the Ruby API client library is not in any way affiliated with MikroTik. I wrote it because the MikroTik RouterOS API offers an easy way to control large numbers of MikroTik RouterOS devices and Ruby is my scripting language of choice. In addition to the MikroTik wiki documen...
by astounding
Wed Apr 27, 2011 12:37 am
Forum: Scripting
Topic: Ruby MikroTik API library gem version 4.0.0 released
Replies: 2
Views: 1152

Ruby MikroTik API library gem version 4.0.0 released

The Ruby API client library gem has reached version 4.0.0. The new version fixes some minor bugs and adds the ability to automatically cancel an executing command (one that sends multiple API replies, perhaps indefinitely) after a specified number of reply sentences has been received via the MTik::c...
by astounding
Wed Apr 27, 2011 12:08 am
Forum: Scripting
Topic: Ruby API monitor-traffic (etc.) didnt work
Replies: 5
Views: 1918

Re: Ruby API monitor-traffic (etc.) didnt work

I added the ability to auto-cancel a command after a specified number of replies to the Ruby mtik gem version 4.0.0. Using the new gem version, one could do this: #!/usr/bin/env ruby require 'rubygems' require 'mtik' # Be verbose in output MTik::verbose = true # Connect to the device: p connection =...
by astounding
Fri Mar 18, 2011 6:53 pm
Forum: Scripting
Topic: Ruby API monitor-traffic (etc.) didnt work
Replies: 5
Views: 1918

Re: Ruby API monitor-traffic (etc.) didnt work

Using the Ruby API library, one can also choose to cancel after a specific number of replies are received. Here's how: require 'rubygems' require 'mtik' # Be verbose in output MTik::verbose = true # Connect to the device: connection = MTik::Connection.new :host => '10.0.0.1', :user => 'admin', :pass...
by astounding
Sat Jan 15, 2011 5:06 am
Forum: Scripting
Topic: Calculate DHCP option 121 (Classless Static Route Option)
Replies: 3
Views: 9080

Re: Calculate DHCP option 121 (Classless Static Route Option

No Linux binaries nor C/C++ code here. How about a quick Ruby translation using the excellent 'ipaddress' gem? (See: https://github.com/bluemonk/ipaddress for 'ipaddress' gem info...) I ripped this from some DHCP Ruby code I've been using (a Ruby library that parses and generates DHCP packets) and a...
by astounding
Wed Jan 12, 2011 11:25 pm
Forum: Scripting
Topic: Ruby API client updated
Replies: 6
Views: 4443

Re: Ruby API client updated

Updates have been released for the Ruby MikroTik API Gem: The latest gem version is now 3.1.2, available via ruby gems: gem install mtik Or one may download the gem from the my wb site: http://www.aarongifford.com/computers/mtik/latest/pkg/mtik-3.1.2.gem Source is available at: http://github.com/ast...
by astounding
Thu Oct 21, 2010 1:06 am
Forum: SwOS
Topic: troubleshooting with VLAN and port trunk
Replies: 14
Views: 6449

Re: troubleshooting with VLAN and port trunk

Hehe, 250G, so SwOS, not RouterOS--my bad! I think I read it as 450 or 750.

Embarrassed,
Aaron out.
by astounding
Tue Oct 19, 2010 4:41 am
Forum: SwOS
Topic: troubleshooting with VLAN and port trunk
Replies: 14
Views: 6449

Re: troubleshooting with VLAN and port trunk

Or did you want the VLANs to be tagged on ether4 and ether5? In which case you can just add two more "vlan" interfaces and use those in the respective VLAN bridges as the interface parameters instead of the ethernet interfaces. Like: /interface vlan add vlan-id=16 interface=ether1 name=eth1_vlan16 d...
by astounding
Tue Oct 19, 2010 4:38 am
Forum: SwOS
Topic: troubleshooting with VLAN and port trunk
Replies: 14
Views: 6449

Re: troubleshooting with VLAN and port trunk

Something like this? /interface vlan add vlan-id=16 interface=ether1 name=eth1_vlan16 disabled=no /interface vlan add vlan-id=17 interface=ether1 name=eth1_vlan17 disabled=no /interface bridge add name=bridge_vlan16 /interface bridge add name=bridge_vlan17 /interface bridge port add bridge=bridge_vl...
by astounding
Tue Oct 19, 2010 3:12 am
Forum: General
Topic: VLAN Truck, bridging untagged packets
Replies: 16
Views: 5213

Re: VLAN Truck, bridging untagged packets

Also, MikroTik, this KernelTrap thread has related/useful information:

http://kerneltrap.org/mailarchive/linux ... 18/6281280

Aaron out.
by astounding
Tue Oct 19, 2010 3:09 am
Forum: General
Topic: VLAN Truck, bridging untagged packets
Replies: 16
Views: 5213

Re: VLAN Truck, bridging untagged packets

FEATURE REQUEST to MikroTik: Allow creation of VLANs with vlan-id=0 and IF such a VLAN interface is attached (and active) on an interface, direct all inbound UNTAGGED or ZERO-TAGGED traffic to the vlan-id=0 interface. For traffic output over vlan-id=0 interfaces, add a new configuration item priorit...
by astounding
Thu Oct 07, 2010 3:59 am
Forum: General
Topic: BUG: Bridge filtering in 5.0RC1 is broken?
Replies: 9
Views: 3095

Re: BUG: Bridge filtering in 5.0RC1 is broken?

I just dropped back to 4.11 to be sure it wasn't something in my configuration and the bridge filtering worked as expected. So this DEFINITELY is a bug. A showstopper!

Aaron out.
by astounding
Thu Oct 07, 2010 3:34 am
Forum: General
Topic: BUG: Bridge filtering in 5.0RC1 is broken?
Replies: 9
Views: 3095

BUG: Bridge filtering in 5.0RC1 is broken?

Hi, In testing an RB411 with a single bridge containing the wlan1 and ether1 interfaces with the following bridge settings/filters: [user@host] /interface bridge> port print Flags: X - disabled, I - inactive, D - dynamic # INTERFACE BRIDGE PRIORITY PATH-COST HORIZON 0 ether1 bridge1 0x80 10 none 1 w...
by astounding
Thu Sep 30, 2010 3:03 am
Forum: RouterBOARD hardware
Topic: OpenWRT for Routerboard
Replies: 30
Views: 8489

Re: OpenWRT for Routerboard

Hmm, is it a bad joke? MikroTik guys seem to be playing retards who are stuck in the last century without any means of having better and less expensive distribution channels. Is this price even somehow justified? I just can't believe that buying a blank CD, spending a few minutes for writing it, an...
by astounding
Sat Jul 24, 2010 1:32 am
Forum: RouterBOARD hardware
Topic: NEW RB711
Replies: 110
Views: 28950

What L2MTU will the NEW RB711 support? (hoping for jumbo fra

What's the L2MTU for the new RB 711? I'm hoping for a BARE MINIMUM of 1534 so I can do 1500+4+4 Q-in-Q tagged VLAN frames INSIDE of MPLS VPLS tunnel...

Wondering,
Aaron out.
by astounding
Wed Jun 23, 2010 1:05 am
Forum: Forwarding Protocols
Topic: RouterOS equiv. of Cisco's "ip ospf mtu-ignore"?
Replies: 4
Views: 5956

RouterOS OSPF ignore MTU mismatches?

Any progress on implementing an OSPF MTU-ignore feature for RouterOS's ospf and ospf-v3? Currently I cannot get a Cisco and a RouterOS box to talk OSPF to each other over IPv6 due to MTU mismatches. But likewise due to other (currently working) devices on the segments in question, I cannot reduce th...
by astounding
Wed Jun 02, 2010 2:24 am
Forum: General
Topic: Another Bug in 4.9
Replies: 9
Views: 1646

Bug still exists in 4.10

Here's an example doing API command "/interface/wireless/getall ?name=wlan1" under RouterOS 4.4: <<< '/interface/wireless/getall' (26) <<< '?name=wlan1' (11) <<< '.tag=2' (6) <<< END-OF-SENTENCE >>> '!re' (3) >>> '.id=*3' (6) >>> 'name=wlan1' (10) >>> 'mtu=2290' (8) >>> 'l2mtu=2290' (10) >>> 'mac-ad...
by astounding
Wed May 19, 2010 10:07 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

Thanks, ditonet, for pointing me to the other thread. That appeared to work on one of these stubborn RB411 boxes. I'll try it on the other 40+ late tonight in bulk.

Aaron out.
by astounding
Tue May 18, 2010 1:44 am
Forum: General
Topic: Another Bug in 4.9
Replies: 9
Views: 1646

Another Bug in 4.9

I regret having upgraded a bunch of APs to 4.9 from 4.4 early this morning. I'd tested with one AP and things appeared okay. Until I enabled a Ruby script that I run that auto-configures the APs from a database using the RouterOS API. Apparently between 4.4 and 4.9, the results of the API call /inte...
by astounding
Mon May 17, 2010 9:26 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Firmware Update Also Fails 2.20 (rOS 3.30) to 2.26 (rOS 4.9)

It looks like the RouterOS RB411 devices that previously would not upgrade firmware from 2.20 to 2.23 when upgraded to RouterOS 4.4 continue to fail to accept new firmware with RouterOS 4.9 (and firmware 2.26). Symptoms are the same. Behavior identical. All attempts to upgrade the firmware fail, tho...
by astounding
Mon Apr 26, 2010 8:30 pm
Forum: Scripting
Topic: PHP API connection
Replies: 32
Views: 12851

Re: PHP API connection

The /user active list is directly tied to /ip firewall connection table for that service (from what I've found). That must be true, for on an RB411 with connection tracking disabled (no NAT, just bridging and/or simple routing) running 4.5, repeated API connect/command/disconnect sessions do not ac...
by astounding
Sat Apr 24, 2010 11:16 am
Forum: Scripting
Topic: Ruby API client updated
Replies: 6
Views: 4443

Re: Ruby API client updated

Updates have been released for the Ruby MikroTik API Gem: A bug-fix to versions 3.0.x is available, version 3.0.5 at: http://www.aarongifford.com/computers/mtik/latest/pkg/mtik-3.0.5.gem Incorporating the bug fix AND adding a tiny bit of functionality (and a small library method change to the MTik::...
by astounding
Sat Apr 24, 2010 11:15 am
Forum: Scripting
Topic: API utility in Ruby 1.9
Replies: 3
Views: 3201

Re: API utility in Ruby 1.9 [and 1.8]

Updates have been released for the Ruby MikroTik API Gem: A bug-fix to versions 3.0.x is available, version 3.0.5 at: http://www.aarongifford.com/computers/mtik/latest/pkg/mtik-3.0.5.gem Incorporating the bug fix AND adding a tiny bit of functionality (and a small library method change to the MTik::...
by astounding
Sat Feb 06, 2010 12:52 am
Forum: Scripting
Topic: Ruby API client updated
Replies: 6
Views: 4443

Re: Ruby API client updated

3.0.2 is now released. See http://www.aarongifford.com/computers/mtik/ for information or to download the GEM file. Or visit http://rubyforge.org/projects/mtik/ . This version is mostly just tiny typo fixes, with a little bit of functionality to the tikcommand.rb example and the interactive CLI func...
by astounding
Wed Jan 20, 2010 3:37 am
Forum: Forwarding Protocols
Topic: MPLS with manual static labels?
Replies: 1
Views: 1137

MPLS with manual static labels?

Is there any way to set up manual static labels (i.e. manually configure WITHOUT LDP or another label distribution protocol) to set up a static label-switched path as well as static forward equiv. class(es) (FECs)?

Wondering,
Aaron out.
by astounding
Sat Jan 16, 2010 9:34 pm
Forum: Beginner Basics
Topic: GPS
Replies: 15
Views: 3107

Re: GPS

Assuming the 'once' parameter works and that '/system/gps/monitor' works in the API much like changip 's CLI example, then using the Ruby API command-line example script tikjson.rb and changip 's example GPS output, one could retrieve the GPS info thus: user@unixhost:/path% ./tikjson.rb 10.20.30.40 ...
by astounding
Sat Jan 16, 2010 6:52 am
Forum: General
Topic: Broadcast traffic?? Can't figure out.
Replies: 1
Views: 915

Re: Broadcast traffic?? Can't figure out.

You'll need to look at the actual traffic (capture some packets) I'm betting. All sorts of valid broadcast traffic could be part of it (much which you could likely filter/block without any problems) in addition to any invalid broadcast traffic. For example, if you've got PPPoE clients anywhere, PADI...
by astounding
Sat Jan 16, 2010 6:02 am
Forum: Scripting
Topic: Ruby API client updated
Replies: 6
Views: 4443

Re: Ruby API client updated

I've finally GEM-ified the Ruby MikroTik API stuff. Check it out on the MikroTik wiki at http://wiki.mikrotik.com/wiki/API_Ruby_class or on my own site at http://www.aarongifford.com/computers/mtik/ . I had to bump the version waaaay up to 3.0.0 due to the structural changes that break scripts using...
by astounding
Sat Jan 16, 2010 5:45 am
Forum: Scripting
Topic: API utility in Ruby 1.9
Replies: 3
Views: 3201

Re: API utility in Ruby 1.9

I've finally GEM-ified the Ruby MikroTik API stuff. Check it out on the MikroTik wiki at http://wiki.mikrotik.com/wiki/API_Ruby_class or on my own site at http://www.aarongifford.com/computers/mtik/ . I had to bump the version waaaay up to 3.0.0 due to the structural changes that break scripts using...
by astounding
Sat Jan 16, 2010 12:45 am
Forum: Scripting
Topic: Deleting files via the API using =.id=*ABCD0123
Replies: 2
Views: 1605

Deleting files via the API using =.id=*ABCD0123

There's some odd behavior when using the API to list files and delete files on MikroTik a device (a RB433AH in this case, running OS 4.4 with firmware 2.23). If I execute by API a '/file/getall' to list the files, the execute a '/file/remove' and remove one of those files, then execute a second '/fi...
by astounding
Thu Jan 14, 2010 9:12 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

Now this is interesting... On the same RB411 device running RouterOS 3.30 with ar7100-2.23.fwf uploaded, I decided to issue the firmware update command but wait a while before rebooting. Here's what I did: [admin@rb411] > /file print # NAME TYPE SIZE CREATION-TIME 0 ar7100-2.23.fwf .fwf file 40136 j...
by astounding
Thu Jan 14, 2010 8:54 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

Thanks for updating the firmware at routerboard.com. Unfortunately, I'm still having no luck upgrading from RB411 firmware 2.20 to 2.23. Here's what I tried this moring: I downgraded RouterOS on RB411 device from 4.4 to 3.30 (so that the 2.23 firmware would NOT be available via the RouterOS installa...
by astounding
Thu Jan 14, 2010 12:17 am
Forum: RouterBOARD hardware
Topic: rb 750g and v4.5 big problem
Replies: 2
Views: 1307

Re: rb 750g and v4.5 big problem

I just tried 4.5 on a 750G and have had no problems. WinBox works just fine. I assume your other means of connecting work fine. Is this so? Have you double-checked that you can 1) ping the 750G in question (that is, it is reachable on your network by the host on which you wish to run WinBox); and 2)...
by astounding
Wed Jan 13, 2010 6:50 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Firmware upgrade STILL FAILS under 4.5

As another data item: I took one of the RB411s that refuses to update firmware from 2.20 to 2.23 under 4.4 and installed 4.5 this morning. Then I performed the usual upgrade sequence: [admin@rb411] > /system routerboard print routerboard: yes model: "411" serial-number: "0123456789AB" current-firmwa...
by astounding
Mon Jan 11, 2010 10:49 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

Anyone know if there's a direct download link anywhere for a Routerboard 411 for the 2.23 boot loader firmware? The only file on www.routerboard.com was ar7100-2.20.fwf (version 2.20), the older version. I was hoping to try a direct boot loader upgrade using "ar7100-2.23.fwf" if such a file existed ...
by astounding
Sat Jan 09, 2010 8:28 am
Forum: RouterBOARD hardware
Topic: I have a RB433AH need to pass my dhcp from in house server ?
Replies: 1
Views: 513

Re: I have a RB433AH need to pass my dhcp from in house server ?

Shut off the RB's own DHCP server, add a bridge and connect all your interfaces to that bridge. Whatever ethernet port connects to your chillispot, add that to the bridge too. /interface bridge add name=bridge1 /interface bridge port add bridge=bridge1 interface=wlan1 /interface bridge port add brid...
by astounding
Sat Jan 09, 2010 8:17 am
Forum: General
Topic: Help configure VLAN settings, please (Followup)
Replies: 7
Views: 2237

Re: Help configure VLAN settings, please.

You've got VLANs set up on ether2 AND you've got a bridge attached to that port too. That's never worked for me. Anytime a bridge is attached to an ethernet port, the bridge sees the traffic but the VLAN doesn't. (At least in 3.x... I'm not 100% sure about 4.x) Also, you've got the 450's hardware sw...
by astounding
Sat Jan 09, 2010 7:49 am
Forum: Wireless Networking
Topic: best connection method
Replies: 8
Views: 1302

Re: best connection method

Are you perhaps getting interference bleeding from one card to the other in the single device case? I've heard others have some issues like that. All my links are one radio per board installations, so I have no experience yet with running multiple radio cards on a single routerboard. I'll be fascina...
by astounding
Fri Jan 08, 2010 4:40 am
Forum: Wireless Networking
Topic: best connection method
Replies: 8
Views: 1302

Re: best connection method

I'm using MPLS+VPLS for several point-to-point wireless hops, but not yet for a multiple-hop MPLS network (due to intermediate devices not supporting a large enough MTU). I hope to soon connect my isolated P2P MPLS networks into larger MPLS nets so I can do VPLS encapsulation only at endpoints as I ...
by astounding
Fri Jan 08, 2010 4:04 am
Forum: Wireless Networking
Topic: best connection method
Replies: 8
Views: 1302

Re: best connection method

So if I understand you, you're doing: Client->RB(1)<-p2p_wireless_1->[R52Ncard1]=RB(2)=[R52Ncard2]<-p2p_wireless_2->RB(3)<-office You've got 3 RB devices, but 4 cards, and two completely separate wireless links. Your first post made it sound like the middle RB(2) had just a single antenna and was ta...
by astounding
Tue Jan 05, 2010 7:32 am
Forum: Wireless Networking
Topic: Intruder PPPoE server
Replies: 4
Views: 753

Re: Intruder PPPoE server

If your AP is a Mikrotik and is bridging PPPoE packets to your PPPoE access concentrator (i.e. it isn't acting as the PPPoE terminator), you could try blocking PPPoE discovery PADI packets from going out over the wireless network: /interface bridge filter add chain=forward action=drop mac-protocol=p...
by astounding
Thu Dec 31, 2009 9:56 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

hm...It is my understanding/assumption that one should update firmware before upgrading ROS. The 2.23 firmware is ONLY available as part of the 4.4 package, so you've gotta upgrade to that first before the "/system routerboard upgrade" command will even be enabled. (3.30 only contains firmware 2.20...
by astounding
Thu Dec 31, 2009 9:50 pm
Forum: General
Topic: Deleted Static Routes Reappearing ROS 4.4 (x86)
Replies: 10
Views: 1798

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

I've seen this on a RB433AH box too with 4.4. I removed a secondary default route, rebooted, and it showed up again. I did notice that while deleting one of the static routes, the delete command (via SSH cli) hung for a bit before completing, and on another 4.4 RB411 (or was it a 433?) box, a static...
by astounding
Thu Dec 31, 2009 9:14 pm
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Re: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

Hmmm, it's worse now. I updated a batch of 90+ 411 boards from 3.3 to 4.4, then attempted to update firmware from 2.20 to 2.23 once 4.4 was running. Whereas before I had 17 boards that refused to update firmware, now I have a total (including the original 17) of 45 boards with the problem. (So not q...
by astounding
Thu Dec 31, 2009 3:53 am
Forum: General
Topic: Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)
Replies: 14
Views: 5116

Firmware Update Fails 2.20 (rOS 3.30) to 2.23 (rOS 4.4)

I have several Routerboard 411s that were running 3.30 (with firmware 2.20) but were recently upgraded them to 4.4. Immediately thereafter I attempted to upgrade the firmware from 2.20 to 2.23 on each of these as well: [admin@rb411] > /system routerboard print routerboard: yes model: "411" serial-nu...
by astounding
Tue Dec 22, 2009 7:59 pm
Forum: Wireless Networking
Topic: What's TCP congestion algorithm use ROS (over Wireless)?
Replies: 8
Views: 1757

Re: What's TCP congestion algorithm use ROS (over Wireless)?

TCP congestion algorithms apply to the two endpoints of the TCP connect, not any intermediate routers. So if the MikroTik is not one of those endpoints (either the destination or origin) then which algorithm they use is irrelevant. If you ARE referring to TCP connections with a RouterOS device as an...
by astounding
Tue Dec 22, 2009 2:41 am
Forum: General
Topic: v3.27 bug: ssh port forwarding is not working
Replies: 76
Views: 13411

Re: v3.27 bug: ssh port forwarding is not working

Tried it on another device (RB411) running 4.4 that does bridging with absolutely NO IP filters, no bridge filters, etc. with the same result. And I verified connectivity from the RB411 to the IP and port in question (/system telnet W.X.Y.Z 1234) to be sure that a forwarded connection SHOULD be able...
by astounding
Tue Dec 22, 2009 2:30 am
Forum: General
Topic: v3.27 bug: ssh port forwarding is not working
Replies: 76
Views: 13411

Re: v3.27 bug: ssh port forwarding is not working

On an RB750G running 4.4 it does NOT work, or there IS a security setting somewhere to enable it that I haven't yet found. It fails with: "channel 3: open failed: administratively prohibited: bla bla" Or that's a firewall rule of mine... (*quickly begins checking for blocked packets*) No, no dropped...
by astounding
Tue Dec 22, 2009 2:16 am
Forum: Beginner Basics
Topic: wireless control access
Replies: 2
Views: 501

Re: wireless control access

If you bridge PPPoE packets from the wireless interface to ethernet, the easiest way is to add a bridge filter to only permit PPPoE traffic.

But if you need to pass other protocols, it gets more complicated.

Aaron out.
by astounding
Tue Dec 22, 2009 1:58 am
Forum: Wireless Networking
Topic: mikrotik v4.4 wireless is worse than ever
Replies: 26
Views: 9564

Re: mikrotik v4.4 wireless is worse than ever

I'm running 4.4 on a RB411 as a wireless client, and 3.28 on an RB411 on the other side as wireless AP. So far, so good on this link. Tonight I'm going to try 4.4 on the AP side.

Oh, radio cards are AR5413-based R5Hs on both sides.

Aaron out.
by astounding
Sat Dec 19, 2009 6:15 am
Forum: Scripting
Topic: Ruby API client updated
Replies: 6
Views: 4443

Ruby API client updated

The Ruby API client has been updated and now works with Ruby 1.8 as well as Ruby 1.9. Version 2.0.1 does make some significant changes, moving to an event-driven-with-callback model for handling replies to API commands. All I/O is still synchronous, but the new design should make it easier to migrat...
by astounding
Fri Dec 18, 2009 10:13 pm
Forum: RouterBOARD hardware
Topic: WINBOX
Replies: 6
Views: 965

Re: WINBOX

Take a look at instead using the API. There are existing libraries for interacting with the RouterOS API in quite a few languages. It is quite powerful.

Aaron out.
by astounding
Thu Dec 17, 2009 2:16 am
Forum: Scripting
Topic: License Upgrade using API and mikrotik.com
Replies: 2
Views: 831

Re: License Upgrade using API and mikrotik.com

I was worried the code passed to MikroTik's web server might involve proprietary license information. There are two possible ways this is so. Either 1) the code itself is proprietary and should not be publicaly visible (in which case PLEASE make sure the web connection between WinBox and MikroTik is...
by astounding
Tue Dec 15, 2009 10:51 pm
Forum: General
Topic: Multiple Public IPs
Replies: 3
Views: 708

Re: Multiple Public IPs

Assuming a very simple network; Internet===<PPPoE>===[MikroTik]===LAN (including host you want 2nd public IP routed to) assuming that you will NOT be doing filtering or NAT/Masquerading on any packets with the 2nd public IP as either SOURCE or DESTINATION address; assuming your ISP has correctly rou...
by astounding
Sat Dec 12, 2009 3:01 am
Forum: General
Topic: MTU of IPIP over our providers MPLS network
Replies: 2
Views: 2583

Re: MTU of IPIP over our providers MPLS network

Of course if you don't mind absolutely terrible overhead and chewing lots more CPU, you could do something crazy like replace the IPIP tunnel with an EOIP tunnel inside of which you operate an MPLS VPLS tunnel, since Mikrotik's VPLS WILL do fragment reassembly for you. 1500 <-- Starting MTU - 20 <--...
by astounding
Sat Dec 12, 2009 12:53 am
Forum: General
Topic: MTU of IPIP over our providers MPLS network
Replies: 2
Views: 2583

Re: MTU of IPIP over our providers MPLS network

Does IPIP tunnels support packet fragmentation? First, the bratty answer (take with glass of humor): Of course! Any packet over your IPIP tunnel MTU size will be fragmented. I suspect you're really asking, "Does a RouterOS IPIP tunnel perform fragmentation and reassembly transparently?" I doubt Mik...
by astounding
Fri Dec 11, 2009 10:05 pm
Forum: General
Topic: Network very slow while on OS 4.2
Replies: 4
Views: 811

Re: Network very slow while on OS 4.2

dssmiktik commented:
You said you "are" running NAT? This enables connection-tracking.
Ah, yes, of course! I am running connection tracking. :)
by astounding
Fri Dec 11, 2009 5:52 am
Forum: General
Topic: MikroTik Newsletter #22 PDF
Replies: 6
Views: 3771

Re: MikroTik Newsletter #22 PDF

If only there were a 750G-like routerboard that supported giant MTUs on every port (9000-byte)... *sigh*

Here's hoping it comes in the future...

Aaron out.
by astounding
Thu Dec 10, 2009 11:23 pm
Forum: General
Topic: v3.27 bug: ssh port forwarding is not working
Replies: 76
Views: 13411

Re: v3.27 bug: ssh port forwarding is not working

normis: I must not have been clear. I was thanking MikroTik, and indirectly YOU specifically, for responding so very well to users' needs. We appreciate it! :)

Aaron out.
by astounding
Thu Dec 10, 2009 11:20 pm
Forum: General
Topic: VLANs: Tagged and untagged frames inbound on eth interface
Replies: 1
Views: 1190

*** FEATURE REQUEST ***

This thread should be properly retitled as a FEATURE REQUEST:

Add the ability to add a pesuedo VLAN zero to an interface that captures untagged traffic.

Thanks!

Aaron out.
by astounding
Thu Dec 10, 2009 9:19 pm
Forum: General
Topic: Network very slow while on OS 4.2
Replies: 4
Views: 811

Re: Network very slow while on OS 4.2

Just as a data point, I'm running 4.3 for dual wireless links to the 'net from my house (RB411s), and 4.3 on a router at my home (750G), and performance is the same as under 3.x.

I can't speak to 4.2...

EDIT: I'm not running connection tracking... and NAT only on the 750G...

Aaron out.
by astounding
Thu Dec 10, 2009 9:15 pm
Forum: General
Topic: R52n variable performance over frequency
Replies: 1
Views: 452

Re: R52n variable performance over frequency

It could be your antenna(s) or some other component in the RF chain performs best at one frequency and drops off the further from that frequency you get. Any antenna even rated for a set of frequency bands will have a peak optimum and drop off a bit from there. Just speculation on my part... Aaron o...
by astounding
Thu Dec 10, 2009 8:30 pm
Forum: Scripting
Topic: License Upgrade using API and mikrotik.com
Replies: 2
Views: 831

License Upgrade using API and mikrotik.com

In updating a large batch of MikroTik routerboards deployed on private IP space, I would like to automate the update/upgrade process using the API. So far I can do everything EXCEPT obtain the "code", a 128-bit hex string that gets sent along with the old and new software IDs and the old base-64-enc...
by astounding
Thu Dec 10, 2009 1:06 am
Forum: General
Topic: v3.27 bug: ssh port forwarding is not working
Replies: 76
Views: 13411

Looking forward to ssh port forwarding

Thanks, MikroTik, for responding to customer requests to add SSH port forwarding back! I look forward to it greatly! (I use it a LOT.)

Aaron out.
by astounding
Wed Dec 09, 2009 8:22 pm
Forum: General
Topic: VLANs: Tagged and untagged frames inbound on eth interface
Replies: 1
Views: 1190

VLANs: Tagged and untagged frames inbound on eth interface

In 4.x does anyone yet know if mixed tagged and untagged inbound traffic on a single ethernet interface can be easily split/separated yet? I'm still hoping for the day I can create a bunch of VLAN interfaces atop that single eth. interface to capture tagged traffic AND simultaneously apply a bridge ...
by astounding
Wed Dec 09, 2009 12:04 am
Forum: Forwarding Protocols
Topic: RouterOS equiv. of Cisco's "ip ospf mtu-ignore"?
Replies: 4
Views: 5956

RouterOS equiv. of Cisco's "ip ospf mtu-ignore"?

Is there a RouterOS equivalent to Cisco's "ip ospf mtu-ignore" to tell a MikroTik to ignore MTU mismatches? (4.x or 3.x...)

Thanks!

Aaron out.
by astounding
Mon Aug 17, 2009 8:20 pm
Forum: General
Topic: API print command no longer includes comments!
Replies: 2
Views: 467

Re: API print command no longer includes comments!

It appears that 3.28 fixes the missing comments in quite a few places using the API:

/interface/wireless/access-list/getall (and print)

/ip/dhcp-server/lease/getall (and print)

/ip/route/getall (and print)

These are the three I've verified.

Thank you for the fix!
by astounding
Mon Aug 17, 2009 8:19 pm
Forum: General
Topic: 3.27 bug
Replies: 8
Views: 1369

Re: 3.27 bug

3.28 fixes missing comments for /interface/wireless/access-list/getall (and print) as well as for /ip/dhcp-server/lease/getall (and print) -- I've verified this on my APs running 3.28 using the API. A quick test shows that /ip/route/getall includes comments in 3.28 as well.

Thanks for the fix!
by astounding
Mon Aug 17, 2009 8:14 pm
Forum: Scripting
Topic: Missing DHCP lease comment in API response in 3.27 (bug?)
Replies: 4
Views: 1378

Re: Missing DHCP lease comment in API response in 3.27 (bug?)

Thank you very much! 3.28 fixes the problem for /ip/dhcp-server/lease/getall (and print) and also for /interface/wireless/access-list/getall (and print).
by astounding
Thu Jul 23, 2009 8:14 pm
Forum: General
Topic: Is there any way to... (firewall and bridge question)
Replies: 3
Views: 588

Is there any way to... (firewall and bridge question)

Hi, Is there any possible way to determine within a firewall chain the physical interface a packet entered IF that physical interface belongs to a bridge? So far as I can tell by experimentation, this is impossible. The "in-interface" only matches the bridge interface. Any ideas? Pointers? Thanks!
by astounding
Thu Jul 23, 2009 12:24 am
Forum: Scripting
Topic: Missing DHCP lease comment in API response in 3.27 (bug?)
Replies: 4
Views: 1378

Re: Missing DHCP lease comment in API response in 3.27 (bug?)

Fortunately filtering DOES appear to work based on the comment. For example:
/ip/dhcp-server/getall
?comment="Jane Doe account 12345"
The above API query would in fact return the correct record, but again, the comment field would be missing.
by astounding
Thu Jul 23, 2009 12:20 am
Forum: Scripting
Topic: Missing DHCP lease comment in API response in 3.27 (bug?)
Replies: 4
Views: 1378

Re: Missing DHCP lease comment in API response in 3.27 (bug?)

Also note that including "comment" in .proplist and doing the getall query still fails to include the comment field in the output.
by astounding
Wed Jul 22, 2009 11:45 pm
Forum: Scripting
Topic: Missing DHCP lease comment in API response in 3.27 (bug?)
Replies: 4
Views: 1378

Missing DHCP lease comment in API response in 3.27 (bug?)

I have a script for synchronizing static DHCP configurations on Mikrotik APs with an internal database that uses the API /ip/dhcp-server/lease/getall to check the AP's current DHCP state. When running version 3.23, the comment field (in which I store a human-readable account ID so I know to whom the...
by astounding
Mon Apr 06, 2009 11:57 pm
Forum: Scripting
Topic: API utility in Ruby 1.9
Replies: 3
Views: 3201

API utility in Ruby 1.9

I've been doing some stuff with the API in Ruby 1.9 for InfoWest, Inc. -- Anyone interested can take a look at it on my personal web site (BSD licensed): http://www.aarongifford.com/computers/mtik.rb_latest.txt Download it and rename it as mtik.rb or something before using, and check the ruby comman...
by astounding
Wed Dec 17, 2008 2:16 am
Forum: General
Topic: VLAN bridging question
Replies: 3
Views: 832

Re: VLAN bridging question

Letni suggested this solution (I'm rewording it to be sure I understood it right): Three bridges: br1, br2, br3 Three VLAN pseudo interfaces: vlan2 and vlan3 The ethernet ports (eth1, eth2, and eth3) would be assigned to various VLAN pseudo interfaces and/or to bridges as follows: eth1 (with untagge...
by astounding
Tue Dec 16, 2008 1:04 am
Forum: General
Topic: VLAN bridging question
Replies: 3
Views: 832

VLAN bridging question

TOPOLOGY: Assume I have a MikroTik with at least 4 ports. Assume that I must pass ethernet traffic for three separate 802.1q VLANs. Here is the topology: eth1 = trunk port with untagged traffic (belonging to VLAN ID 1) and also tagged traffic for VLAN ID 2 and VLAN ID 3 eth2 = untagged traffic only ...