[Battlemesh] Example how to setup a static route in /etc/config/network

Dave Taht dave.taht at gmail.com
Fri Aug 7 12:07:32 CEST 2015

Somewhat related is how to cut routing traffic down by only exporting
a covering route. In one setup we had four /24 interfaces, and
allocated 4 more per router "just in case".

# you can put this in /etc/config/network then tell your routing daemon to
# only export a /21 here, not the /24s

config 'route' 'myroutes'
        option 'interface' 'lan' # actually ends up as lo I think
        option 'target' '' # 8-15 are thus covered. .16, .24, .32 etc
        option 'netmask' '' # actually I am not sure of
the math today
        option 'type' 'unreachable'

On Fri, Aug 7, 2015 at 11:06 AM, Henning Rogge <hrogge at gmail.com> wrote:
> config 'route'
>        option 'interface' 'management'
>        option 'target' ''
>        option 'netmask' ''
>        option 'gateway' ''
>        option 'source' ''
> _______________________________________________
> Battlemesh mailing list
> Battlemesh at ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/battlemesh

Dave Täht
worldwide bufferbloat report:
What will it take to vastly improve wifi for everyone?

More information about the Battlemesh mailing list