Fwd: Add Bootsrap hints with a different LAN adress than ours

8 views
Skip to first unread message

Oliver Waldhorst

unread,
Mar 12, 2012, 12:10:07 PM3/12/12
to spo...@googlegroups.com, julien.d...@gmail.com
---------- Forwarded message ----------
From: <julien.d...@gmail.com>
Date: 2012/3/12
Subject: Add Bootsrap hints with a different LAN adress than ours
To: wald...@tm.uka.de

You are receiving this mail because Dumont Julien
julien.d...@gmail.com
is sending feedback about the site administered by you at http://www.spovnet.de.
The message sent was:

Hi dear spoVnet team, I am working with your library spoVnet,
firstofall, it works ver well. Nevertheless, the very low numver of
tutorials and documentations make the work very hard in some ways to
go. Let me explain my current issue : Imagine that my LAN IP is
192.168.0.105 (in fact, it is), so I can create a spoVnet easily by
creating an AribaModule and set the bootsrap hints to "broadcast".
Now, imagine that I need to create a spoVnet on my rooter
(192.168.0.1) from my current pc. If I set the bootsrap hints to
{ip{192.168.0.1}}, so, two pc cannot establish a relation and they do
not see each other as neighors. Can you help me, Thanks in advance,
Bye


--
Site Administrator

omn...@mario.n-ten.de

unread,
Mar 13, 2012, 6:42:29 AM3/13/12
to SpoVNet
Hello Julien,

thanks for your interest in SpoVNet.

> ---------- Forwarded message ----------
> From:  <julien.dumont...@gmail.com>
> Date: 2012/3/12
> Subject: Add Bootsrap hints with a different LAN adress than ours

> Hi dear spoVnet team, I am working with your library spoVnet,
> firstofall, it works ver well. Nevertheless, the very low numver of
> tutorials and documentations make the work very hard in some ways to

There has been a programming contest, creating software that uses the
SpoVNet libraries. At least the codes of the three winning teams are
still available as open source. Probably these projects could serve
you as examples. Have a look at: http://www.spovnet.de/contest

> go. Let me explain my current issue : Imagine that my LAN IP is
> 192.168.0.105 (in fact, it is), so I can create a spoVnet easily by
> creating an AribaModule and set the bootsrap hints to "broadcast".
> Now, imagine that I need to create a spoVnet on my rooter
> (192.168.0.1) from my current pc. If I set the bootsrap hints to
> {ip{192.168.0.1}}, so, two pc cannot establish a relation and they do
> not see each other as neighors. Can you help me, Thanks in advance,

The Ariba library creates an overlay network between all connected
nodes. Let's say you have three computers: 192.168.0.105,
192.168.0.106, 192.168.0.107. In this case using the "broadcast"
bootstrapping module would connect all three computers in one overlay
network.

Let's make things more interesting. Now we're using the "ip" bootstrap
module. For example 192.168.0.105 has no bootstrap hint at all,
192.168.0.106 has {ip{192.168.0.105}} and 192.168.0.107 has
{ip{192.168.0.106}} as bootstrap hints. If you're starting your
application at first on 192.168.0.105, then on 192.168.0.106 and
finally on 192.168.0.107, then all three computers are also in the
same overlay. Then all three computers can communicate with each
other. You can even reach 192.168.0.107 from 192.168.0.105, for
instance. (Note that the node you're bootstrapping to must be already
running the moment you start your application.)

You can also combine bootstrap modules. If you're starting
192.168.0.105 again with no bootstrap hint, then 192.168.0.106 with
{ip{192.168.0.105}; broadcast} and finally 192.168.0.107 only with
{broadcast}, then, again all three computers are connected in the same
overlay.

A common case is, when you're having a server in the Internet, that is
always running your application; then you can use {ip{your server's ip
address}; broadcast} on the "normal" computers as bootstrap hints. In
this case, the computers in the different LANs and the server are all
connected in the same overlay and can all communicate with each other.
This approach is also used in the SpoVNet contest project "omnibus-
filetransfer".

I hope this solves your question. Have fun developing with SpoVNet.

Best regards, Mario Hock


> Bye
>
> --
> Site Administrator
Reply all
Reply to author
Forward
0 new messages