Environment Setup
The following instruction will guide you through how to setup the environment to use Mininet for the programming assignment on Ubuntu. We also provide an Amazon EC2 AMI image with everything set up for people would like to run the lab on EC2.
- sudo apt-get update
- sudo apt-get install -y git vim-nox python-setuptools flex bison
- cd ~
- git clone git://github.com/mininet/mininet
- cd mininet
- git checkout remotes/origin/class/cs244
- ./util/install.sh -fnv
- cd ~
- git clone http://github.com/noxrepo/pox
- git clone git://github.com/dound/ltprotocol.git
- cd ltprotocol
- sudo python setup.py install
-
checkout code git clone https://huangty@bitbucket.org/huangty/cs144_lab3.git cd cs144_lab3/ git checkout --track remotes/origin/standalone
-
install pox module cd cs144_lab3 ./config
-
create http server home directory mkdir ~/http_server2 mkdir ~/http_server1
mininet@mininet-vm:~/bgp$ ./connect.sh Connecting to R1 shell Trying ::1... Connected to localhost. Escape character is '^]'.
Hello, this is Quagga (version 0.99.22.4). Copyright 1996-2005 Kunihiro Ishiguro, et al.
User Access Verification
Password: (type password "en" (without quotes)) Now, type the "en" command to get to the admin shell: bgpd-R1> en Password: (type password "en" (without quotes)) bgpd-R1#