Code Monkey home page Code Monkey logo

upmt's Introduction

UPMT

Universal Per-application Mobility management using Tunnels

SYNC local copy with GitHub Repository

cd /home/upmt/UPMT
git pull

BASIC CONFIGURATION

1 - Create at least two virtual machines importing the Ubuntu_12.04_UPMT.ova
1.1 - The VM has 3 eth interfaces used for UPMT and one eth interface used for connecting to the host
1.2 - The 3 eth interfaces used for UPMT are connected to three VirtualBox internal interface
1.3 - Run "ip a" to check which interface names have been assigned to the VM interface
1.4 in order to fix the interface name assignment: 
      open VirtualBox settings, networking properties (advanced)
      check the mac addresses of Adapter 1, Adapter 2, Adapter 3, Adapter 4
      sudo gedit /etc/udev/rules.d/70-persistent-net.rules
        associate Adapter 1 -> eth0, Adapter 2 -> eth1, Adapter 3 -> eth2, Adapter 4 -> eth3
        delete all other interfaces
2 - cd /home/upmt/UPMT
3 - Open the java/upmt/cfg/peer/peer.cfg with a text editor.
    gedit /home/upmt/UPMT/java/upmt/cfg/peer/peer.cfg
Edit the line:
rme_vepa = <VEPA IP address> (they have to be different between the peers, i.e. 10.0.0.1 and 10.0.0.3)
Edit the line:
rme_net = <interface:IP address/subnet>
The rme_net interface addresses of the peers must be in the same subnet.

BASIC CONFIGURATION EXAMPLE

On peer 1:
rme_vepa = 10.0.0.1
rme_net = eth0:192.168.0.1/24

On peer 2:
rme_vepa = 10.0.0.3
rme_net = eth0:192.168.0.3/24

BUILD AND START THE UPMT PEERS (in each VM)

cd /home/upmt/UPMT
make clean: to clean all binaries files in the repository
make: to compile all upmt system
sudo make install: to install upmt modules
./startRME: to start upmt peer

To see the kernel live log type 'tail -f /var/log/kern.log'.

Measurement are collected in /home/upmt/Desktop/keepAlive_measures.dat file, each row is composed as |timestamp,rtt,loss|.

In the netem/custom folder there is a variant of the netem tool used to add delay and packet loss, use the following commands in order to build and install

cd /home/upmt/UPMT/netem/custom
make
make install

In the netem/delay and netem/loss folder there are example scripts that perfom a dynamic changes of the delay and loss conditions.

APPENDIX

sudo password: upmt

The execution of the upmt solution changes the network configuration of the system. To reset the network configuration: sudo service network-manager restart

upmt's People

Contributors

stefanosalsano avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.