public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] BATMAN ADVANCED KERNEL LAND LOOP
@ 2008-06-27 12:28 cipollone
  2008-07-02 13:01 ` [B.A.T.M.A.N.] " Simon Wunderlich
  0 siblings, 1 reply; 5+ messages in thread
From: cipollone @ 2008-06-27 12:28 UTC (permalink / raw)
  To: b.a.t.m.a.n, simon.wunderlich

Hi,

I'm testing BATMAN Advanced Kernel Land and I've found a problem.
I'm using BATMAN-adv over OpenWRT.

My test is:

3 virtual machine
2 Ethernet card for each virtual machine
3 Vlan

So we have a loop and I hoped that BATMAN solve this but...

What's happen is that each virtual machine can send message to itself 
using the 2 interface.
It passes because  the BATMAN  message are re-broadcasted and at a 
certain point 1 of machine start to communicate only with itself, 
disappearing from the network.

I need helppp!!!

Paolo Cipollone


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [B.A.T.M.A.N.] Re: BATMAN ADVANCED KERNEL LAND LOOP
  2008-06-27 12:28 [B.A.T.M.A.N.] BATMAN ADVANCED KERNEL LAND LOOP cipollone
@ 2008-07-02 13:01 ` Simon Wunderlich
  2008-07-03 13:42   ` [B.A.T.M.A.N.] BATMAN Gateway cipollone
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Wunderlich @ 2008-07-02 13:01 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

Hey,

Just as an update for other people interested in batman-advanced: Paolo
and me were hunting the bug(s) in private, and these issues should be
resolved with rev1090. 

Thank you again for reporting and testing, Paolo!
	Simon

On Fri, Jun 27, 2008 at 02:28:50PM +0200, cipollone wrote:
> Hi,
> 
> I'm testing BATMAN Advanced Kernel Land and I've found a problem.
> I'm using BATMAN-adv over OpenWRT.
> 
> My test is:
> 
> 3 virtual machine
> 2 Ethernet card for each virtual machine
> 3 Vlan
> 
> So we have a loop and I hoped that BATMAN solve this but...
> 
> What's happen is that each virtual machine can send message to itself 
> using the 2 interface.
> It passes because  the BATMAN  message are re-broadcasted and at a 
> certain point 1 of machine start to communicate only with itself, 
> disappearing from the network.
> 
> I need helppp!!!
> 
> Paolo Cipollone
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [B.A.T.M.A.N.] BATMAN Gateway
  2008-07-02 13:01 ` [B.A.T.M.A.N.] " Simon Wunderlich
@ 2008-07-03 13:42   ` cipollone
  2008-07-03 14:47     ` Sven Eckelmann
  2008-07-03 15:35     ` Simon Wunderlich
  0 siblings, 2 replies; 5+ messages in thread
From: cipollone @ 2008-07-03 13:42 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi,

I want to know how work and what I have to configure the kernel module 
of BATMAN Gateway. I'm using OPENWRT and I haven't found paper that 
describe this kernel module (usage, configuration, how work).

Someone could help me?

Thanks

Paolo Cipollone


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] BATMAN Gateway
  2008-07-03 13:42   ` [B.A.T.M.A.N.] BATMAN Gateway cipollone
@ 2008-07-03 14:47     ` Sven Eckelmann
  2008-07-03 15:35     ` Simon Wunderlich
  1 sibling, 0 replies; 5+ messages in thread
From: Sven Eckelmann @ 2008-07-03 14:47 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Thursday 03 July 2008 15:42:25 cipollone wrote:
> I want to know how work and what I have to configure the kernel module
> of BATMAN Gateway.
Hm, I am not really sure if I understood it right - you want to use batman 
advanced to access another network (internet....), correct?
Just insmod it everywhere, add  outgoing interface to /proc/net/batman-
adv/interfaces and let one machine (router to the internet for example) play 
the dhcpd. This machine should only deliver new ip addresses to the other 
machines and inform everyone else that they should use his ip as default 
router. Then you must know if you want to use it as nat or as normal router ( 
just enable ipv4_forward).
So it is just the same procedure as building a normal openwrt router/gateway 
with the small difference that all "clients" are talking over the bat0 
interface instead of the wlanX/ethY interface. It is nearly the same as 
configuring a normal openwrt. So parts of 
http://wiki.openwrt.org/OpenWrtDocs/Configuration can be used.

Setting up the wifi should be the same as always:
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc
iwconfig ath0 essid testnet
iwconfig ath0 ap 02:00:de:ad:be:ef
iwconfig ath0 channel 10
ifconfig ath up
insmod batman-adv-core
echo "ath0" > /proc/net/batman-adv/interfaces

(maybe I got it right... don't have the hardware to test it now).

> I'm using OPENWRT and I haven't found paper that
> describe this kernel module (usage, configuration, how work).
http://tinyurl.com/6dbws8
But I am relative sure that you have read it because you have reported a bug 
when somebody tries to add new interfaces to /proc/net/batman-adv/interfaces.

Please ask a little more specific if I didn't answer your question. And feel 
free to write your setup down (small howto or so) so other people can access 
you knowledge afterwards (maybe marec can add it to the trac wiki).

Sven

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] BATMAN Gateway
  2008-07-03 13:42   ` [B.A.T.M.A.N.] BATMAN Gateway cipollone
  2008-07-03 14:47     ` Sven Eckelmann
@ 2008-07-03 15:35     ` Simon Wunderlich
  1 sibling, 0 replies; 5+ messages in thread
From: Simon Wunderlich @ 2008-07-03 15:35 UTC (permalink / raw)
  To: cipollone,
	The list for a Better Approach To Mobile Ad-hoc Networking

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

Hello, 

please note that the BATMAN Gateway module has nothing to do with
batman-advanced (user/kernelspace). The BATMAN Gateway module can be
used to accelerate the BATMAN Layer 3 (and only Layer 3) Gateway 
functionality. BATMAN will automagically detect the kernel module and
use it if its available.
But you will have the same functionality without the kernel module, just
slower. :)

best regards,
	Simon


On Thu, Jul 03, 2008 at 03:42:25PM +0200, cipollone wrote:
> Hi,
> 
> I want to know how work and what I have to configure the kernel module 
> of BATMAN Gateway. I'm using OPENWRT and I haven't found paper that 
> describe this kernel module (usage, configuration, how work).
> 
> Someone could help me?
> 
> Thanks
> 
> Paolo Cipollone
> 
> _______________________________________________
> 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-03 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27 12:28 [B.A.T.M.A.N.] BATMAN ADVANCED KERNEL LAND LOOP cipollone
2008-07-02 13:01 ` [B.A.T.M.A.N.] " Simon Wunderlich
2008-07-03 13:42   ` [B.A.T.M.A.N.] BATMAN Gateway cipollone
2008-07-03 14:47     ` Sven Eckelmann
2008-07-03 15:35     ` Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox