public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Axel Neumann <axel@open-mesh.net>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] problem starting batmand (v799)
Date: Tue, 20 Nov 2007 12:32:11 +0100	[thread overview]
Message-ID: <200711201232.11894.axel@open-mesh.net> (raw)
In-Reply-To: <4742B775.2060601@absorb.it>

Hello,

On Dienstag 20 November 2007, rene wrote:
> Hi,
>
> Axel Neumann wrote:
> > 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.
>
> This is two times the same node, first time it recognizes the broadcast
> the right way, second time not.
of course, ive been somwhow distracted by "the other node"
>
> > 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).
>
> Is this implemented like this (where?)? 
Yes it is implemented/designed like this. It operates on layer three and 
above. IP addresses are used to differentiate between different links to the 
same neighbors. For example two nodes A and B, each with two wireless 
interfaces 1 and 2. All interfaces operating in the same channel, bssid, ...
How could node A differentiate between the link A1<->B1 and A1<->B2 if it is 
not aware of any MAC addresses. But even if it is aware of MAC addresses. How 
could it set up the routing table to ensure that a packet to a distant node C 
should be routed via B1 (and NOT via B2)?
 
> Can't work BATMAN with the 
> interfaces (or can't we change it to work this way)
i guess its not that easy but if you are familiar with protocol design and c 
coding go ahead...
Or you take a look on batman-advanced, but thats another story :-)
> , it would make the 
> whole configuration much easier to assign to every node only one single
> IP address (or two, one for olsr and ne for BATMAN)? We are doing this
> with olsr and this really makes the network-structure much cleaner -
> every node has one IP.

Actually, I did not even know that this is possible - is such a configuration 
proposed somewhere. I can imagine that this somehow works but how shure are 
you that this does not introduce any negative side effects?

ciao, 
axel

>
> Is the described problem with the misconfigured broadcast related to the
> 'same IP on different interfaces' issue?
>
> regards,
> Rene
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n



  parent reply	other threads:[~2007-11-20 11:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20  5:22 [B.A.T.M.A.N.] problem starting batmand (v799) rene
2007-11-20  9:08 ` Axel Neumann
2007-11-20 10:31   ` rene
2007-11-20 10:59     ` [B.A.T.M.A.N.] single IP for multiple interfaces (was: Re: [B.A.T.M.A.N.] problem starting batmand (v799)) Marek Lindner
2007-11-20 11:29       ` [B.A.T.M.A.N.] single IP for multiple interfaces rene
2007-11-20 12:24         ` Marek Lindner
2007-11-20 13:45           ` rene
2007-11-20 14:08             ` Marek Lindner
2007-11-20 11:32     ` Axel Neumann [this message]
2007-11-20 11:39       ` rene
2007-11-20 12:31         ` Axel Neumann
  -- strict thread matches above, loose matches on Subject: below --
2007-11-20 14:56 [B.A.T.M.A.N.] problem starting batmand (v799) Sebastian Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711201232.11894.axel@open-mesh.net \
    --to=axel@open-mesh.net \
    --cc=b.a.t.m.a.n@open-mesh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox