NOX OpenFlow Controller Install on Ubuntu 12.04

NOX OpenFlow Controller Install on Ubuntu 12.04

Screencast w/o audio. I think it’s quick and self explanatory.

This is an install for the newer NOX release on Ubuntu 12.04. I believe the branch name is ‘verity’. It was just upped a couple weeks ago to Github with the new repo linked from It isn’t fully released but the site said Q1 2012, at the least, it will be a base to work from on 12.04. Classic doesn’t seem to build without downgrading everything on Precise. The Nox “classic” build seems to have been dormant or not maintained for a while from what I can tell. It is important to have readily available Nox controllers since most of the projects are built on that controller. That said I like Floodlight a lot and the community is active with BidSwitch behind it. Nox has an amazing backing from Nicira so that is critical also.

RouteFlow has support for Nox now which is a project I am going to be in the lab on pretty heavy over the next few days to try and nail down a good native IGP -> SDN FIB exchange. It feels like a route server approach on QUAGGA which is pretty neat. I am assuming it is similar to what I expect Google did in their deployment. There is a NANOG presentation that Scott Whyte described his MPLS LSR which was QUAGGA w/LDP support.

If we think about it, the OpenFlow classification of a stitched route through and OF network is not far off from a LSP FEC stitching through a label swapped domain. Instead of swapping labels it is injecting JSON mappings through a REST API and orchestrated from the ingress controller just like an LSR would define the FEC on entry. Ok rambling, but fascinating stuff.

Setup Nox repo for ‘nox-dependencies’ package
$ cd /etc/apt/sources.list.d/
$ wget
$ apt-get update
$ apt-get install nox-dependencies

Install dependencies:
$ apt-get install nox-dependencies
$ apt-get install libtbb-dev
$ apt-get install libboost-serialization-dev libboost-all-dev
$ git clone git://

$ ./
$cd nox
$ mkdir build
$ cd build

Configure, make && make install
$ ../configure
$ make
$ make install

Verify install:
$ cd src
$ pwd
/home/brent/nox/build/src (Path)
$ make check
$ ./nox_core -v
$ ./nox_core -h
$ ./nox_core -i ptcp:6633
./nox_core -i ptcp:6633 routing or add a routing module

1 year 10 months ago

I am installing nox on ubuntu 12.04.
After firing this command “$ wget” ,
Outcome is ” Connecting to (||:80… failed: Connection timed out.
Retrying. ”

What is d sol?

Wali Usmani
1 year 10 months ago

Hey I ran into the exact same problem Kevser had. Can anyone help me please! I dont know what I should be doing! It just keeps disconnecting. The controller also seems to be running fine!

2 years 1 month ago

Cool, thanks for posting Vijay.


2 years 1 month ago

Here is the solution to the build problem…

2 years 6 months ago

after I installing Ubuntu 12.05LTS with VM workstation….
i begin to do —>
luoweichao@ubuntu:~$ sudo passwd root
Enter new UNIX

Retype new UNIX password:
passwd: password

updated successfully
luoweichao@ubuntu:~$ su root

root@ubuntu:/home/luoweichao# (running good)

root ubuntu system….

root@ubuntu:/home/luoweichao# apt-get install openswitch-datapath-source
after that :in the root mode…we do…..

1, check ssh service , $sudo apt-get -y install ssh

2, install from Stanford Git repository:
sudo apt-get install git-core

automake m4 pkg-config libtool
git clone

cd openflow./

(running good)

fix BUG—> /var/lib/dpkg/lock problem

sudo rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock
(running good)

Nox openflow controller

$cd /etc/apt/sources.list.d
$sudo wget

so …at here i got fall it said “N: Ignoring file ‘nox.list.1’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?”

Luo weichao
2 years 6 months ago

hi ,i am a new fresh man in the Nox openflow, so i have some questions…. 1, what is the relation between openflow and Nox openflow??? 2, i want to install Nox openflow in Ubuntu 12.04LTS but it is fall…and many kinds of errors happened in my terminal…..i am keep on looking at your blog..

2 years 8 months ago

Hi Sunayana, I was installing OMNI, well or at least attempting to to get a better understanding of the GENI aggregate manager interacts with OpenFlow since there is zero architectural documentation. I probably have to revisit it this week for work, if I do I will certainly post the finding.


2 years 8 months ago

Hi brent..
u were installing nox-gta (OMNI) project it seems…any success
I am also facing the same issue, if you have solved please let me know..