Project

General

Profile

Actions

Feature #13868

closed

Allow packet capture on unassigned interfaces

Added by Andrew B over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Force Exclusion

Description

I want to be able to capture packets on the base physical interface for a physical interface that only has assigned VLAN interfaces, no assignment on the physical interface itself.
For example, the setup I have is somewhat like this

igc2: <unassigned>
igc2.10: guest
igc2.20: staff
igc2.30: contractors
igc2.40: admins
igc2.4090: mgmt

There are 2 reasons I want to do this:
  1. So I can do a promiscuous mode capture on the whole interface and pick up packets for all VLANs (even ones that I haven't defined) with their 802.1Q header
  2. So I can check to see if the device on that interface is sending untagged packets or packets to VLANs I don't expect while trying to debug an issue I'm facing

The base interface still exists and is up, so I can run tcpdump -i igc2 from a terminal and that will capture what I want but it's a pain to save it to a dump file and download it to a computer with Wireshark.
It's not possible to do this from the Web UI since igc2 has no assignment. If I do assign the interface it seems to mess up the VLAN interfaces receiving packets correctly so having a temporary or bogus assignment is not a good option.

I can imagine several other situations where a specific interface (physical or virtual/logical) has no assignment but is active and a packet capture may be desired.


Related issues

Related to Feature #13382: Packet Capture GUI with granular controlResolvedMarcos M

Actions
Actions

Also available in: Atom PDF