How to start OpenFlow datapath and controller?

Hello all,

In OpenFlow-based software-defined network, we need two modules called OpenFlow datapath and controller (e.g. NOX). More specifically, in a commuter (OpenFlow-enabled switch/router) we need to start two daemons called ofdatapath and ofprotocol. The former is the datapath functioning itself and the latter, is an auxiliary module that is used to connect ofdataptah to an OpenFlow controller. Look this example:


./nox_core -i ptcp:6633 switch


./ofdatapath -i eth0.1,eth0.2,eth0.3,eth0.4 -d 000000000001 --no-slicing punix:/var/run/sock
./ofprotocol unix:/var/run/sock tcp:

The parameter unix:/var/run/sock and tcp: of ofprotocol are used to create a local connection to ofdatapath and a remote connection to NOX controller. That’s all.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s