Re: [B.A.T.M.A.N.] problem starting batmand (v799)

Axel Neumann
2007-11-20T09:08:13Z

Hi,

On Dienstag 20 November 2007, rene wrote:
> Hi,
>
> starting batmand, the daemon sometimes doesn't seem to recognize the
> network the right way.
>
>
> root@25:~# killall batmand
> root@25:~# batmand eth1:1 vlan0:1
> Using interface eth1:1 with address 192.168.42.25 and broadcast address
> 192.168.43.255
> Using interface vlan0:1 with address 192.168.42.25 and broadcast address
> 192.168.43.255

> -------------------------------------------
> on the other node:
> root@25:~# killall batmand
> root@25:~# batmand eth1:1 vlan0:1
> Using interface eth1:1 with address 192.168.42.25 and broadcast address
> 192.168.43.255
> Using interface vlan0:1 with address 192.168.42.25 and broadcast address
> 192.168.43.255
> root@25:~#
>

What is definitively not correct is that your capture indicates 4 times the
same IP address (192.168.42.25) on 4 different interfaces.
Can you check whether your capture, the alias-interface configuration (what is
the output of ip a ?), or the daemon is wrong?
There MUST be a different IP address for each BATMAN interface in the network
(also if a single BATMAN node has more than one interface).
All BATMAN interfaces SHOULD have the same netmask and broadcast address.

ciao,
axel