Do it properly now: "ipx || stx" -> "ipx || spx"
[obnox/wireshark/wip.git] / README.vmware
1 $Id$
2
3 If you are a registered user of VMware on Linux, you can contact their
4 support staff via e-mail and ask for a libpcap patch which will allow
5 you to sniff the virtual NIC of your virtual machine.
6
7 vmware configures 4 devices, /dev/vmnet[0-3]. 
8
9 /dev/vmnet0 is your ethernet bridge, giving your virtual machine its
10 own MAC address on your physical ethernet LAN.
11
12 /dev/vmnet1 is for host-only networking. Your host OS will be routing IP
13 packets between the physical LAN and the guest OS. When up and running,
14 you'll see a 'vmnet1' interface from 'ifconfig'. 
15
16 /dev/vmnet2 and /dev/vmnet3 act as hubs for virtual machines, but are
17 not connected to anything else. That is, the VM's that are connected
18 to these devices can talk to each other (if connected to the same
19 virtual "hub"), but not to the outside world, or to your host OS
20 (as far as I understand).
21
22 With the patch from VMware, you can sniff the packets on these
23 network devices. Note the distinction between "network device", where a
24 device driver file exists in /dev, and "interface", which is a namespace
25 private to the kernel (not on the filesystem). You have to supply the
26 full pathname  of the device to Wireshark (i.e., "/dev/vmnetN").
27 When vmnet1 is up, you will be able to select it from the list of
28 interfaces, since it will have both a device name (/dev/vmnet1) and
29 an interface name "vmnet1"
30
31 See also http://www.vmware.com/products/scenarios/networks.html