Tag: mikrotik
45 articles
MikroTik Audience – review and teardown
I was fortunate enough to get my hands on a pair of MikroTik Audience devices to put through their paces. The Audience is a new device from MikroTik, and perhaps one of the first I’ve seen that is specifically targeted to a home environment, with the stylish exterior designed not just to be a wireless … Continue reading MikroTik Audience – review and teardown
Automatic bypass of hotspot devices based on MAC Address
Recently I was doing some work for a hotel that supplies a ‘Smart TV’ device with Netflix and other functions in every room. These rooms are in turn all connected to a hotspot network and the TV’s all needed to be given internet access. As this was (as sometimes occurs) an unexpected addition to the … Continue reading Automatic bypass of hotspot devices based on MAC Address
Scriptlet: Halt MikroTik scheduled scripts if multiple instances are detected.
The following script can be run in terminal (or via any automation tool that can login to your MikroTik devices via SSH) and checks for any duplicate script ‘jobs’ and kills them. I wrote this after noticing a few of my scripts that use fetch would hang periodically and leave multiple jobs open. #kill duplicate … Continue reading Scriptlet: Halt MikroTik scheduled scripts if multiple instances are detected.
Scriptlet: Find Default Route Interface Names (and a free licence!)
Today I’m giving you the task of reviewing and improving a small script I’ve written, and one of you will win a free Level 4 RouterOS licence. Background: I had need of a script to find the interfaces associated with any default routes in order to create matching firewall entries, and it had to work … Continue reading Scriptlet: Find Default Route Interface Names (and a free licence!)
Queue Tree Mikrotik to limit total bandwidth
Hi Guys, today i’ll show you how to manage the Mikrotik Queue Tree to limit the total bandwidth (for. example you can split a 20Mbps DSL to 4Mbps per 5 users) In my example i’ll limit upload+download=20Mbps First of all we need to mark the packets to be traced in the queue: /ip firewall mangle … Continue reading Queue Tree Mikrotik to limit total bandwidth
MikroTik Scripting: Failover Routing for Asterisk PBX
Hi guys, This is my second article and I wanted to raise the difficulty level of my tutorials! We work a lot with Asterisk PBX and MikroTik and we’ve encountered a problem when we have 2 internet connection with a MikroTik using WAN failover, our Asterisk PBX would stop working when the primary connections fail; … Continue reading MikroTik Scripting: Failover Routing for Asterisk PBX
Mikrotik Script: Alert on queue tree limit exceeded
Hi guys, This is my first post here, I’m a Network Engineer who works a lot with Mikrotik devices and Server Administration and you can see more of my posts on my website. I found this blog some time ago and was invited to contribute with some of my own scripts that may help others! Today i’ll show … Continue reading Mikrotik Script: Alert on queue tree limit exceeded
CRS Basic Vlan Configuration
I’ve been playing around with v6.13rc12 over the last week on a CRS125-24G-1S and have put together a an example script for provisioning the unit with a user-vlan and an admin-vlan that are trunked back via the SFP port. I’ve been waiting for a long time to have a usable and readable switch chip config … Continue reading CRS Basic Vlan Configuration
The Mother of all QoS Trees – v6.0
Contained in this post is a free copy of my 2013 QoS tree (compatible with v6.0) for anyone to do what they want with, I only ask that if you republish this you include a link to this post. It is intended to work on a per-interface basis; with you specifying the WAN interface and … Continue reading The Mother of all QoS Trees – v6.0
CloudCoreRouter and RouterOS v6.x (linked post)
Janis M. from MikroTik was kind enough to point me to a copy of his presentation from the Russian MUM which I feel is an incredible helpful document and well worth a read by all of the current CCR users out there. I would highly encourage anyone running (or thinking of running) CCR’s on their … Continue reading CloudCoreRouter and RouterOS v6.x (linked post)
Gmail + Google Drive + MikroTik scripting = Automated Backups Folder
I was recently looking for a simpler alternative to something like RANCID to periodically backup all our MikroTik configs. RANCID is great and all, but I didn’t really need the diff copies of each file, and I was plenty happy just knowing that I have a .backup and .rsc file for each router I manage. … Continue reading Gmail + Google Drive + MikroTik scripting = Automated Backups Folder
Cool console: Terminal health
The following is a short but useful script which allows your system note to output recent info regarding router health and/or other details you might be interested in. Special thanks to Werner Venter for showing me the ‘Cool Console‘ script which was modified and extended upon for this post.
Study guide: Moving up to RouterOS v6
Given v6.0 stable is now upon us I’ve taken some time to collate some of the posts I’ve been familiarising myself with over the last few weeks to understand the major changes that have been implemented in this release and how to best upgrade and make use of these. I’ve tagged some videos and forum posts … Continue reading Study guide: Moving up to RouterOS v6
RouterOS as a PXE (Net Boot) server
As more and more people switch to netbooks; the ability to provision Operating Systems and boot iso’s over the network becomes highly useful. It has become quite common to see CD/DVD ROM drives removed altogether in mobile and even some desktop machines. Installing and booting machines using RouterOS as the bootp/tftp server is quite a … Continue reading RouterOS as a PXE (Net Boot) server
MUM-AU 2012 Presentation – Scripting for fun and $profit
My (Andrew Cox) presentation from the MikroTik User Meeting in Sydney is now available online via TikTube.com You can watch it over there or view it embedded here. AU12: Scripting for fun and profit
Add a data limit to trial hotspot users
This script comes from the final slide of my recent MUM presentation on RouterOS scripting It allows you to assign a data limit to trial hotspot users and: a) have them kicked offline upon reaching this limit b) create a temporary user to stop them from being able to log back in again This is … Continue reading Add a data limit to trial hotspot users
TheBrothersWISP 10 – MUM 2012
JJ, Justin and myself talk about: The CCR – Additional MUM info on the CCR: – – Winbox and config – – ROS V6 info related to CCR New hardware RB2011UAS-RM, RB2011UAS-2HnD-IN, 2.4Ghz Metal AP/CPE, 2.4Ghz miniPCI, and SXT G-5HnD: – Greg’s list – Justin’s list ROS V6 notes: – Greg’s list – Justin’s list … Continue reading TheBrothersWISP 10 – MUM 2012
TheBrothersWISP 9 – Rick Harnish
JJ, Justin and Greg speak this week. We also have Rick Harnish of WISPA talk to us about what WISPA is as well as upcoming events:WISPAPALOOZA in Vegas. We also started the first part of our tower series. In the first part we speak about: Safety equipment -what are your favorite brands —DBI SALA – … Continue reading TheBrothersWISP 9 – Rick Harnish
ROS Syntax highlights in Notepad++
1. Download Notepad++: http://www.notepadplusplus.org 2. Install Notepad++ 3. Download file RouterOS Syntax-Highlighter and extract the notepad++ xml file within. 4. Open Notepad++ 5. Click Language > User-Defined > click Import button. Import the xml file you unzipped. 6. Close and reopen Notepad++ 7a. Open an .rsc script, and syntax highlighting will be visible. 7b. Alternatively open any … Continue reading ROS Syntax highlights in Notepad++
TheBrothersWISP 8 – Andrew Thrift
This go around we have Greg, Andrew Cox, JJ Boyd, and surprise guest Andrew Thrift. Thrift is our pal from New Zealand. He is a network engineer with a wide range of experiences, though we only really grilled him about his MPLS experience with Mikrotik and about where he buys his hair products. BTW when … Continue reading TheBrothersWISP 8 – Andrew Thrift
MikroTik forum adds bug reporting
I don’t know if the followup is intended to be to the submitter via email or a reply in the forum thread however it seems a good idea to allow quick submission of confirmed issues. Can’t see any official post on the forum noting when it came about, but if you have any experience using … Continue reading MikroTik forum adds bug reporting
TheBrothersWISP 6 – RB2011LS-IN
We have the whole crew on deck again. We talk mostly about hardware in this one including: Toughswitch Ubiquiti mFi My ramblings about mFi Mikrotik RB2011LS-IN My ramblings Andrew digging up some hardware info on Mikrotik 10Gb Google glass (Glasses we were talking about with skydivers) SPIRAL CUT HOTDOOOOOOOOOGS! Here’s the video:(if you don’t see … Continue reading TheBrothersWISP 6 – RB2011LS-IN
Routerboard 10Gbps capable hardware coming soon?
This was spotted today in the Mikrotik Wiki’s supported hardware list. Brand Model Rate Connector/Cable Type Wavelength Tested with Works/Doesn’t MikroTik RB SFP3401 10/100/1000 RJ45, Cat6 – RB2011LS-IN Works. Available in Q3! MikroTik RB SFP5602D-53 155M~2.63G Bi-Di LC, MM 1550/1310 RB2011LS-IN Works. Available in Q3! MikroTik RB SFP5602D-35 155M~2.63G Bi-Di LC, MM 1310/1550 RB2011LS-IN Works. … Continue reading Routerboard 10Gbps capable hardware coming soon?
TheBrothersWISP – Podcast #3
Bit of a late addition by me, but the BrothersWISP most recent podcast addressing WISP security is now online. Topics covered are: Securing your border router Securing towers Securing clients Securing administrative machines I wasn’t able to be present for this one due to work commitments (not Diablo 3 thanks Greg :-P) but will … Continue reading TheBrothersWISP – Podcast #3
Quick Set Preview
Just a couple of quick screen shots of the new “Quick Set” mode available in some of the newest releases. As you can see the dropdown box top left lets you select the mode for the device and puts all the basic configuration options in one place. AP mode: And CPE mode: The addition … Continue reading Quick Set Preview
MikroTik Cloud Core Router: CCR-1036 (Updated)
Announced less than 24 hours ago at the Warsaw MUM, comes the first (and hopefully not the last) MikroTik shot at high end routing. Update 2012-07-16: Tilera has made a press release confirming their processors will be used in the CCR-1036. You can read the full thing here. Mikrotik CLOUD CORE Router CCR-1036 36 … Continue reading MikroTik Cloud Core Router: CCR-1036 (Updated)
Installing ntop on CentOS 6/Redhat with NetFlow
MikroTik supports exporting NetFlow traffic data via /ip traffic-flow, which can be read using free or paid software. This guide shows you how to setup ntop (a free option) on a fresh CentOS 6 (or RedHat) install and assumes you have setup a CentOS 6 server that has a connection to the internet.
Queue outside please!
New toys you say? Noticed this little gem in the MikroTik wiki this morning while reviewing Queue Types. Note: Starting from v5.8 there is new kind none and new default queue only-hardware-queue. All RouterBOARDS will have this new queue type set as default interface queue only-hardware-queue leaves interface with only hw transmit descriptor ring buffer which acts as a queue … Continue reading Queue outside please!
IPv6 over PPPoE – RouterOS v5.10
IPv6 prefix delegation support comes to PPPoE in RouterOS version v5.10* so for those of you ready to jump onboard this release, here’s my attempt at a best-practice way to set it all up. IPv6 has been around in RouterOS for a while now, but the specific feature that was introduced is called “DHCPv6 Prefix … Continue reading IPv6 over PPPoE – RouterOS v5.10
Bridging ESX Virtual Switch Networks using MikroTik and EoIP/Vlan/VPLS
This is a bit of a different post based on some configuration I did just recently to enable the bridging of a Virtual Switch between 2 ESX hosts. There is an VMWare option for this called a “VMware vSphere Distributed Switch” however this requires one of the higher end licencing packages so isn’t available on … Continue reading Bridging ESX Virtual Switch Networks using MikroTik and EoIP/Vlan/VPLS
MikroTik new product announcements – October 2011
Live here at Las Vegas, Normis has just finished announcing the new products; some new and exciting info about the RB2011 as well as more details on known models. RB2011: – Low cost series – Rackmount or Desktop – 5xGigabit, 5x100Mbit – SFP/USB/WiFi models – Available December Model Table L LS US US2HnD Type … Continue reading MikroTik new product announcements – October 2011
MUM In Australia!
For any of you aussies following this site, don’t forget to register your attendance for the Mikrotik User Meeting (first one ever in Australia). Note that Duxtel will also be doing Mikrotik training the week before and after! – Link here
Improved Netwatch-style script.
There have been a number of improved netwatch scripts listed on the mikrotik wiki in the past however many of these are hard to understand, broken or both. I had a request from an associate to assist them finding a solution to fall over VPN traffic from one link to another in the event of … Continue reading Improved Netwatch-style script.
Adding automatic rate limits to user-manager accounts.
This has been mentioned and posted in a couple of places now however I’d like to post a copy here also in the event that anyone else has further suggestions on improvements for the script, or any further questions. Although I don’t use it much myself, many Mikrotik users would be familiar with the “user-manager” … Continue reading Adding automatic rate limits to user-manager accounts.
Simple RouterOS http load/bandwidth tester
Disclaimer: I am not responsible for what you choose to do with this script and/or what damage you incur. It uses features of RouterOS in ways I have to assume they were not intended so user beware. I wrote a little script today that allows very simple load/bandwidth testing. Some suggested uses: – basic testing … Continue reading Simple RouterOS http load/bandwidth tester
Bug spotting – PPPoE and Hotspot
Came across an interesting (yet to be verified) bug today. The info: RouterOS v4.10 running on x86 server Site runs both a hotspot and PPPoE server on the same interface. Users can decide to login via the captive portal (which most do) or for those who understand and wish to use a pppoe connection, they … Continue reading Bug spotting – PPPoE and Hotspot
MUM 2010 – Phoenix
For those of you who missed it, the most recent Mikrotik User Meeting (MUM) was on just a few days ago in the USA. Videos of the presentations (which are all very interesting) are available on tiktube and I would highly recommend you check out Greg Sowell‘s presentation on Troubleshooting. http://tiktube.com/?video=369 Greg has also just … Continue reading MUM 2010 – Phoenix
IPv6 and Mikrotik – Using 6to4
Please note this guide assumes some basic knowledge of IPv4 and IPv6 address space. Many of you may know of the impending doom that surrounds the IPv4 network and lack of remaining IP ranges. The question is, how many people are actually doing anything about it? Given the slow take up worldwide I thought it … Continue reading IPv6 and Mikrotik – Using 6to4
Freebies in SA (or How to download IP address lists to a Mikrotik)
In the state of Australia I currently live in, there are 2 major ISP’s – Internode and Adam Internet. Being a typical nerd and living with other typical nerds we of course have 2 ADSL connections, 1 to each of these providers which are shared out amongst the house. However each of these providers have … Continue reading Freebies in SA (or How to download IP address lists to a Mikrotik)
The death and resurrection of an RB450
Recently I’ve had 2 RB450’s come across my desk as “dead” units. 1 was the victim of a power surge, the other had just stopped working at some point. As these were both going to visit the bin otherwise, I claimed both units in the hope that I might be able to use my limited … Continue reading The death and resurrection of an RB450
Mikrotik Hotspot Authentication for IPv6 dual-stacked clients
In preparation for some IPv6 testing of our hotspot systems, I’ve come up with the following temporary authentication method for dual-stacked users. Seeing as the login redirect goes via an IPv4 webserver, if enabled IPv6 traffic passes by the hotspot unhindered. This is my work on enabling the IPv6 side of things when a user … Continue reading Mikrotik Hotspot Authentication for IPv6 dual-stacked clients
RB1100
Having received one of the first RB1100’s to arrive in Australia, I can sum all my thoughts on it in 5 words “better and cheaper than cisco”. However seeing as that’s just my opinion, I’ll elaborate a little further on why exactly the RB1100 rates so high in my mind.
RB1100 review coming soon.
I’ve been offered an RB1100 to review which I’ll be receiving later this week. The RB1100 is the successor to the RB1000 with more than double the ports and some unique features.. more on this later. Expect a review here sometime over the weekend when I’ve had a bit of a play 🙂 Greg Sowell … Continue reading RB1100 review coming soon.
Using PCC to load balance across multiple non bonded links.
This is my ongoing work at using multiple ADSL services and the Mikrotik PCC rules along with some inbound mangling to allow a single router to load balance traffic across as many non bonded links as required.
Consultant for hire
I am the user known as omega-00 on the mikrotik forums (see here) and as always am happy to be of assistance in all mikrotik related matters. I can be contacted via the email address listed in my forum profile or alternatively send an email to: admin at this domain dot com (if you can’t … Continue reading Consultant for hire