Re: [B.A.T.M.A.N.] packets not processed by batman on eth0

Matthias Schiffer
2012-06-22T03:03:05Z

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

Hi,
it might be your VLAN configuration - as far as I know, 0 is not a valid
VLAN id.

But I also found that batman-adv doesn't work on VLAN interfaces on my
OpenWRT routers. As a workaround you can create a new bridge that only
contains the VLAN interface and add the bridge to bat0 instead.

Regards,
Matthias

On 06/22/2012 04:38 AM, Geneviève Bastien wrote:
> Hi,
>
> On 12-06-21 04:28 AM, Marek Lindner wrote:
>> Hi,
>>
>>> I talked to marec last week on irc (I'm tahini). I have a linksys
>>> router that runs batman on the eth0 interface and other routers or
>>> laptops are connected to it. Problem is, even though the batman packets
>>> pass from the other machines to the linksys, it seems something weird
>>> happens on the linksys and the interface is not recognized as a batman
>>> neighbor.
>> the problem is that leon does not receive any packets from its
>> neighbors. Its
>> log only repeatedly states "Sending own packet" but no information about
>> incoming packets is printed. If you compare it with the other logs you
>> will
>> see what I mean.
> But doesn't the 'batctl td eth0' output show it receives the packets
> from the neighbors? What happens to those packets?
>
>> A common mistake leading to this symptom is a bridge misconfiguration.
>> Is eth0
>> on leon part of a bridge ?
> No, the bat0 interface is on the bridge, but eth0 is a vlan, I think.
> Maybe it is a vlan misconfiguration?
> Attached are some outputs and config files from leon. What other
> commands should I look for to help find the problem?
>
> Thanks,
> Geneviève

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]