public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Help in batman advanced configuration
@ 2009-01-24  0:30 Gargi Purohit
  2009-01-24  8:42 ` Marek Lindner
  0 siblings, 1 reply; 7+ messages in thread
From: Gargi Purohit @ 2009-01-24  0:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 2279 bytes --]

Hi

I am trying to bring up open mesh with batman advanced.  My network
configuration is as follows:

_____DSL cable_____Linksys Router____Cisco PIX______Switch______ open mesh 1
---------- open mesh 2 -------- client laptop

192.168.50.1 | _______ my PC

       |_______

       |_______

                          |_______

My IPs get automatically assigned by the PIX (In the subnet 192.168.50.0)

OPEN MESH 1 - configuration
===========================

1. I stop the routing daemons running on them.  It has eth0, ath0, ath1 and
ath2 interfaces
   where ath0 is in adhoc mode and ath1 and ath2 are in master mode

   I create a bridge between all these interfaces (br0 - eth0, ath0, ath1,
ath2) and i run
   udhcpc with br0 as an argument so that my bridge gets an IP from the
network

   All other interfaces are given an IP of 0.0.0.0

   My bridge gets an IP (192.168.50.5)

   I have batman_core module and i update the
/proc/net/batman-adv/interfaces with br0 interface
 echo br0 > /proc/net/batman-adv/interfaces


OPENMESH 2 - configuration
==========================

1. I stop the routing daemons. It has ath0, ath1, ath2 interfaces.
   I again bridge these interfaces (br0 - ath0, ath1, ath2

   I try getting an IP for this node usign the same method of running udhcpc
but i am unable to
   So I dont have an IP - but i dont worry about it now.

    I have batman_core module and i update the
/proc/net/batman-adv/interfaces with br0 interface
 echo br0 > /proc/net/batman-adv/interfaces


OBSERVATION
===========
Now when i check connectivity using battool i can ping between openmesh 2
and openmesh 1 using battool bp
My originators file indicate the mac of the other mesh node

E.g. on openmesh2

root@open-mesh:/proc/net/batman-adv# cat originators
  Originator     (#/255)           Nexthop [outgoingIF]:   Potential
nexthops ..
. [B.A.T.M.A.N. Adv 0.1-beta rv1103, MainIF/MAC: br0/00:18:0a:01:44:d0]
openmesh1 MAC  (255) openmesh1 MAC [       br0]: openmesh1 MAC (255)

Associate a client
==================

I now try to associate a client to open mesh 2.  Its IP request gets
forwarded to the wired network and it receives an IP
(192.168.50.6)

However i can't batping to it from either openmesh 2 or openmesh 1

Is something missing in my configuration?

[-- Attachment #2: Type: text/html, Size: 4969 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-27  1:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24  0:30 [B.A.T.M.A.N.] Help in batman advanced configuration Gargi Purohit
2009-01-24  8:42 ` Marek Lindner
2009-01-26 17:34   ` Gargi Purohit
2009-01-26 19:41     ` Marek Lindner
2009-01-26 20:28       ` Gargi Purohit
2009-01-26 21:24         ` Simon Wunderlich
2009-01-27  1:41           ` Gargi Purohit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox