LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using promiscuous mode to collect UDP data

Is it possible to set a NIC in promiscuous mode and to pull all UDP data?

 

I have created a VI to listen to data coming across a specific UDP port, this work perfect for one device when I specify the NIC IP address.

My challenge is I have multiple devices with different IP addresses/networks, that I have to switch between. Every time I switch I need to reconfigure my NIC IP address to capture the data. I would like all data to pass through regardless of IP address. Does LabView support this?

 

Thanks

 

 

0 Kudos
Message 1 of 2
(2,572 Views)

No, LabVIEW does not natively support a way to put a network interface into promiscuous mode and capture all traffic. You'll either need to use a packet sniffer like Wireshark to capture to a file, and then process it later, or use other libraries. A starting point might be http://zone.ni.com/devzone/cda/epd/p/id/2660

0 Kudos
Message 2 of 2
(2,560 Views)