Select network card in VirtualBox for packet capture [JPCAP]

0

Good afternoon.

Personally, I'm developing a java application for capturing packages using JPCAP. I am using a virtual machine, but I am not able to select the network interface so that my program can capture the network packets. Can you do this using the virtual machine? I tested the code on the local machine and it works as intended.

In summary, it would be the use of JPCAP in VirtualBox.

Thank you.

    
asked by anonymous 07.04.2016 / 21:21

1 answer

1

In the virtual machine's network settings, select that it must be connected in bridge mode, so it will have an ip of its own within your network.

    
07.04.2016 / 22:14