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

Carlos Rey-Moreno
2016-12-19T10:55:40Z

Dear Antonio, we will post it in the OpenVPN mailing list too, but I
was hoping that someone in the list had been able to establish tunnels
in between batmand-adv nodes using the br-lan interface.

best,

carlos

On 19 December 2016 at 11:10, Antonio Quartulli <a@unstable.cc> wrote:
> On Mon, Dec 19, 2016 at 11:06:01AM +0100, Carlos Rey-Moreno wrote:
>> 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.
>
> Dear Carlos,
>
> this looks pretty much about OpenVPN (if I am not wrong). Are you sure you
> posted it to the right mailing list?
>
> Cheers,
>
> --
> Antonio Quartulli

--
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