RouterOS and AMPRNet IP over IP and RIP

I know a few folks out there are hams and have this working and I’m trying to make it work with Mikrotik. The way it is implemented is with Ip over IP tunnels and there is RIP. But there needs to be a way to dynamically create the IP over IP tunnels since connects can come from many locations. Daily a new encapsulated file with gateway info is generated as well which can be imported.

At work now and can provide more info later. I have it working on a single tunnel to a remote destination.The AMPRNet folks insist on running a separate linux box in front to deal with it.

thanks 73 Leon WA4ZLW, Blandon, PA

here’s more info to peruse:

Leon;

On Mon, 2015-03-30 at 19:36 -0400, Leon D. Zetekoff wrote:

hey brian…well the mtk is linux…i dont see how a linux box solves
creating the multiple tunnels

All our tools are developed for a true native linux platform, not
linux-based such as Microtik/Android/etc.

isn’t there a home base that handles all the routing, etc? that would be
the way I would set it up instead of this adhoc manual type network?

On a point to multipoint MESH network - no, unless you want to use a non
44-net IP then you can send an unencapsulated frame to UCSD and they’ll
provide the encapsulation and routing to the 44-net endpoint.

Here’s what my friend in Romania says… basically you need a linux box
with python to inject a microtik with the routing:


Actually not… Unfortunately th Mikrotik does not support point to multipoint
tunnels.
On one hand, there is a script from Tom KD7LXL, written in pyton, that
will use a encap.txt as input and send the appropriate commands via ssh to
the router.
https://github.com/kd7lxl/python-amprapi/#updaterospy
This creates a full set of tunnels, one for each peer, and updates them
on demand (speak running the script manually on an external machine).

I tried to do a script on the router to do a similar setup, but use the
RIP data, but I got stuck on the fact that the script did not allow for more
than 10 IPIP to be created programatically.
But there are actually around 400, so I dropped that approach.

I have only 2 solutions that work:

  1. Set up a metarouter with OpenWRT using ampr-ripd on a mipsbe based
    Mikrotik
    router (e.g. RB 450, 75x or 95x) with 2 virtual interfaces, one
    accepting/sending IPIP, the other handling the 44/8 traffic, doing the
    encap/decap inside that one, and exporting the RIP routes via RIP
    forward to the actual router

  2. A similar approach but using an external device with a single
    network interface (IPIP in, 44/8 out and the reverse, with RIP forwarding). I
    tested this on a Raspberry Pi, an Alix board and a regular PC (this being my
    current setup, the PC also acting as server for other services).

Marius, YO2LOJ

I’m not interested in using yet another box in front of my router and I know mikrotik can do mulitcast and multiple tunnels.
I just need a little direction on how to implement this in the router self-contained.

Thanks 73 Leon WA4ZLW