Networking • Automation • Occasional Podcasting

Category: Script

  • Using Mikrotik To Discover VLANs
    ,

    Using Mikrotik To Discover VLANs

    Occasionally I’ll be in an unfamiliar place and I want to plug into a switch and see what VLANs a trunk port will give me(I can also use this on wireless occasionally). There are many ways to do this, but I figured this is a fairly simple one that doesn’t tax small devices too much.…

  • ,

    Mikrotik Expect Script Slow Connection

    Tomas was having issues running an expect script that SSH’s into a Mikrotik to pull information. He would load about 80% of the MOTD, then it would hang for 10 seconds, then finish loading. Thrift had the thought about an issue with terminal emulation…which turned out to be the case. Tomas says to run with…

  • , ,

    Using BGP For QoS – MUM 2015

    This presentation is an example of using BGP for your QoS policies. The slides are available here: The configs are available here: The video is here: You can use route filters to mark incoming BGP routes. In this case we use route comments. This allows you to also manually add your own entries in with…

  • Convert CIDR Addresses For Use With Mikrotik Firewall
    , ,

    Convert CIDR Addresses For Use With Mikrotik Firewall

    CountryIPBlocks has a method to easily grab the CIDR blocks for various countries. They have methods to put these in formats for Cisco and such…though they don’t have one for Mikrotik. So, I wrote a lil program that will create address lists with firewall rules or just firewall rules based on these address blocks. What…

  • ,

    Mikrotik Fetch Tool

    I had JJ ask me the other day how to pull a file down to the mikrotik via a script, and the fetch tool is the answer. The fetch tool will pull via HTTP or FTP and as of version 5, it can also push. Pulling the coolest site logo /tool fetch url="http://gregsowell.com/logolong.png" mode=http

  • Launch Menu For The Dude
    , , , ,

    Launch Menu For The Dude

    As a consultant I use the dude a lot. I connect to a myriad of dude servers on a regular basis, which can be somewhat cumbersome. Why is this cumbersome…because you don’t have the ability to save multiple sets of connection information in the dude. Sooooo, I wrote a little menu system so you can…

  • , ,

    IPv6 Authentication for Hotspots

    My boy Andrew from down under has some crazy kung-fu whipped together to get your IPv6 clients running with hotspot. Here’s his Forum post and here’s his personal blog post. Keep knocking them outta the park mate…crikey, wallabies, boomerangs and whatever else you guys say down there 😛 hehehe