Support Request #14358
closedConfigure the used ethernet adapter with net config instance id in PCap Ethernet Receiver Filter
Description
Supportanfrage
In ADTF 2 we use an own implementation of an ethernet capture filter which uses win pcap as driver.
We would like to switch in ADTF 3 to the PCap Ethernet Receiver Filter but we would keep our configuration possebillity.
We currently configure the used ethernet adapter in this filter with the "NetCfgInstanceId" which can be read out with wireshark
e.g.
\Device\NPF_{0D950037-7BE1-4743-9A17-45DD14351C5F}
another possibility would be to configure it with the short / useful name which can be set with the adapter setting in windows.
Lösung
Product issue is opened:- [ADEVTB-2003] - Address pcap device by NetCfgInstanceId
Updated by hidden almost 3 years ago
- Status changed from New to In Progress
- Topic set to DeviceTB::Ethernet
Updated by hidden almost 3 years ago
Hello,
just to be sure that I understand the problem.
In your own implementation of the filter you have a property where you set the "NetCfgInstanceId" instead of the IP used by the PCap Ethernet Filter?
So you want to configure the PCap Ethernet Filter also with the "NetCfgInstanceId" or adapter name instead of setting the IP property?
At this time it is not possible to configure the filter not via ip. It's due to the underlying PCapReader which is initialized via IP.
The NetCfgInstanceId or a adapter name would have to be mapped to the IP but in the end it will use the ip again.
Greetings
Nico
Updated by hidden almost 3 years ago
Hello Nico,
the overall usecase is to capture every frame which is received by the ethernet adapter.
The specific usecases are:
1.) unicast / broadcast.
We capture with this filter a data stream which is provided by unicast / broadcast. There is no specifc ip address to configure.
2.) VLAN
With the NetCfg Instance id, it is also possible to capture all the VLAN tagged Ethernet frames which is sended to the Ethernet adapter.
Best Regards
Thomas
Updated by hidden almost 3 years ago
Hello Thomas,
can you enable the ip4/ip6 protocol for the used ethernet adapter or is it really necessary to have them deactivated?
For still using the PCap Ethernet Receiver Filter you must enable the ip4/ip6 protocol in the windows network adapter settings and afterwards you can use the ip adress of the adapter in the filter's property.
Greetings
Nico
Updated by hidden almost 3 years ago
- Status changed from In Progress to Customer Feedback Required
Updated by hidden almost 3 years ago
- Project changed from 5 to Public Support
- Subject changed from Feature Request : Configure the used ethernet adapter with NetCfgInstanceId in PCap Ethernet Receiver Filter to Configure the used ethernet adapter with net config instance id in PCap Ethernet Receiver Filter
- Description updated (diff)
- Status changed from Customer Feedback Required to To Be Closed
- Private changed from Yes to No
- Resolution set to Product Issue Opened
- Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ADEVTB-2003
Product issue is opened:
- [ADEVTB-2003] - Address pcap device by NetCfgInstanceId
Updated by hidden almost 3 years ago
- Status changed from To Be Closed to Closed