[B.A.T.M.A.N.] Fail to create tunnels using br-lan

Carlos Rey-Moreno
2016-12-19T10:06:01Z

Hi everyone,

A student who is collaborating with me, Andrei, cc'ed, is carrying out
traffic performance analysis in a mesh network (which uses batman-adv)
in order to compare the benefits of introducing Simplemux [1].
Basically, simplemux multiplexes small packets in bigger packets and
compresses them to reduce overhead. These packets are then sent
through a tunnel to another end in the network.

So far, simplemux shows very positive results by creating the tunnel
in between two computers connected at each end of a multihop network
composed by a chain of 5 nodes.

The idea would be to test the performance benefits of simplemux when
the tunnels are created between the mesh nodes instead, so they could
aggregate, let's say, all the VoIP packets from different SIP clients
calling other SIP clients in the mesh or via the gateway.

The tunnels can be successfully created in OpenWRT, but it fails when
assigning the physical interface the tunnel should use. It works when
a physical interface is used, i.e. eth0, but fails with br-lan
provided it is a virtual interface.

# openvpn --mktun --dev tun0 --user root

# ifconfig tun0 up

# ./simplemux -i tun0 -e br-lan -M N -c 192.168.0.5

I was wondering if anyone in the list could point Andrei in the right direction.

Thank you very much in advance.

carlos

[1] https://github.com/Simplemux/simplemux

--
Carlos Rey-Moreno, PhD
PostDoctoral Fellow University of the Western Cape
Zenzeleni Networks: zenzeleni.net
https://www.youtube.com/watch?v=YxTPSWMX26M
Cel: +27 (0) 76 986 3633
Skype: carlos.reymoreno Twitter: Creym