This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.
1
1

I've got VirtualBox installed on a Mac running an Ubuntu VM. The VM is setup to use a Host-only Adapter on vboxnet0. The VM is running a web server on non-standard port 5000.

I've got a vanilla installation of Wireshark running on the Mac and I start a capture on the vboxnet0 interface. My understanding is that wireshark should capture everything on all ports on an interface out of the box.

When I fire up a web browser I can see HTTP and TCP responses from the VM to the Mac but I can't see the requests from the Mac to the VM.

Does anyone know why that might be? Am I missing some Wireshark settings?

asked 02 Oct '12, 13:30

Everett's gravatar image

Everett
16122
accept rate: 0%

I'm having the same problem. I'm curious if you found a solution.

(25 Apr '13, 15:30) ckwilcox

You may be missing some VirtualBox settings. I suspect tcpdump will be no more successful at capturing the traffic than Wireshark; Wireshark should capture everything provided to it by the packet capture mechanism and network device driver on the OS on which it's running (as should tcpdump, for example, given that it and Wireshark use the same packet capture library), but that might not be all traffic - the network device might not see all the traffic, the device driver might not put the device into a mode where it can see all the traffic, or the packet capture mechanism might not pass all the traffic.

I'd suggest checking the VirtualBox documentation and asking in a VirtualBox forum.

permanent link

answered 03 Oct '12, 01:13

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×157
×24

question asked: 02 Oct '12, 13:30

question was seen: 5,461 times

last updated: 25 Apr '13, 15:30

p​o​w​e​r​e​d by O​S​Q​A