# Breaking Free from Packet Brokers: How to Use nTap/PF_RING ZC for Traffic Aggregation | ntop

> nTap is a lightweight software-based network tap designed by ntop to simplify remote traffic collection and analysis. Unlike traditional hardware-based packet

[Blog](https://www.ntop.org/blog/)[Technologies and Trends](https://www.ntop.org/category/technologies-and-trends/)

# Breaking Free from Packet Brokers: How to Use nTap/PF\_RING ZC for Traffic Aggregation

September 12, 20254 min read

**nTap** is a lightweight software-based network tap designed by ntop to simplify remote traffic collection and analysis. Unlike traditional hardware-based packet brokers, nTap lets you capture, forward, and aggregate traffic using pure software—reducing complexity and cost.

In this blog post, we’ll walk through:

-   nTap fundamentals (FAQ highlights)
    
-   Step-by-step configurations for popular use cases
    
-   Integration with **n2disk**, **nProbe**, and **ntopng**
    
-   Scaling from low (1 Gbps) to very high-speed (40/100 Gbps) deployments
    
-   Best practices for performance optimization
    

## nTap FAQ Highlights

**Q: What is the network overhead introduced by nTap?**  
Each captured packet incurs a **20-byte overhead**, added before encapsulating in UDP. Large packets may be fragmented depending on MTU size.

**Q: How many remote taps can a collector handle?**  
There’s no strict limit, but we recommend keeping it to **≤ 64 taps** per collector. Typically 1–2 taps per collector are ideal.

**Q: Can I capture container traffic?**  
Yes, install the `ntap` package inside the container and forward traffic (e.g., `eth0`) to the collector using `ntap_remote`. Dynamic IPs in containers aren’t a problem if the collector has a static IP.

**Q: Is nTap available for Windows/MacOS?**  
Yes, binaries are available from [packages.ntop.org](http://packages.ntop.org/).

**Q: How do I disable encryption in nTap?**  
By default, nTap encrypts traffic using AVX instructions. You can disable encryption with `-K` on both sender and collector, but only do this in secure networks.

All FAQs can be found on our nTap user guide: [/guides/ntap/faq.html](https://www.ntop.org/guides/ntap/faq.html)

### Core Use Cases

#### 1\. Remote Tap → nProbe

**On remote host**

```
ntap_remote -i eth0 -c 1.2.3.4:5678 -k hello
```

**On local host**

```
nprobe -3 5678 -n none --ntap hello
```

##### 2\. Remote Tap → ntopng

**On remote host**

```
ntap_remote -i eth0 -c 1.2.3.4:5678 -k hello
```

**On local host**

```
ntopng -i ntap:5678:hello
```

###### 3\. Remote Tap → Collector → Local Interface

**On remote host**

```
ntap_remote -i eth0 -c 1.2.3.4:5678 -k hello
```

**On local host**

```
ntap_collector -p 5678 -k hello -i ntap0
```

**Use collected interface with tcpdump or Wireshark**

```
tcpdump -i ntap0
```

###### 4\. Remote Tap → Open vSwitch

**On remote host**

```
ntap_remote -i eth0 -c 1.2.3.4:5678 -k hello
```

**On local host**

```
ovs-vsctl add-port br0 ntap0 -- set Interface ntap0 type=internal
ifconfig ntap0 up
```

##### Collector Setup

###### Remote → Collector

**On remote host**

```
ntap_remote -i eth0 -c 1.2.3.4:5678 -k hello
```

**On local host**

```
ntap_collector -p 5678 -k hello -o 127.0.0.1
```

###### Open vSwitch Setup Example

```
ovs-vsctl add-br br-ovs
ovs-vsctl add-port br-ovs vxlan0 -- set interface vxlan0 type=vxlan options:local_ip=127.0.0.1 options:remote_ip=0.0.0.0
ip link set mtu 1600 dev vxlan_sys_4789
ip link set br-ovs up
ip link set vxlan_sys_4789 up
```

##### Encryption Key Guide (-k parameter)

`-k hello` tells **ntap\_remote** to use *“hello”* as the encryption key.

The collector (**nProbe** / **ntopng** / **ntap\_collector**) must be started with the same key so that packets can be decrypted.

If the keys don’t match, the collector won’t be able to decrypt the traffic.

-   By default, encryption is enabled and based on **AES with AVX instructions** (so it’s very efficient).
-   If you’re on a trusted network and want to avoid the CPU overhead of encryption, you can disable it with `-K` (uppercase K) — but this means traffic is sent in **clear text**.

##### Scaling nTap Deployments

One key advantage of nTap is that you **don’t need a physical packet broker**—aggregation can be performed in software with ntop tools.

###### Low-Speed (~1 Gbps)

**Configuration 1: Into n2disk first, then forward to nProbe**

```
# n2disk
n2disk -i ntap0 -o /data/captures -p 1G

# nProbe
nprobe -i ntap0 -n collector_ip:2055
```

**Configuration 2: Into nProbe first, then forward to n2disk + ntopng**

```
# nProbe
nprobe -i ntap0 -n none --zmq tcp://127.0.0.1:5556

# n2disk
n2disk -i tcp://127.0.0.1:5556 -o /data/captures
```

###### Medium/High-Speed (10+ Gbps)

You need to use **PF\_RING ZC** for zero-copy packet capture as nTap is designed for low-speed networks. With ZC you can aggregate traffic and load balance it across multiple consumers using Inter/nVidia adapters in addition to FPGA NICs. You can read more about this topic in the [PF\_RING ZC User’s Guide](https://www.ntop.org/guides/pf_ring/examples.html#load-balancing).

-   **Adapter acceleration**: Intel/nVidia NICs with RSS or FPGA
-   **CPU & Memory**: Scale servers with sufficient NUMA-aware CPU cores and multiple memory banks/channels

##### Best Practices

-   **Aggregation in Software**: nTap removes the need for external packet brokers.
-   **Encryption**: Keep enabled unless operating in a trusted LAN.
-   **Performance Tuning**: Use PF\_RING ZC for >10 Gbps, RSS for load balancing.
-   **Application Sharing**: When multiple apps (ntopng + n2disk + nProbe) need the same feed, use nTap collector + virtual interfaces or ZC clusters.

##### Deployment Reference Table

| Traffic Feed | Low Speed (~1 Gbps) | Medium Speed (~10 Gbps) | High Speed (~40–100 Gbps) |
| --- | --- | --- | --- |
| Into n2disk first → nProbe | n2disk (1G) + |  |  |
| nProbe Ent-M>L | n2disk (10G) + |  |  |
| nProbe Ent-M>L | n2disk (40G/100G) + |  |  |
| nProbe Ent-M>L |  |  |  |
| n2disk (1G) + nProbe Cento S>XL |  |  |  |
| Into nProbe first → n2disk + ntopng | nProbe Ent-S>L + |  |  |
| n2disk (1G/5G) | nProbe Ent-S>L + |  |  |
| n2disk (10G/40G/100G) | nProbe Cento S>XL + |  |  |
| n2disk for nProbe Cento |  |  |  |
| **Directly into ntopng** | Supported at all speeds (depending on capture pipeline) |  |  |
| **Adapter Accelerator** | — | PF\_RING ZC |  |
| Adapter RSS Channels (Intel/nVidia) | PF\_RING ZC (Intel/nVidia 1/10/40/100) |  |  |
| Adapter RSS Channels |  |  |  |
| FPGA-based NICs |  |  |  |
| **Ntop SW Server – CPU** | 4 cores | 8 cores | 16+ cores |
| **Ntop SW Server – Memory** | 8 GB RAM | 32 GB RAM | 64+ GB RAM |

##### Conclusion

nTap allows organizations to move beyond NetFlow-only monitoring and embrace full packet visibility **without additional hardware**. As nTap acts as a remote span, make sure you limit it to 1 Gbit networks as. For 10 Gbit + you need to use other techniques such as ZC that are directly connected to the packet source with a wire without sending traffic over a LAN.

By combining **n2disk**, **nProbe**, and **ntopng**, you can build a powerful pipeline for packet capture, flow analysis, and real-time monitoring—all with software-based aggregation.

## Keep reading

nDPINov 7, 2026

### [Detecting CVE-2026-98432 using nDPI/ntopng](https://www.ntop.org/detecting-cve-2026-98432-using-ndpi-ntopng/)

CVE-2026-98432 is a critical, 9.8-severity use-after-free (UAF) vulnerability in the Linux kernel’s IPv4 TCP networking stack. It allows an unauthenticated remote attacker to potentially cause system crashes, memory corruption, or execute arbitrary commands with root privileges. From a network stand

Technologies and TrendsOct 8, 2026

### [How we Redesigned Search in ntopng](https://www.ntop.org/how-we-redesigned-search-in-ntopng/)

ntopng has had a search box for a while, but it we made it better to allow search for menu entries too! This to speed up and improve the user experience and…

[![](/images/2026/09/Screenshot-2026-09-09-151028-1.webp)](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

AnnounceOct 5, 2026

### [October 20th: Join us for the ntopng 7.0 Webinar](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

Is your network monitoring keeping pace with AI, larger infrastructures, and the growing need for real observability? We’re excited to introduce ntopng 7.0, alongside new releases of the rest of the ntop…

## 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/breaking-free-from-packet-brokers-how-to-use-ntap-for-tap-traffic-aggregation/