public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Linus Lüssing" <linus.luessing@web.de>
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.] Stup batman ADv devel on openWRT
Date: Thu, 20 Jan 2011 09:25:21 +0100	[thread overview]
Message-ID: <20110120082521.GA14117@Sellars> (raw)
In-Reply-To: <9593ED11D39C4938AB059ECE63244111@granch.local>

Hi Michael,

You have a bridge loop here, you cannot put an interface into
batman-adv and bridge the same one with bat0 again which seems to
be the case for wlan0. Packets will enter wlan0, batman will grab
them, encapsulate it in its own batman header and send the same
packet on wlan0 again, reaching another batman-adv
node, which encapsulates the same packet again etc.

Please check
http://www.open-mesh.org/wiki/batman-adv-quick-start-guide and try
starting with a simpler setup first.

Also have a look at
http://www.open-mesh.org/wiki/batman-adv-troubleshooting, if
there's anything missing in this one, we'll be happy to add it.

Cheers, Linus

On Thu, Jan 20, 2011 at 01:31:34PM +0600, Michael Y. Gluhovchenko wrote:
> Hello All;
> 
> I am truing to setup two batman openWRT nodes;
> 
> I have that topology
> br-lan          0002.001e8cc9451b       yes             bat0
> 		                                                  eth0
>                        		                                  eth1
>                                               			  wlan0
> 
> Counters of RX & TX packets are increase on wlan0, but no RX packets
> on Batman Iface Bat0
> In logs first(ha00) node i am only see "[     69443] Sending own
> packet (originator c4:17:fe:b4:0b:97 seqno 70438, TQ 255, TTL 50,
> IDF off) on interface wlan0 [c4:17:fe:b4:0b:97]". Second(ha01) node
> I am see "[ 69553] Sending own packet (originator c4:17:fe:b2:50:c8
> seqno 70549, TQ 255, TTL 50, IDF off) on interface wlan0
> [c4:17:fe:b2:50:c8]"
> What am i doing wrong?
> 
> First Node don't see Second Node.
> Bat Setup:
> ha00 - /etc/config/wireless:
> config wifi-device  radio0
>        option type     mac80211
>        option channel  1
>        option macaddr  c4:17:fe:b4:0b:97
>        option hwmode   11g
>        option htmode   HT20
>        list ht_capab   SHORT-GI-40
>        list ht_capab   TX-STBC
>        list ht_capab   RX-STBC1
>        list ht_capab   DSSS_CCK-40
> 
> config wifi-iface
>        option device   radio0
>        option network  lan
>        option mtu      1527
>        option mode     ahdemo
>        option ssid     g_mesh
>        option encryption none
> /etc/config/batman-adv
> 
> config 'mesh' 'bat0'
>        option 'interfaces' 'wlan0'
>        option 'orig_interval'
>        option 'log_level'
>        option 'aggregated_ogms'
>        option 'bonding'
>        option 'vis_mode'
> -------------------------------------
> ha01 - /etc/config/wireless
> config wifi-device  radio0
>        option type     mac80211
>        option channel  1
>        option macaddr  c4:17:fe:b2:50:c8
>        option hwmode   11g
>        option htmode   HT20
>        list ht_capab   SHORT-GI-40
>        list ht_capab   TX-STBC
>        list ht_capab   RX-STBC1
>        list ht_capab   DSSS_CCK-40
> 
> config wifi-iface
>        option device   radio0
>        option network  lan
>        option mode     ahdemo
>        option ssid     g_mesh
>        option encryption none
> 
> /etc/config/batman-adv
> config 'mesh' 'bat0'
>        option 'interfaces' 'wlan0'
>        option 'orig_interval'
>        option 'log_level'
>        option 'aggregated_ogms'
>        option 'bonding'
>        option 'vis_mode'
> .
> 

  reply	other threads:[~2011-01-20  8:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20  7:31 [B.A.T.M.A.N.] Stup batman ADv devel on openWRT Michael Y. Gluhovchenko
2011-01-20  8:25 ` Linus Lüssing [this message]
2011-01-20  8:37   ` wayne
2011-01-20 12:52     ` Linus Lüssing
2011-01-20 15:33       ` Tom Cannon
2011-01-21  5:05       ` wayne

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=20110120082521.GA14117@Sellars \
    --to=linus.luessing@web.de \
    --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