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
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
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
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
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
b.a.t.m.a.n@lists.open-mesh.org