Virtual network sniffering

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pab
Posts: 2
Joined: 2. Oct 2009, 19:01
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Debian 5

Virtual network sniffering

Post by pab »

Hi All,

I have 2 virtual machines connected by "Internal Network intnet1". How can I intercept the traffic between those machines using Wireshark or tcpdump? There is no visible network interfaces in host-system.
Or it better to use Host-only adapters on virtual machines?

Thanks!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtual network sniffering

Post by Perryg »

Internal is a guest only interface and the host is excluded.
if you need the guests to talk to the host you need Host-only.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtual network sniffering

Post by BillG »

If you want to monitor traffic between the vms in a virtual network, run Wireshark or Network Monitor 3 in one of the vms, not the host.
Bill
pab
Posts: 2
Joined: 2. Oct 2009, 19:01
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Debian 5

Re: Virtual network sniffering

Post by pab »

2Perryg
thanks, Host-only adapters it's what I need, all works.

2BillG
It's inconvenient.. vms are without gui
Post Reply