mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-06-04 06:41:31 +00:00
974f4ac007317a2f3f2e1c01ac3ce57f6ddabfd3
masterproef_v2
This POC aims to create an IPv6 overlay network compeletly writting in Rust. The overlay network uses some of the core principles of the Babel routing protocol (https://www.irif.fr/~jch/software/babel/). Each node that joins the overlay network will receive an overlay network IP in the 200::/7 range.
Installation
git clone git@github.com:vanheesmaxime/masterproef_v2.git
# in case of an exisiting route to 200::/7, it should be deleted in order to run the application
ip r del 200::/7
Usage example
In this example setup we create a small overlay network on 5 different virtual machines that looks like this:
+----------+ +----------+ +--------+
| node 1 |--------| node 2 |--------| node 3 |
+----------+ +----------+ +--------+
| |
| +--------+ +-------+ |
+---| node 4 |--------| node 5|-----+
+--------+ +-------+
To create this setup, run the following commands:
# node 1
cargo run
# node 2
cargo run -- -p <IP address node 1>
# node 3
cargo run -- -p <IP address node 2>
# node 4
cargo run -- -p <IP address node 1>
# node 5
cargo run -- -p <IP address node 4> -p <IP address node 3>
Description
Languages
Rust
90.7%
Shell
8.1%
Makefile
0.7%
Nix
0.4%