Forrest logo
back to the dumpcap tool

dumpcap:tldr:7154e

dumpcap: Display available interfaces.
$ dumpcap --list-interfaces
try on your machine

The command "dumpcap --list-interfaces" is used to list all the available network interfaces that can be used with dumpcap, which is a command-line packet capturing tool.

When executed, the command will provide information about each interface, including the interface index and name, its description, and the link layer header type supported by the interface.

Here is an example output of the command:

  1. \Device\NPF_{F2B6A007-CA68-4F17-B5F7-8216B111F60E} (Wireless Network Connection) Description: Intel(R) Dual Band Wireless-AC 3168 Link-layer Header Type: 1 (Ethernet)

  2. \Device\NPF_{0AE69843-6C72-4324-A9F3-2B0BACA63ECF} ({111797DE-59AF-40FE-8EFA-312FA3AC58C2}) Description: Realtek PCIe GbE Family Controller Link-layer Header Type: 1 (Ethernet)

In this example, two network interfaces are listed. The first one is a wireless network connection provided by Intel AC 3168, and the second one is a Realtek GbE Ethernet controller. Both interfaces support Ethernet link-layer header type (indicated by the value 1).

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dumpcap tool