6

I have a very similar setup as the person in this question.

Details:

  • VM1 and VM2 are connected to each other via the "Host-Only Network" in VirtualBox
  • Wireshark is running on the host
  • Broadcast packets are received in Wireshark
  • VM1 to VM2 packets are not received in Wireshark
  • The ethernet adapters for each machine are set to allow promiscuous mode

A quick search for this on the net showed that I'm doing what I should be doing, at least as far as configuration goes. Most people who do this seem to want to capture traffic going from the host to the VM, which is not what I'm trying to do. I need to capture the traffic being sent between the two VMs. Is this possible? If so, is there anything I need to do that I'm not doing?

2
  • What OS on the host? Commented Mar 20, 2018 at 22:20
  • 1
    The dreaded Windows 7 x64
    – theMayer
    Commented Mar 20, 2018 at 22:38

1 Answer 1

4

On Windows, Wireshark (or any other tool) can only capture packets that pass over a physical network interface. Cfr. all the related questions. It makes debugging communications between two applications on the same "server", impossible.

2
  • It did not work for me on Ubuntu either. So I guess it is not only the Windows issue.
    – t7e
    Commented Aug 27, 2020 at 9:34
  • "It" didn't? Just had a look on wireshark.org, couldn't immediatly locate a linux version. Commented Aug 27, 2020 at 11:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .