public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] My proposed network - is it ok?
@ 2008-11-20  0:13 Derek C
  2008-11-20  0:51 ` Derek C
  0 siblings, 1 reply; 6+ messages in thread
From: Derek C @ 2008-11-20  0:13 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi all,

I'm getting ready to install a BATMAN based MESH node (10dBM omni) in a
housing estate connected via a 2KM transparent bridge 5Ghz wireless link
to the data centre.

Is it OK to have my base station(s) MESH openwrt boards have BATMAN
running on two interfaces?  the Ethernet NIC (to bridge) - & WIFI omni.

The reason I'm asking is that I'd like the base station(s) to find their
last hop to be the datacentre server (running BATMAN).

I want to keep the Internet NATing in one place (datacentre gateway
server) - this would ensure I'd have no problem with flapping routes once
I have multiple base stations up.

Does this sound ok to you?  Its the BATMAN on two interfaces thing I'm
concerned about - will it work I wonder?

thanks for any info

Derek




I was hoping on setting up a


-- 
Derek C


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

* Re: [B.A.T.M.A.N.] My proposed network - is it ok?
  2008-11-20  0:13 [B.A.T.M.A.N.] My proposed network - is it ok? Derek C
@ 2008-11-20  0:51 ` Derek C
  2008-11-20  3:48   ` Marek Lindner
  0 siblings, 1 reply; 6+ messages in thread
From: Derek C @ 2008-11-20  0:51 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking

Hi again,

I've been trying to test this idea a bit but I'm a bit concerned - does
BATMAN only work with AdHoc wireless NICs?

I have a server with an Ethernet NIC with an IP 5.0.0.1/8.  I've got a
transparent AP bridge with an IP of 5.1.0.1/8 and normally I can ping it
from my server.

But when I enable BATMAN on the ethernet NIC I can no longer ping 5.1.0.1 -

Maybe this is due to an IP2 rule/route?  I can see that this is due to a
IP2 rule "from all to 5.0.0.0/8 lookup 67" and routes for table 67 is
"unreachable default proto static"

So I'm wondering if it's possible to have part of the network as Ethernet
rather than AdHoc wirless? (in my case with a transparent wireless bridge
in the "middle" of the ethernet but that doesn't matter)

thanks for any info

Derek

On Thu, November 20, 2008 12:13 am, Derek C wrote:
> Hi all,
>
>
> I'm getting ready to install a BATMAN based MESH node (10dBM omni) in a
> housing estate connected via a 2KM transparent bridge 5Ghz wireless link to
> the data centre.
>
> Is it OK to have my base station(s) MESH openwrt boards have BATMAN
> running on two interfaces?  the Ethernet NIC (to bridge) - & WIFI omni.
>
> The reason I'm asking is that I'd like the base station(s) to find their
> last hop to be the datacentre server (running BATMAN).
>
> I want to keep the Internet NATing in one place (datacentre gateway
> server) - this would ensure I'd have no problem with flapping routes once I
> have multiple base stations up.
>
> Does this sound ok to you?  Its the BATMAN on two interfaces thing I'm
> concerned about - will it work I wonder?
>
> thanks for any info
>
> Derek
>
>
>
>
>
> I was hoping on setting up a
>
>
>
> --
> Derek C
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>


-- 
Derek C


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

* Re: [B.A.T.M.A.N.] My proposed network - is it ok?
  2008-11-20  0:51 ` Derek C
@ 2008-11-20  3:48   ` Marek Lindner
  2008-11-20  9:27     ` Derek C
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Lindner @ 2008-11-20  3:48 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> I've been trying to test this idea a bit but I'm a bit concerned - does
> BATMAN only work with AdHoc wireless NICs?

no - its does not care about the lower layers. It will run on ad-hoc, managed, 
ethernet, etc ...
Batman also runs on multiple interfaces. Simply supply several interfaces on 
the command line: batmand if1 if2 if3


> I have a server with an Ethernet NIC with an IP 5.0.0.1/8.  I've got a
> transparent AP bridge with an IP of 5.1.0.1/8 and normally I can ping it
> from my server.
>
> Maybe this is due to an IP2 rule/route?  I can see that this is due to a
> IP2 rule "from all to 5.0.0.0/8 lookup 67" and routes for table 67 is
> "unreachable default proto static"

Yes, the unreachable route may be the reason for that. Batman assumes that 
everything within its own IP range (5.0.0.1/8) should have a routing entry or 
the route does not exist. It lets you detect faster whether a node is down or 
not. 
Depending on your setup it may make sense to not have a route. Does the AP 
bridge (5.1.0.1/8) have a route back to your server ? If you want to integrate 
batmans routing decision into your fancy setup have a look here:
https://dev.open-mesh.net/batman/wiki/RoutingVodoo


Marek


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

* Re: [B.A.T.M.A.N.] My proposed network - is it ok?
  2008-11-20  3:48   ` Marek Lindner
@ 2008-11-20  9:27     ` Derek C
  2008-11-20 10:19       ` Marek Lindner
  0 siblings, 1 reply; 6+ messages in thread
From: Derek C @ 2008-11-20  9:27 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking

Hi Marek,

Overall that's great news (that I can route BATMAN over ethernet as well
as wireless) - it means that if routes flap from gateway to gateway for
whatever reason people will not drop connections as I'll keep the NAT at
the Internet source (I can do it because I only have one Internet source).

I've just been trying out a "lazy" option for my internal AP bridge
routing (just to that I can check they are alive and work on them, etc): -
I've setup a NIC alias on another private subnet - BATMAN seems quite
happy that an alias is there and doesn't affect its routing - so this
looks like a good option right now!

thanks very much for the good news

Derek


On Thu, November 20, 2008 3:48 am, Marek Lindner wrote:
>

> Hi,
>
>
>> I've been trying to test this idea a bit but I'm a bit concerned - does
>>  BATMAN only work with AdHoc wireless NICs?
>>
>
> no - its does not care about the lower layers. It will run on ad-hoc,
> managed, ethernet, etc ... Batman also runs on multiple interfaces. Simply
> supply several interfaces on the command line: batmand if1 if2 if3
>
>
>> I have a server with an Ethernet NIC with an IP 5.0.0.1/8.  I've got a
>> transparent AP bridge with an IP of 5.1.0.1/8 and normally I can ping it
>>  from my server.
>>
>> Maybe this is due to an IP2 rule/route?  I can see that this is due to
>> a IP2 rule "from all to 5.0.0.0/8 lookup 67" and routes for table 67 is
>> "unreachable default proto static"
>>
>
> Yes, the unreachable route may be the reason for that. Batman assumes
> that everything within its own IP range (5.0.0.1/8) should have a routing
> entry or the route does not exist. It lets you detect faster whether a
> node is down or not. Depending on your setup it may make sense to not have
> a route. Does the AP bridge (5.1.0.1/8) have a route back to your server ?
> If you want to integrate
> batmans routing decision into your fancy setup have a look here:
> https://dev.open-mesh.net/batman/wiki/RoutingVodoo
>
>
>
> Marek
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>


-- 
Derek C


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

* Re: [B.A.T.M.A.N.] My proposed network - is it ok?
  2008-11-20  9:27     ` Derek C
@ 2008-11-20 10:19       ` Marek Lindner
  2008-11-20 11:06         ` Derek C
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Lindner @ 2008-11-20 10:19 UTC (permalink / raw)
  To: b.a.t.m.a.n

On Thursday 20 November 2008 17:27:07 Derek C wrote:
> Overall that's great news (that I can route BATMAN over ethernet as well
> as wireless) - it means that if routes flap from gateway to gateway for
> whatever reason people will not drop connections as I'll keep the NAT at
> the Internet source (I can do it because I only have one Internet source).

Glad that you found your way through. I'm not so sure what route flapping you 
are talking about. Batman itself will keep an eye on the default route to 
ensure it does not change too often.

Regards,
Marek


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

* Re: [B.A.T.M.A.N.] My proposed network - is it ok?
  2008-11-20 10:19       ` Marek Lindner
@ 2008-11-20 11:06         ` Derek C
  0 siblings, 0 replies; 6+ messages in thread
From: Derek C @ 2008-11-20 11:06 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking; +Cc: b.a.t.m.a.n

Hi Marek,

Yes - I did read about the default route remaining fixing somehow - I
suppose I didn't quite believe it!

I thought that the idea of keeping the network internal all the way to the
single point where I hit the Internet was the best idea.  I just have to
make sure I build multiple backbone links for resilience - I've got one
link up and I'll get another one up in the next two weeks and hopefully
thats a good start.

Derek


On Thu, November 20, 2008 10:19 am, Marek Lindner wrote:
> On Thursday 20 November 2008 17:27:07 Derek C wrote:
>
>> Overall that's great news (that I can route BATMAN over ethernet as
>> well as wireless) - it means that if routes flap from gateway to gateway
>> for whatever reason people will not drop connections as I'll keep the
>> NAT at
>> the Internet source (I can do it because I only have one Internet
>> source).
>
> Glad that you found your way through. I'm not so sure what route flapping
> you are talking about. Batman itself will keep an eye on the default route
> to ensure it does not change too often.
>
> Regards,
> Marek
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>


-- 
Derek C


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

end of thread, other threads:[~2008-11-20 11:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20  0:13 [B.A.T.M.A.N.] My proposed network - is it ok? Derek C
2008-11-20  0:51 ` Derek C
2008-11-20  3:48   ` Marek Lindner
2008-11-20  9:27     ` Derek C
2008-11-20 10:19       ` Marek Lindner
2008-11-20 11:06         ` Derek C

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