-
Download VM mininet image from http://mininet.org/download/
-
Run using e.g Oracle VM VirtualBox Manager
-
Login using login and password: default: mininet/mininet
-
Install gui
sudo apt-get update
sudo apt-get install xinit lxde
- Start gui
startx
- Install gui helpers
sudo apt-get install virtualbox-guest-dkms
Reboot the VM, log in and run startx, and you should be able to resize the VM console window and desktop.
- Update DNS
sudo echo 'nameserver 1.1.1.1' > /etc/resolv.conf
- Install git
sudo apt-get install git
- Download project
git clone https://github.com/Vallher/jows1.git
- Install google-chrome
sudo apt-get install google-chrome
- Run nat.py to have topology with internet over the all hosts in the system.
cd jows1
sudo su
python nat.py
- Run console for h1, h2 and s1 in mininet console.
xterm h1
xterm h2
xterm s1
- Run google chrome on h1 (we used no-sandbox mode to have camera)
google-chrome --no-sandbox
-
Run hangout call with friend
-
Run google chrome on h2 and run netflix. Using developer tools find netflix ip.
-
Use our script on s1.
sh ipLimit.sh limit <netflixIP>
- Netflix should be limited, hanghout call should work