I have been trying to use Wireshark to capture some traffic that comes from a virtual machine.
The setup is:
- Windows 7 host
- Ubuntu guest
- VirtualBox 4
I send some packets from the guest to the host or another IP in the host LAN. The packets get there, but Wireshark cannot see them.
I have run Wireshark on both the guest and the host. Curiously, if I send the packet to another computer, the packets are captured without problem in the second machine. I don't understand how I cannot capture the packets in the machine that is sending them.
How should I setup VirtualBox, Windows 7 or Wireshark in order to capture the packets sent by the guest machine?