BostonCube
  • Home
  • Blog
  • Tech Life
    • Joomla
    • Nextcloud
    • Nextcloud for Activity Planning
    • Nextcloud Deployment Automation
    • Bacula Pi
    • An Ubuntu 24.04 Deployment Automation
    • IPv6 Deployment
    • postcot
    • Mikrotik
  • About
  • Goodbye DrayTek, hello Mikrotik
  • Approach for Router Replacement
  • Preparing the Mikrotik RB5009 router for phased cutover
  • Connecting the Mikrotik router into the network
  • Adjust WinBox Permissions for First VLAN
  • Extend Hall VLAN to Mikrotik Router for Outbound Access
  • Configure internal DNS
  • Move and isolate a dedicated work VLAN
  • Move the Guest Wifi VLAN
  • Connect the VoIP phone base station
  • Move the public VLAN
  • Mikrotik RouterOS Upgrade

Configuring a Mikrotik RB5009 for the GeekLab

Mikrotik logoI have decided it's time to upgrade from an aging DrayTek Vigor 2862 to a Mikrotik RB5009 as the internet router on the GeekLab. This is a complete replacment and there's no direct upgrade path for the config so I need to rework everything from first principles and reconsider some of the original design concepts too.

The fun part will be bringing it into use and retiring the old Vigor without causing any disruption.


 

Goodbye DrayTek, hello Mikrotik

Details
Written by: Richard
Published: 28 July 2026

Mounting frustrations with the Draytek Vigor 2862 router reached boiling point after several evenings attempting once again to get IPv6 rolled to the GeekLab and it almost working despite an apparently incorrect address on the WAN interface before it deciding after the monthly reboot to report the correct address on the WAN and stop routing externally. Several hours of googling brought up lots of similar stories and it became apparent that it basically doesn't play nicely with a lot of ISPs IPv6 options. If I want to play with IPv6 then the Vigor has to go.

  • Mikrotik

Approach for Router Replacement

Details
Written by: Richard
Published: 31 July 2026

When starting any sort of project it helps to have a plan, or at least some idea of how you're going to attempt it. Even better if the plan is written down, or at least some notes made on the back of a handy bit of paper so you don't forget it. Quite often writing it down lets you think properly about what you're going to do and lets you spot things that might not be a good idea before things go badly wrong. 

Full disclosure: I did have a little bit of a play first, just to be sure it was going to work. But then I did a full reset and now I'm doing it properly.

Preparing the Mikrotik RB5009 router for phased cutover

Details
Written by: Richard
Published: 04 August 2026

In this stage we prepare the new Mikrotik RB5009 router as the new internet gateway ready for a phased cutover from the existing Draytek Vigor 2862 which will be retained as an internal router until all its connected networks and devices have been migrated.

  • Mikrotik

Connecting the Mikrotik router into the network

Details
Written by: Richard
Published: 06 August 2026

Time for a little bit of hardware configuration to connect the Mikrotik router between the my ISP's ONT and the existing Draytek router. A small interruption to internet access is needed for this step of course.

  • Mikrotik

Adjust WinBox Permissions for First VLAN

Details
Written by: Richard
Published: 12 August 2026

I ran into a bit of a problems enabling the VLAN filtering so it made sense to add an extra step just to get that working and then contine with extending and moving the exiting network VLANs across to the Mikrotik router.

  • Mikrotik

Extend Hall VLAN to Mikrotik Router for Outbound Access

Details
Written by: Richard
Published: 14 August 2026

With the VLAN support now fully enabled with can now connect the backbone Hall VLAN to the Mikrotik and route outbound traffic directly to the internet rather than via the old Draytek. This requires configuring the backbone VLAN, named Hall, and assigning an interface IP address and enabling RIP routing to properly handle return traffic.

  • Mikrotik

Configure internal DNS

Details
Written by: Richard
Published: 26 August 2026

"It's always the [bleep]ing DNS" is a common complaint when dealing with networks, especially if you're running an internal DNS for your own services and not just doing simple lookups for other internet sites. And of course the GeekLab has a more complex configuration typical of larger organisations with split horizon and multiple internal domains.

Compared to the old Draytek router the Mikrotik service is surprisingly limited by comparison but thankfully I don't (currently ) need to have the advanced features on the router itself and there are workarounds for when I do.

  • Mikrotik

Move and isolate a dedicated work VLAN

Details
Written by: Richard
Published: 29 August 2026

I prefer to keep my work laptop on a completely separate network from everything else, since that is a machine that is not fully under my control. The VLAN configuration separates ethernet traffic and the firewall rules to block routing between GeekLab and work networks turned out to be much simpler than expected.

  • Mikrotik

Move the Guest Wifi VLAN

Details
Written by: Richard
Published: 29 August 2026

In this stage we move the Guest WiFi users so they also connect via the Mikrotik router. As guests also get access to the public and some additional internal resources this needs an adjustment to the firewall rules too. Ideally I'd like to make this a gentle changeover without any interruption or impact on users.

That didn't go quite as expected...

  • Linux
  • Mikrotik

Connect the VoIP phone base station

Details
Written by: Richard
Published: 06 September 2026

The "landline" phones, which are now using a Voice over IP service since British Telecom decided they didn't want to be a phone company any more, use a base station that connects them to the A&A SIP servers over the internet. This now needs to be moved from the old Draytek router and directly connected to the Mikrotik now that everything seems to be going well.

Move the public VLAN

Details
Written by: Richard
Published: 10 September 2026

This is the final part of the router migration with the redirection of external access to go directly to the reverse proxy rather than via the old Draytek.

  • Mikrotik

Mikrotik RouterOS Upgrade

Details
Written by: Richard
Published: 12 September 2026

Upgrading the firmware on a Mikrotik router is quick and easy, although it should be noted that testing that everything is working as expected afterwards is also highly recommended.

  • Mikrotik
Copyright © 2026 BostonCube. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.