All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
@ 2009-04-07 22:18 Gargi Purohit
       [not found] ` <238a15490904071523v2a1e193bwcf624fe33108efb4@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Gargi Purohit @ 2009-04-07 22:18 UTC (permalink / raw
  To: B.A.T.M.A.N

Hi

I have configured a Layer 2 mesh (Using batman kernel module) on
Routerboard 433.  These are boards equipped with 2 interfaces.  I have
configured/created a virtual interface on every physical interface.
So for E.g. my routerboard 1 (RB1) has ath0 (Phy interface - Adhoc
mode), ath1 (Virtual interface - Master mode), ath2 (Phy interface -
Adhoc mode) and ath3 (Virtual interface in Master mode).

My set up has 2 routerboards - one is wired and the other is wireless.
Thus RB1 has (ath0, ath1, ath2, ath3 and eth0)
RB2 has (ath0, ath1, ath2, ath3)

The proc is as follows on both RB1 and RB2

root@open-mesh:~# cat /proc/net/batman-adv/interfaces
ath0 ath2

I have created a bridge between all interfaces.
The bridge config on RB1 is:

root@open-mesh:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.000c422fbfe4       no                  eth0
                                                                         ath1
                                                                         ath3
                                                                         bat0


The bridge config on RB2 is:
root@open-mesh:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.00ff8fffdcc7       no                     bat0
                                                                         ath1
                                                                         ath3


I can connect clients to each of these RB and they can get Internet access.

My configuration is like this:

-------------------Server 1 -------------|
                                             |
                                             |-------------Wired AP
(RB1)   =   =   =   =   =   =   = Wireless AP (RB2)
                                             |
^                                                               ^
                                             |
^                                                               ^
                                             |
^                                                               ^
                                             |
C1 (Client of RB1)                                      C2 (Client of
RB2)


The APs RB1 and RB2 are connected to each other over 2 mesh wireless
links on different channels (ath0 and ath2)

I am trying to ssh to Server 1 from all these nodes.  I can ssh to
Server 1 from anyone but RB2 (RB1, C1, C2 can ssh Server 1 but RB2
cannot).

Likewise I can ssh all nodes from each other.  E.g from anywhere on
LAN I can ssh to each of these nodes.  But RB2 can be sshed only from
nodes directly connected (eg. RB1 and C2).

Note however i can ping Server 1 from RB2.

Am not sure where I am going wrong?

Regards

Gargi

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

* Re: [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
       [not found] ` <238a15490904071523v2a1e193bwcf624fe33108efb4@mail.gmail.com>
@ 2009-04-07 22:25   ` Gargi Purohit
  2009-04-14 16:09     ` Simon Wunderlich
  0 siblings, 1 reply; 6+ messages in thread
From: Gargi Purohit @ 2009-04-07 22:25 UTC (permalink / raw
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Sorry was not clear in the configuration

= = AP to AP wireless link
^ ^ AP to client wireless link
Server1 and RB1 on wired n/w

  My configuration is like this:

 -Server 1 --|
                |
                |-----(RB1) =   =   (RB2)
                        ^                 ^
                        ^                 ^
                        ^                 ^
                      C1              C2


> On Tue, Apr 7, 2009 at 5:18 PM, Gargi Purohit <gaargie@gmail.com> wrote:
>> Hi
>>
>> I have configured a Layer 2 mesh (Using batman kernel module) on
>> Routerboard 433.  These are boards equipped with 2 interfaces.  I have
>> configured/created a virtual interface on every physical interface.
>> So for E.g. my routerboard 1 (RB1) has ath0 (Phy interface - Adhoc
>> mode), ath1 (Virtual interface - Master mode), ath2 (Phy interface -
>> Adhoc mode) and ath3 (Virtual interface in Master mode).
>>
>> My set up has 2 routerboards - one is wired and the other is wireless.
>> Thus RB1 has (ath0, ath1, ath2, ath3 and eth0)
>> RB2 has (ath0, ath1, ath2, ath3)
>>
>> The proc is as follows on both RB1 and RB2
>>
>> root@open-mesh:~# cat /proc/net/batman-adv/interfaces
>> ath0 ath2
>>
>> I have created a bridge between all interfaces.
>> The bridge config on RB1 is:
>>
>> root@open-mesh:~# brctl show
>> bridge name     bridge id               STP enabled     interfaces
>> br0             8000.000c422fbfe4       no                  eth0
>>                                                                         ath1
>>                                                                         ath3
>>                                                                         bat0
>>
>>
>> The bridge config on RB2 is:
>> root@open-mesh:~# brctl show
>> bridge name     bridge id               STP enabled     interfaces
>> br0             8000.00ff8fffdcc7       no                     bat0
>>                                                                         ath1
>>                                                                         ath3
>>
>>
>> I can connect clients to each of these RB and they can get Internet access.
>>
>> My configuration is like this:
>>
>> -------------------Server 1 -------------|
>>                                             |
>>                                             |-------------Wired AP
>> (RB1)   =   =   =   =   =   =   = Wireless AP (RB2)
>>                                             |
>> ^                                                               ^
>>                                             |
>> ^                                                               ^
>>                                             |
>> ^                                                               ^
>>                                             |
>> C1 (Client of RB1)                                      C2 (Client of
>> RB2)
>>
>>
>> The APs RB1 and RB2 are connected to each other over 2 mesh wireless
>> links on different channels (ath0 and ath2)
>>
>> I am trying to ssh to Server 1 from all these nodes.  I can ssh to
>> Server 1 from anyone but RB2 (RB1, C1, C2 can ssh Server 1 but RB2
>> cannot).
>>
>> Likewise I can ssh all nodes from each other.  E.g from anywhere on
>> LAN I can ssh to each of these nodes.  But RB2 can be sshed only from
>> nodes directly connected (eg. RB1 and C2).
>>
>> Note however i can ping Server 1 from RB2.
>>
>> Am not sure where I am going wrong?
>>
>> Regards
>>
>> Gargi
>>
>

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

* Re: [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
  2009-04-07 22:25   ` Gargi Purohit
@ 2009-04-14 16:09     ` Simon Wunderlich
  2009-04-15 13:00       ` Gargi Purohit
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Wunderlich @ 2009-04-14 16:09 UTC (permalink / raw
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

Hey Gargi,

i've read your setup as you described it, and as far as i understood
it is supposed to work. I've already built up similar setups
without problems and don't see what your problem is here.

Maybe you can provide some more information, e.g. your startup script,
to get a clue here?

kind regards,
        Simon

On Tue, Apr 07, 2009 at 05:25:08PM -0500, Gargi Purohit wrote:
> Sorry was not clear in the configuration
> 
> = = AP to AP wireless link
> ^ ^ AP to client wireless link
> Server1 and RB1 on wired n/w
> 
>   My configuration is like this:
> 
>  -Server 1 --|
>                 |
>                 |-----(RB1) =   =   (RB2)
>                         ^                 ^
>                         ^                 ^
>                         ^                 ^
>                       C1              C2
> 
> 
> > On Tue, Apr 7, 2009 at 5:18 PM, Gargi Purohit <gaargie@gmail.com> wrote:
> >> Hi
> >>
> >> I have configured a Layer 2 mesh (Using batman kernel module) on
> >> Routerboard 433.  These are boards equipped with 2 interfaces.  I have
> >> configured/created a virtual interface on every physical interface.
> >> So for E.g. my routerboard 1 (RB1) has ath0 (Phy interface - Adhoc
> >> mode), ath1 (Virtual interface - Master mode), ath2 (Phy interface -
> >> Adhoc mode) and ath3 (Virtual interface in Master mode).
> >>
> >> My set up has 2 routerboards - one is wired and the other is wireless.
> >> Thus RB1 has (ath0, ath1, ath2, ath3 and eth0)
> >> RB2 has (ath0, ath1, ath2, ath3)
> >>
> >> The proc is as follows on both RB1 and RB2
> >>
> >> root@open-mesh:~# cat /proc/net/batman-adv/interfaces
> >> ath0 ath2
> >>
> >> I have created a bridge between all interfaces.
> >> The bridge config on RB1 is:
> >>
> >> root@open-mesh:~# brctl show
> >> bridge name     bridge id               STP enabled     interfaces
> >> br0             8000.000c422fbfe4       no                  eth0
> >>                                                                         ath1
> >>                                                                         ath3
> >>                                                                         bat0
> >>
> >>
> >> The bridge config on RB2 is:
> >> root@open-mesh:~# brctl show
> >> bridge name     bridge id               STP enabled     interfaces
> >> br0             8000.00ff8fffdcc7       no                     bat0
> >>                                                                         ath1
> >>                                                                         ath3
> >>
> >>
> >> I can connect clients to each of these RB and they can get Internet access.
> >>
> >> My configuration is like this:
> >>
> >> -------------------Server 1 -------------|
> >>                                             |
> >>                                             |-------------Wired AP
> >> (RB1)   =   =   =   =   =   =   = Wireless AP (RB2)
> >>                                             |
> >> ^                                                               ^
> >>                                             |
> >> ^                                                               ^
> >>                                             |
> >> ^                                                               ^
> >>                                             |
> >> C1 (Client of RB1)                                      C2 (Client of
> >> RB2)
> >>
> >>
> >> The APs RB1 and RB2 are connected to each other over 2 mesh wireless
> >> links on different channels (ath0 and ath2)
> >>
> >> I am trying to ssh to Server 1 from all these nodes.  I can ssh to
> >> Server 1 from anyone but RB2 (RB1, C1, C2 can ssh Server 1 but RB2
> >> cannot).
> >>
> >> Likewise I can ssh all nodes from each other.  E.g from anywhere on
> >> LAN I can ssh to each of these nodes.  But RB2 can be sshed only from
> >> nodes directly connected (eg. RB1 and C2).
> >>
> >> Note however i can ping Server 1 from RB2.
> >>
> >> Am not sure where I am going wrong?
> >>
> >> Regards
> >>
> >> Gargi
> >>
> >
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
  2009-04-14 16:09     ` Simon Wunderlich
@ 2009-04-15 13:00       ` Gargi Purohit
  2009-04-17  3:08         ` Marek Lindner
  0 siblings, 1 reply; 6+ messages in thread
From: Gargi Purohit @ 2009-04-15 13:00 UTC (permalink / raw
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hey Thanks Simon,

Apparently the kamikaze distribution was screwed up.  After hours of
debugging I thought of changing the distro last night, and voila it
worked fine.

Perhaps they did not have the perfect networking subsystem in the
trunk of kamikaze.

Thanks for looking into it though.

On Tue, Apr 14, 2009 at 11:09 AM, Simon Wunderlich
<simon.wunderlich@s2003.tu-chemnitz.de> wrote:
> Hey Gargi,
>
> i've read your setup as you described it, and as far as i understood
> it is supposed to work. I've already built up similar setups
> without problems and don't see what your problem is here.
>
> Maybe you can provide some more information, e.g. your startup script,
> to get a clue here?
>
> kind regards,
>        Simon
>
> On Tue, Apr 07, 2009 at 05:25:08PM -0500, Gargi Purohit wrote:
>> Sorry was not clear in the configuration
>>
>> = = AP to AP wireless link
>> ^ ^ AP to client wireless link
>> Server1 and RB1 on wired n/w
>>
>>   My configuration is like this:
>>
>>  -Server 1 --|
>>                 |
>>                 |-----(RB1) =   =   (RB2)
>>                         ^                 ^
>>                         ^                 ^
>>                         ^                 ^
>>                       C1              C2
>>
>>
>> > On Tue, Apr 7, 2009 at 5:18 PM, Gargi Purohit <gaargie@gmail.com> wrote:
>> >> Hi
>> >>
>> >> I have configured a Layer 2 mesh (Using batman kernel module) on
>> >> Routerboard 433.  These are boards equipped with 2 interfaces.  I have
>> >> configured/created a virtual interface on every physical interface.
>> >> So for E.g. my routerboard 1 (RB1) has ath0 (Phy interface - Adhoc
>> >> mode), ath1 (Virtual interface - Master mode), ath2 (Phy interface -
>> >> Adhoc mode) and ath3 (Virtual interface in Master mode).
>> >>
>> >> My set up has 2 routerboards - one is wired and the other is wireless.
>> >> Thus RB1 has (ath0, ath1, ath2, ath3 and eth0)
>> >> RB2 has (ath0, ath1, ath2, ath3)
>> >>
>> >> The proc is as follows on both RB1 and RB2
>> >>
>> >> root@open-mesh:~# cat /proc/net/batman-adv/interfaces
>> >> ath0 ath2
>> >>
>> >> I have created a bridge between all interfaces.
>> >> The bridge config on RB1 is:
>> >>
>> >> root@open-mesh:~# brctl show
>> >> bridge name     bridge id               STP enabled     interfaces
>> >> br0             8000.000c422fbfe4       no                  eth0
>> >>                                                                         ath1
>> >>                                                                         ath3
>> >>                                                                         bat0
>> >>
>> >>
>> >> The bridge config on RB2 is:
>> >> root@open-mesh:~# brctl show
>> >> bridge name     bridge id               STP enabled     interfaces
>> >> br0             8000.00ff8fffdcc7       no                     bat0
>> >>                                                                         ath1
>> >>                                                                         ath3
>> >>
>> >>
>> >> I can connect clients to each of these RB and they can get Internet access.
>> >>
>> >> My configuration is like this:
>> >>
>> >> -------------------Server 1 -------------|
>> >>                                             |
>> >>                                             |-------------Wired AP
>> >> (RB1)   =   =   =   =   =   =   = Wireless AP (RB2)
>> >>                                             |
>> >> ^                                                               ^
>> >>                                             |
>> >> ^                                                               ^
>> >>                                             |
>> >> ^                                                               ^
>> >>                                             |
>> >> C1 (Client of RB1)                                      C2 (Client of
>> >> RB2)
>> >>
>> >>
>> >> The APs RB1 and RB2 are connected to each other over 2 mesh wireless
>> >> links on different channels (ath0 and ath2)
>> >>
>> >> I am trying to ssh to Server 1 from all these nodes.  I can ssh to
>> >> Server 1 from anyone but RB2 (RB1, C1, C2 can ssh Server 1 but RB2
>> >> cannot).
>> >>
>> >> Likewise I can ssh all nodes from each other.  E.g from anywhere on
>> >> LAN I can ssh to each of these nodes.  But RB2 can be sshed only from
>> >> nodes directly connected (eg. RB1 and C2).
>> >>
>> >> Note however i can ping Server 1 from RB2.
>> >>
>> >> Am not sure where I am going wrong?
>> >>
>> >> Regards
>> >>
>> >> Gargi
>> >>
>> >
>> _______________________________________________
>> B.A.T.M.A.N mailing list
>> B.A.T.M.A.N@open-mesh.net
>> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknktUQACgkQrzg/fFk7axYNcQCgtVaUb2iudTRj/C6/Eu3d/7Zf
> qosAn25pa3FNULQ7+lfU2HAHF7vy53+X
> =Y8vF
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>

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

* Re: [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
  2009-04-15 13:00       ` Gargi Purohit
@ 2009-04-17  3:08         ` Marek Lindner
  2009-04-21  3:15           ` Gargi Purohit
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Lindner @ 2009-04-17  3:08 UTC (permalink / raw
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> Apparently the kamikaze distribution was screwed up.  After hours of
> debugging I thought of changing the distro last night, and voila it
> worked fine.
>
> Perhaps they did not have the perfect networking subsystem in the
> trunk of kamikaze.

what version were you using before and what are you using now ? If there is a 
problem somewhere it has a chance of coming back at some point. :)

Regards,
Marek


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

* Re: [B.A.T.M.A.N.] Trouble with SSH in L2 batman network
  2009-04-17  3:08         ` Marek Lindner
@ 2009-04-21  3:15           ` Gargi Purohit
  0 siblings, 0 replies; 6+ messages in thread
From: Gargi Purohit @ 2009-04-21  3:15 UTC (permalink / raw
  To: The list for a Better Approach To Mobile Ad-hoc Networking

I am using  r1522 2.6.26.5 kernel version and it is good.  Earlier I
was using r1590 2.6.28.9 kamikaze version (this was faulty).



On Thu, Apr 16, 2009 at 10:08 PM, Marek Lindner <lindner_marek@yahoo.de> wrote:
>
> Hi,
>
>> Apparently the kamikaze distribution was screwed up.  After hours of
>> debugging I thought of changing the distro last night, and voila it
>> worked fine.
>>
>> Perhaps they did not have the perfect networking subsystem in the
>> trunk of kamikaze.
>
> what version were you using before and what are you using now ? If there is a
> problem somewhere it has a chance of coming back at some point. :)
>
> Regards,
> Marek
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>

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

end of thread, other threads:[~2009-04-21  3:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 22:18 [B.A.T.M.A.N.] Trouble with SSH in L2 batman network Gargi Purohit
     [not found] ` <238a15490904071523v2a1e193bwcf624fe33108efb4@mail.gmail.com>
2009-04-07 22:25   ` Gargi Purohit
2009-04-14 16:09     ` Simon Wunderlich
2009-04-15 13:00       ` Gargi Purohit
2009-04-17  3:08         ` Marek Lindner
2009-04-21  3:15           ` Gargi Purohit

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.