TurnKey Linux Virtual Appliance Library

Marionnet Network Simulator

Marionnet: Marionnet is a virtual network laboratory: it allows users to define, configure and run complex computer networks without any need for physical setup. Only a single, possibly even non-networked GNU/Linux host machine is required to simulate a whole Ethernet network complete with computers, routers, hubs, switches, cables, and more. Support is also provided for integrating the virtual network with the physical host network. It seems like Marionnet would make an effective patch for the TKL Client. I've used the build notes/script below to install on top of Backtrack 5, which seems to make sense to me for training future network engineers.

Marionnet conf script for TKL

Marionnet:

#!/bin/bash -ex
#Script by Rik Goldman
# Set Hostname
HOSTNAME=marionnet
echo "$HOSTNAME" > /etc/hostname
sed -i "s|127.0.1.1 \(.*\)|127.0.1.1 $HOSTNAME|" /etc/hosts

# install Dependencies and Applications
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y \
    -o DPkg::Options::=--force-confdef \
    -o DPkg::Options::=--force-confold \
    install wireshark \
        zenmap \
        irssi \
	xrdp \
	pastebinit \
	chromium \
	aptitude \
	flex \
	libtool \
	bison \
	xterm \
	gawk \
	aptitude \
	graphviz \
	uml-utilities \
	libgtk2.0-dev \
	libglade2-dev \
	bridge-utils \
	uml-utilities \
	x11-xserver-utils \
	rlfe \
	tightvncserver \
	sudo \
        ocaml-native-compilers \
	ocaml-compiler-libs\
	camlp4\* \
	liblablgtk2-gnome-ocaml-dev \
	graphviz uml-utilities \
	bridge-utils \
	vde2 \
	gcc \
	xserver-xephyr \
	make \
	gettext \
	xterm \
	bzr \
	libvdeplug2
mkdir ~/tmp
cd ~/tmp
bzr get --verbose lp:ocamlbricks/0.90.x ocamlbricks
cd ~/tmp/ocamlbricks
make && make install

cd ~/tmp
bzr get --verbose lp:marionnet/0.90.x marionnet
cd ~/tmp/marionnet
make && make install

mkdir -p /usr/local/share/marionnet/
cd /usr/local/share/marionnet/
wget http://www.marionnet.org/download/snapshots/stuff/filesystems-most-recen...
tar xfv filesystems-most-recent.tar.bz2
rm -f filesystems-most-recent.tar.bz2

cd /usr/local/share/marionnet/
wget http://www.marionnet.org/download/snapshots/stuff/uml-kernel-binaries-mo...
tar xfv uml-kernel-binaries-most-recent.tar.bz2
rm -f uml-kernel-binaries-most-recent.tar.bz2

echo "chmod a+rw /dev/net/tun" >> /etc/rc.local
echo "/usr/local/sbin/marionnet-daemon.byte &> /dev/null &" >> /etc/rc.local


vs Gini

How does Marionnet look compared to Gini? Or are they not comparable?

GINI (GINI is not Internet) is a toolkit for creating virtual micro Internets for teaching and learning computer networks. It provides an easy to use graphical user interface (GUI) called gBuilder for creating network instances. Using gBuilder, the user can create small to moderate sized networks. Once the network is built, parameters such as subnet addresses are assigned by the user to different components of the network. gBuilder provides support by automatically computing routing tables and automatically assigning IP and MAC addresses.

Using the gBuilder interface, the user can start the network. The starting process creates virtual instancess of each network element and connects them as specified in the network. For example, User-Mode Linux instances are started for machines and custom user-level routing programs are started for routers. By default, all elements of a network run within the machine from where gBuilder was started. However, gBuilder provides facilities to run the elements on a remote server.


Jeremy's picture

Marionette looks very cool

GINI looks ok too. But without actually using them, first impressions from their websites Marionette looks like the gear! In other words: What Jeremiah said! :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)