public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.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.] Problems connecting VPN and WLAN with Batman-adv
Date: Sat, 3 Apr 2010 12:54:02 +0800	[thread overview]
Message-ID: <201004031254.02506.lindner_marek@yahoo.de> (raw)
In-Reply-To: <4BB61A71.9070702@nord-west.org>

On Saturday 03 April 2010 00:25:21 Bjoern Franke wrote:
> Which ways are you thinking of?
> 
> Our initial problem is:
> - several node-clouds, connected via openvpn
> - these nodes also use the vpn as a gateway in the world wide web
> - the gateway also monitores the nodes, so it must be able to access the
> nodes, but it runs in openvz VE, so the kernelland-module is not usable

Ok, since your setup is rather small I would suggest going with the easiest 
solution possible. I'm always a big fan of making little steps that work well 
instead of aiming for the big goal which you never reach because you die in 
the process of getting there.

In a classical batman-adv setup the router(s) with the internet connection run 
a DHCP server and provide IPs/default route/etc for all the nodes & wifi-
clients in range. 

To connect the VPNs I see 2 feasible approaches:
* You run batman-adv over the VPN which will bring some overhead since the 
routing messages will be relayed over the VPN. Depending on the number of 
nodes this may or may not be an issue. To keep things simple all nodes run in 
the same IP address space.
* Alternatively you can route over the VPN network. The tap0 interface would 
not be added to batman-adv. Instead each VPN endpoint needs routing entries 
(over tap0) to the other clouds which you can propagate by pushing the routes 
from the openvpn server. Each cloud should have its own IP address space.

Regards,
Marek

  reply	other threads:[~2010-04-03  4:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 22:54 [B.A.T.M.A.N.] Problems connecting VPN and WLAN with Batman-adv Clemens John
2010-04-02  6:52 ` Linus Lüssing
2010-04-02 10:17   ` Clemens John
2010-04-02 11:50     ` Linus Lüssing
2010-04-02 12:27       ` Clemens John
2010-04-02 16:00 ` Marek Lindner
2010-04-02 16:25   ` Bjoern Franke
2010-04-03  4:54     ` Marek Lindner [this message]
2010-04-04 15:41       ` Clemens John
2010-04-04 15:54         ` Marek Lindner

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=201004031254.02506.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.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