From: "Dr. Stefan Radtke" <Stefan@Radtke.eu>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Problem after configuring a bridge
Date: Wed, 23 Feb 2011 18:42:58 +0100 [thread overview]
Message-ID: <4D654722.4030506@Radtke.eu> (raw)
In-Reply-To: <4D64BAFF.9050006@Radtke.eu>
Hello Antonio, Sven,
thanks for your comments. With your help I could set it up. The mistake
was in fact the ip-address on bat0.
I removed all IP addresses and set them to the bridge. That worked !
For those who might run into the same problem, here is the correct setup:
http://www.radtke.eu/tmp/Leitzberg-Mesh-corrected.gif
But a question is remaining: once the mesh was running, I wanted to turn
on enrcyption but this seems not working in ad-hoc mode with OpenWRT .
If I select Access Point mode for wlan0 the WPA2 encryption works....but
this is not supported with batman-adv since the wifis need to run in
ad-hoc mode. Any hint for this if I want to run the mesh encrypted ?
P.D. Same happens if I run IEEE 802.11s mode (without batman-adv). Works
well but encryption setting doesn't work.
Best regards, Stefan
On 23.02.2011 08:45, Dr. Stefan Radtke wrote:
> Hello *,
>
> I set up batman-adv-2010 on OpenWRT (backfire 10.3.x). Mesh
> interface is wlan0 and another non-batman-LAN is connected to eth0.
> non-batman clients should connect via the eth0 interface. (Full
> description and network diagram here:
> https://forum.openwrt.org/viewtopic.php?pid=129226#p129226 ).
>
> After setting up batman-adv 2010.x with
>
> batctl if add wlan0
> ifconfig wlan 0 0.0.0.0
> ifconfig bat0 192.168.10.2 (previous ip address of wlan0)
> ifconfig bat0 up
>
> I have to configure a bridge (according to quick start guide
> http://www.open-mesh.org/wiki/batman-adv-quick-start-guide) because I
> want batman-adv to announce MAC-addresses connected to eth0 (see
> network diagram):
>
> brctl addbr mesh-bridge
> brctl addif mesh-bridge eth0
> brctl addif mesh-bridge bat0
> ifconfig eth0 up
> ifconfig bat0 up
> ifconfig mesh-bridge up
>
>
> Although the translation tables (global and local) seem fine in this
> moment, at the same momentof bringing up the bridge I cannot send any
> more packets through bat0 or ent0.
> Both don't even reply to a ping.
>
> Network setup and outputs of ifconfig
> onhttp://www.open-mesh.org/wiki/batman-adv-quick-start-guide
> Any hint is appreciated.
>
> Stefan
>
>
>
next prev parent reply other threads:[~2011-02-23 17:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 7:45 [B.A.T.M.A.N.] Problem after configuring a bridge Dr. Stefan Radtke
2011-02-23 8:54 ` Antonio Quartulli
2011-02-23 10:20 ` Sven Eckelmann
2011-02-23 17:42 ` Dr. Stefan Radtke [this message]
2011-02-23 18:14 ` Sven Eckelmann
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=4D654722.4030506@Radtke.eu \
--to=stefan@radtke.eu \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/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