From: Sven Eckelmann <sven@narfation.org>
To: Walter Robert Ditzler <ditwal001@gmail.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] bridging problem
Date: Wed, 06 Jun 2012 08:59 +0200 [thread overview]
Message-ID: <1794568.t7tZJ9NAC6@bentobox> (raw)
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAAPNuGB5hMDtNhUs29egcVLUBAAAAAA==@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]
On Wednesday 06 June 2012 00:16:07 Walter Robert Ditzler wrote:
> hi sven,
>
> thank you very much for your reply, in fact my email hasn't arrived as
> wished!
>
> attached i send you a pdf to have a look, if you dont mind, would be very
> cool!
>
> so what works:
> 1) lan to lan bridge (10.41.200.11 <> 10.41.200.12)
>
> what i am too stupid to do:
> 1) attached wireless ad-hoc devices to give a dhcp lease
You need another vap/vif [1] adhoc device to serve such devices. This one
would have to run in 4addr mode to be able to get bridged. Usually you don't
do this because the client also needs to understand the 4addr mode. Therefore,
just create a master mode vap/vif and attach it to the bridge (you get it into
master mode using hostapd... please keep in mind that squeeze's hostapd is
buggy and maybe has problems with that setup).
> 2) that ex. a attached laptop has a address 10.41.200.71 > bridged analogue
> tot he base lan
>
> so my question is:
> 1) do i need 2 wireless network card for each batman host?
Not really. It could be a good idea to run the mesh on another frequency and
use another wlan device for this.
But the basic setup is really to create two interfaces (VAPs) for phy0 using
iw. One is added to bat0 (the adhoc one) and the other one (managed) is
transformed using hostapd in an master mode/AP interface and added to the same
bridge.
> 2) can i connect tot he batman mesh essid to get access the base lan?
Using non mesh aware clients? No.
batman-adv is a layer on top of the adhoc layer and clients that don't
understand batman-adv cannot decode this extra layer information.
Kind regards,
Sven
[1] http://linuxwireless.org/en/users/Documentation/iw/vif/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-06-06 6:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-05 20:09 [B.A.T.M.A.N.] bridging problem Walter Robert Ditzler
2012-06-05 20:46 ` Sven Eckelmann
2012-06-05 22:16 ` Walter Robert Ditzler
2012-06-06 6:53 ` Antonio Quartulli
2012-06-06 6:59 ` Sven Eckelmann [this message]
2012-06-06 12:26 ` Walter Robert Ditzler
2012-06-06 12:37 ` Sven Eckelmann
2012-06-06 12:59 ` Walter Robert Ditzler
2012-06-06 13:04 ` Wayne Abroue
2012-06-06 13:08 ` Sven Eckelmann
[not found] ` <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAAJ8P9S1hURlDutIgnj5PzCIBAAAAAA==@gmail.com>
2012-06-06 16:33 ` Sven Eckelmann
[not found] ` <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAAPMeAInHZDxMj0Jo5ITXNbIBAAAAAA==@gmail.com>
2012-06-11 14:35 ` Sven Eckelmann
2012-06-11 15:46 ` Walter Robert Ditzler
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=1794568.t7tZJ9NAC6@bentobox \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=ditwal001@gmail.com \
/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