# Introducing PF_RING Configuration Wizard | ntop

> Getting started with PF_RING can be a bit tricky as it requires the creation of a few configuration files in order to setup the service, especially when ZC dr

[Blog](https://www.ntop.org/blog/)[PF\_RING](https://www.ntop.org/category/pf_ring/)

# Introducing PF\_RING Configuration Wizard

June 30, 20193 min read

Getting started with PF\_RING can be a bit tricky as it requires the creation of a few configuration files in order to setup the service, especially when ZC drivers need to be used.

First of all it requires packages installation: PF\_RING comes with a set of packages for installing the userspace libraries (*pfring*), the kernel module (*pfring-dkms*), and the ZC drivers (*<driver model>-zc-dkms*). Installing the main package, *pfring*, is quite intuitive and straightforward following the instructions available at [http://packages.ntop.org](http://packages.ntop.org) , however installing and configuring the proper package when it comes to install the ZC driver for the actual NIC model available on the target machine can lead to some headache.

In fact, doing the driver configuration manually means (in this example we consider the *ixgbe* driver):

-   Creating a configuration file for PF\_RING (*/etc/pf\_ring/pf\_ring.conf*).
-   Checking the model of the installed NIC.
-   Installing the proper dkms driver from the repository (*ixgbe**\-zc-dkms*)
-   Creating a configuration file for the NIC model (*/etc/pf\_ring/zc/ixgbe/**ixgbe.conf*), to indicate the number of RSS queues and other driver settings.
-   Creating a .start file for the NIC model (*/etc/pf\_ring/zc/ixgbe/**ixgbe.start*) to indicate that we actually want to load the driver.
-   Creating a configuration file for the hugepages (*/etc/pf\_ring/hugepages.conf*)
-   Restarting the service.

In order to simplify all of this, since PF\_RING 7.5, the *pfring* package includes the *pf\_ringcfg* script that can be used to automatically install the required driver package and create the full configuration for the PF\_RING kernel module and ZC drivers. With this method, configuring and loading the ZC driver for an interface is straightforward, it can be done in a few steps:

1\. Configure the repository as explained at [http://packages.ntop.org](http://packages.ntop.org) and install the *pfring* package which includes the *pf\_ringcfg* script (example for Ubuntu)*:*

apt-get install pfring

Note: it is **not required to install any additional package** like *pfring-dkms* or *<driver model>-zc-dkms, pf\_ringcfg* will take care of that, installing selected packages according to what is actually required by the configuration.

2\. List the interfaces and check the driver model:

pf\_ringcfg --list-interfaces
Name: em1  Driver: igb    \[Supported by ZC\]
Name: p1p2 Driver: ixgbe  \[Supported by ZC\]
Name: p1p1 Driver: ixgbe  \[Supported by ZC\]
Name: em2  Driver: e1000e \[Supported by ZC\]

3\. Configure and load the driver specifying the driver model and (optionally) the number of RSS queues per interface:

pf\_ringcfg --configure-driver ixgbe --rss-queues 1

Note: this also installs the required packages, including *pfring-dkms* and *<driver model>-zc-dkms* for the selected driver, before configuring and loading the driver.

4\. Check that the driver has been successfully loaded by looking for ‘Running ZC’:

pf\_ringcfg --list-interfaces
Name: em1  Driver: igb    \[Supported by ZC\]
Name: p1p2 Driver: ixgbe  \[Running ZC\]
Name: p1p1 Driver: ixgbe  \[Running ZC\]
Name: em2  Driver: e1000e \[Supported by ZC\]

Note: there are corner cases that require particular attention and that you handle with custom configuration. For example  if you’re configuring a ZC driver for an adapter that you’re currently using as **management**, pf\_ring does not reload the driver by default as it may break network connectivity. In this case you need to add the *–force* option when running the *pf\_ringcfg* script, or follow the [Manual Configuration](https://www.ntop.org/guides/pf_ring/get_started/packages_installation.html#manual-configuration) section in the [PF\_RING User’s Guide](https://www.ntop.org/guides/pf_ring).

Enjoy!

## Keep reading

centoJan 25, 2026

### [nProbe Cento at Scale: Flow Offload Acceleration on Napatech](https://www.ntop.org/nprobe-cento-at-scale-flow-offload-acceleration-on-napatech/)

High-speed networks continue to push the limits of software-based monitoring and security applications. As link speeds grow and traffic patterns become more complex, efficiently analyzing packets while maintaining per-flow state, for updating…

AnnounceApr 28, 2025

### [Released PF\_RING 9.0.0: Fully Fledged Hardware Flow Tracking](https://www.ntop.org/released-pf_ring-9-0-0-fully-fledged-hardware-flow-tracking/)

This is to announce a new PF\_RING release 9.0.0! This release brings significant improvements for a deeper flow tracking integrations, making PF\_RING even more powerful for building high-performance flow processing networking applications…

PF\_RINGAug 6, 2024

### [Released PF\_RING 8.8.0: Flow Table Offload and nVidia BlueField Support](https://www.ntop.org/released-pf_ring-8-8-flow-table-offload-and-nvidia-bluefield-support/)

This is to announce a new PF\_RING release 8.8.0! This release adds generic support for flow table offload, which is currently supported on Napatech adapters with Flow Manager enabled. This new technology…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/introducing-pf_ring-configuration-wizard/