Playing with MikroTiks
In an effort to jog my memory from last December’s RMHAM networking workshop, I decided to set up a miniature lab of my own. I’m glad I did, because even a simple arrangement had me scratching my head for a while!
I had two MikroTik LHGs, two hEX PoE lites, and two laptops, and the goal was to get those configured to ping from one side to the other and back via Part 97 frequencies with RMHAM’s conventions.
The initial setup went well enough. One wrinkle is that I run Linux on almost all of my computers, and run MikroTik’s Winbox client using a Wine compatibility layer. That’s fine, but I also use UFW as a firewall, which interferes with Winbox’s ability to scan for neighbors or connect by MAC address. I had to remember to turn off UFW while doing this experiment.
Also, I was trying to power the LHGs using the hEX routers and avoid even more cable spaghetti by using separate PoE injectors. This meant that I couldn’t plug directly into the LHGs; when I mis-configured them and needed to get back in by MAC, I had to add their port to the hEX router’s bridge temporarily. Seems like a sneaky kludge, but it worked.
To get the MikroTik LHG radios to use the ham band, they have to be the “international” version.
After that, you can use the “superchannel” selection to change the available frequencies and move to
the ham band. RMHAM usually uses their club callsign N0SZ
as part of the 802.11 SSID so that every
packet transmitted has station identification per Part 97, so I followed suit and used my own
callsign.
At the last step I was still having trouble; my pings between the laptops were only getting halfway through the network. The radios could ping each other, but the routers weren’t working together. Finally, I took the radios out since they were bridging and therefore just a fancy ethernet cable, and plugged the routers directly together. The problem persisted, and I found that my static route gateways were set to forward by interface, not to their neighbor’s IP. Once I fixed that, the traffic started flowing, and kept flowing after reintroducing the radios.
I didn’t touch OSPF this time around, and I don’t know that two routers is enough to do a meaningful experiment, but I should refresh myself on that as well.