Search
Support & Downloads
All of Support
This Category
Networking Connectivity
Network Connectivity
My sniffer is not seeing VLAN, 802.1q, or QoS tagged frames

Symptom(s):
My sniffer is not seeing VLAN or QoS tagged frames.

Solution:

Microsoft* Windows* ---

To allow tagged frames to be passed to your packet capture software you must go into the registry and either add a registry dword and value or change the value of the registry key. Depending on the bus type of your network adapter you will either create the keyword "MonitorModeEnabled" for PCI/PCI-X Network Adapters, or "MonitorMode" for PCI-e based Network Adapters.

The new key (dword) should be placed at:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00xx

where xx is the instance of the network adapter that you need to see tags on. (Check by opening and viewing the name of the adapter).

Note: ControlSet001 may need to be CurrentControlSet or another 00x number.

If you are using a PCI or PCI-X Network Adapter the registry dword is: MonitorModeEnabled
Set the dword value to either:
0 - disabled (Do not store bad packets, Do not store CRCs, Strip 802.1Q vlan tags)
1 - enabled (Store bad packets. Store CRCs. Do not strip 802.1Q vlan tags)

If you are using a PCI-Express Network Adapter the registry dword is: MonitorMode
Set the dword value to either:
0 - disabled (Do not store bad packets, Do not store CRCs, Strip 802.1Q vlan tags)
1 - enabled (Store bad packets. Store CRCs. Do not strip 802.1Q vlan btag)
2 - enabled strip vlan (Store bad packets. Store CRCs. Strip 802.1Q vlan tag as normal)

In most cases you should set MonitorMode=1 or MonitorModeEnabled=1.

Warning: This modification should be made very carefully and only by skilled technicians since changes to the registry may disable your machine. This change should only be made for promiscuous mode/sniffing use.

Linux* ---

To strip VLAN tags: Load the kernel supplied 802.1q module, which will automatically enable the Intel Networking hardware offload capabilites to offload vlans tag stripping and insertion. For information on loading the 802.1q module contact your distribution for support.

To not strip VLAN tags: By default the driver, in promiscuous mode, will not strip VLAN tags.

Your capture software is responsible for enabling promiscuous mode in your driver. If the driver is not in promiscuous mode the packets will be dropped or ignored due to the bad type/len field.

One source for VLAN/802.1q information under linux is: http://www.linuxhorizon.ro/vlans.html*

Operating System:
Windows Vista*, Windows Server 2008*, Windows 98 SE*, Windows Home Server*, Windows 2000*, Windows Me*, Windows NT 4.0*, Linux*, Windows XP 64-Bit Edition*, Windows XP Professional*, Windows Server 2003*

This applies to:
Intel® 10 Gigabit AF DA Dual Port Server Adapter
Intel® 10 Gigabit AT Server Adapter
Intel® 10 Gigabit CX4 Dual Port Server Adapter
Intel® 10 Gigabit XF LR Server Adapter
Intel® 10 Gigabit XF SR Dual Port Server Adapter
Intel® 10 Gigabit XF SR Server Adapter
Intel® PRO/100 Intelligent Server Adapter
Intel® PRO/100 S Desktop Adapter
Intel® PRO/100 S Dual Port Server Adapter
Intel® PRO/100 S Management Adapter
Intel® PRO/100 S Server Adapter
Intel® PRO/100 Smart Adapter
Intel® PRO/100 VE Desktop Adapter
Intel® PRO/100 VE Network Connection
Intel® PRO/100 VM Network Connection
Intel® PRO/100+ Adapter
Intel® PRO/100+ Dual Port Server Adapter
Intel® PRO/100+ Management Adapter
Intel® PRO/100+ Server Adapter
Intel® PRO/1000 CT Network Connection
Intel® PRO/1000 F Server Adapter
Intel® PRO/1000 Gigabit Server Adapter
Intel® PRO/1000 GT Desktop Adapter
Intel® PRO/1000 GT Quad Port Server Adapter
Intel® PRO/1000 MF Dual Port Server Adapter
Intel® PRO/1000 MF Server Adapter
Intel® PRO/1000 MF Server Adapter (LX)
Intel® PRO/1000 MT Desktop Adapter
Intel® PRO/1000 MT Dual Port Server Adapter
Intel® PRO/1000 MT Quad Port Server Adapter
Intel® PRO/1000 MT Server Adapter
Intel® PRO/1000 PF Dual Port Server Adapter
Intel® PRO/1000 PF Quad Port Server Adapter
Intel® PRO/1000 PF Server Adapter
Intel® PRO/1000 PM Network Connection
Intel® PRO/1000 PT Desktop Adapter
Intel® PRO/1000 PT Dual Port Server Adapter
Intel® PRO/1000 PT Quad Port Low Profile Server Adapter
Intel® PRO/1000 PT Quad Port Server Adapter
Intel® PRO/1000 PT Server Adapter
Intel® PRO/1000 T Desktop Adapter
Intel® PRO/1000 T Server Adapter
Intel® PRO/1000 XF Server Adapter
Intel® PRO/1000 XT Low Profile Server Adapter
Intel® PRO/1000 XT Server Adapter
Intel® PRO/100B Adapter
Intel® PRO/10GbE CX4 Server Adapter
Intel® PRO/10GbE LR Server Adapter
Intel® PRO/10GbE SR Server Adapter

Solution ID: CS-005897
Date Created: 10-Feb-2003
Last Modified: 20-Oct-2008
Back to Top