Skip to content

Getting started with DAQ

Francesco Anselmo edited this page Nov 24, 2018 · 18 revisions

In this tutorial you will download and install DAQ. You will then run the first test with virtual ethernet ports and subsequently move to testing a single device and multiple devices in parallel.

Pre-requisites

The pre-requisites for this tutorial are a Debian based Linux distribution (Debian GNU/Linux 9.4 Stretch is the recommended one) and the git tool, that on Debian can be installed with the following command.

sudo apt install git

Installation

The first step to install DAQ is to download its source code from the DAQ github repository:

git clone https://github.com/faucetsdn/daq.git

Once the software is downloaded, the installation is executed with the following commands.

sudo bin/setup_base

The setup_base command installs a minimum set of basic packages, including docker and Open vSwitch,

sudo bin/setup_dev

The setup_dev command installs the development environment dependencies, including python3, various network tools, a Java development kit and specific versions of Mininet and Faucet. The setup of the development environment is required to work with mudacl, the MUD ACL genenerator.

Once the base and development software packages are installed, it is possible to build DAQ with the following command.

sudo cmd/build

This program is likely to take a long time to execute, so go get yourself a cup of your favourite hot or cool beverage.

First run

Configuration with virtual ethernet interfaces

Configuration with single ethernet interface

Configuration with multiple ethernet interfaces