Tom, we were discussing about the possibility to completely setup a mesh as
in linux, via one single P2MP interface, to be able to have a ampr-ripd-like
mechanism contained in the router.
This setup is not possible on ROS at the moment, having 3 restrictions as a
cause, even if the kernel module allows this:
1. An IPIP interface needs mandatory a remote endpoint (no P2MP)
2. A route can not have a specified hardware interface (the syntax via
w.x.y.z%interface is not allowed on IPv4)
3. OnLink routes can not be created (routes which have no routable
destination at creation time)
Of course, by creating an interface for each mesh partner is possible, and
the problem is solved (like your script does), but it needs an external
machine to run that script periodically, and as such is not self contained.
This brings me to a new idea: a metarouter running that pyton script on the
same router the interfaces are created on... Hmmm.
73s de Marius, YO2LOJ
-----Original Message-----
From: 44net-bounces+marius=yo2loj.ro(a)hamradio.ucsd.edu
[mailto:44net-bounces+marius=yo2loj.ro@hamradio.ucsd.edu] On Behalf Of Tom
Hayward
Sent: Thursday, June 11, 2015 19:16
To: AMPRNet working group
Subject: Re: [44net] Strange Broadcasts...
(Please trim inclusions from previous messages)
_______________________________________________
On Wed, Jun 10, 2015 at 12:49 PM, Rob Janssen <pe1chl(a)amsat.org> wrote:
> The missing element is a way to create an IPIP
interface without a
> specific
> peer IP, and add routes to specific peers on a given IPIP interface to
get
it in
multipoint mode.
That is clear, yes. I already found that the do not support static routes
being bound to
interfaces, let alone "onlink" routes. So even when you would want to
load
routes using
a script, it still cannot be done.
You lost me here. I've had scripts doing this, successfully, for quite
some time (unless I misunderstand you). No, it's not via a single IPIP
interface, but these routers are very capable of managing lists of
hundreds of items, so that's of no concern.
https://github.com/kd7lxl/python-amprapi/blob/master/updateros.py
Usage:
https://github.com/kd7lxl/python-amprapi/#usage-1
You can run it with -n -v to just print a list of commands that would
be run to configure all the AMPR tunnels. This is a non-destructive
way to see what this script does in terms of ROS commands.
Tom KD7LXL
_________________________________________
44Net mailing list
44Net(a)hamradio.ucsd.edu
http://hamradio.ucsd.edu/mailman/listinfo/44net