All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gui Iribarren <gui@altermundi.net>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] I need some help with BATMAN configuration
Date: Fri, 30 May 2014 14:30:05 -0300	[thread overview]
Message-ID: <5388C01D.1030202@altermundi.net> (raw)
In-Reply-To: <53889421.7040000@udio.cujae.edu.cu>

On 30/05/14 11:22, Lucy Coya wrote:
> Hi everyone,
> My name is Lucy Coya, I´m a telecommunications engineer and I need some
> help with my BATMAN configuration. I´m using batman-adv-2014-2.0 and
> batctl-2014-2.0
> I´m trying to use BATMAN protocol in a very very simple routing scenario
> at first to study the protocol. I have:
> -Two Laptops using two wireless interfaces each (wlan0 in AP mode and
> wlan1 in Ad Hoc mode).
> 
> I meshed the two wireless interfaces in ad hoc mode according to the
> wiki steps and it worked fine,so I can ping the interfaces. Now I´m
> trying to make that two clients connected to the AP interfaces can ping
> each other through the mesh network. I tried creating a bridge between
> wlan0 and wlan1 as the wiki says but no ping :-(. I don´t know what to

you should bridge wlan0 (the AP interface) with bat0
and add wlan1 (adhoc) to bat0 with "batctl if add"

in ascii art that'd be:
br-lan
 \ wlan0
 \ bat0
    \ wlan1

in bash commands that'd be

# add adhoc interface to bat0
batctl if add wlan1

# remove addresses from slave interfaces
ip addr flush dev wlan0
ip addr flush dev wlan1
ip addr flush dev bat0

# bridge ap interface with bat0
brctl addif br-lan wlan0
brctl addif br-lan bat0

# add the ip address to the bridge
ip addr add dev br-lan 2001:db8::1/64


cheers!

gui

> do so any help would be awesome!!! Thanks
> Sorry if my English is bad :-)
> 
> Lucy
> 
> 
> 
> 50 Aniversario de la Cujae. Inaugurada por Fidel el 2 de diciembre de
> 1964  http://cujae.edu.cu
> 
> 

      parent reply	other threads:[~2014-05-30 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 14:22 [B.A.T.M.A.N.] I need some help with BATMAN configuration Lucy Coya
2014-05-30 16:35 ` [B.A.T.M.A.N.] [SUSPECTED SPAM] " Moffatt David (Nokia-CTO/SiliconValley)
2014-05-30 17:30 ` Gui Iribarren [this message]

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=5388C01D.1030202@altermundi.net \
    --to=gui@altermundi.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.