You are on page 1of 20

GETTING UBUNTU-MININET-OPENDAYLIGHT TO

WORK
( By Sunil, email : sunildev40@gmail.com )
Prerequisites :
(1) You
(2) You
(3) You
(4) You

need
need
need
need

to download VM player.
the Ubuntu 14.04 + mininet VM image downloaded.
the opendaylight controller at /home.
to have basic knowledge of ubuntu virtual machine and usage.

Step 1 : Download ubuntu image with mininet and play it using VM Player.

Step 2 : virtual image play in progress.

Step 3 : Ubuntu asks you to login.

Step 4 : login as super user (root). You are on tty1.

Step 5 : Issue the following command at the # prompt.


# sudo apt-get ubuntu-desktop
This can take a while to complete.
Issue command
# sudo apt-get chromium-browser
to download chromium browser.

Step 6 : give command cd /home/opendaylight and this what you will see.

Step 7 : Issue ./run.sh at the command prompt.

Step 8 : The screen you will see when ./run.sh is issued.( This is to run the ODL
controller ).

Step 9 : When you get this as the last screen, it means that your ODL controller is
running successfully.

Step 10 : Press CTRL-ALT-F2 to go to tty2. You should get the screen below. Login
as root ( super user ).

Step 11 : Issue cd /home/mininet and you should get the screen below.

Step 12 : Issuing mn c at the mininet prompt should get you this screen.

Step 13 : Issue the command shown after the mininet prompt.

Step 14 : Issue pingall at the mininet prompt and you should get the screen below.

Step 15 : Press CTRL-ALT-F3 and you will go to tty3. Login as root to get the screen
below.

Step 16 : Issue command xinit as shown.

Step 17 : You will get the following screen after xinit comand is issued.

Step 18 : Issue the command shown to invoke chromium browser.

Step 19 : After the browser is up and running, type in URL

localhost:8080
and the opendaylight screen shown below should appear.

Step 20 : Enter login and password as admin. You should see the network you
created through mininet
appear graphically on the ODL controller screen
as shown below.

You might also like