P. 1
The Book Of VMware - The Complete Guide To VMware Workstation (2002)

The Book Of VMware - The Complete Guide To VMware Workstation (2002)

|Views: 17|Likes:
Published by bmihalache_1

More info:

Published by: bmihalache_1 on Jan 23, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/10/2013

pdf

text

original

VMware Workstation comes with a handy command−line packet sniffer for its virtual network interfaces,
which you can use to debug your network connections. On a Windows host system, it’s vnetsniffer; you’ll
find it along with vnetconfig in C:\Program Files\VMware\VMware Workstation\Programs. On a Linux host,
it’s a program called vmnet−sniffer in your VMware binary directory.

To run the sniffer on your host−only network, run one of the following:

Windows host vnetsniffer VMnet1
Linux host vmnet−sniffer /dev/vmnet1

Here is the output for a Red Hat guest system power−on with the system getting its address over DHCP.
Notice the MAC addresses.

IP src 172.16.144.1 dst 172.16.144.255 UDP
IP src 172.16.144.1 dst 172.16.144.255 UDP
IP src 0.0.0.0 dst 255.255.255.255 UDP
IP src 172.16.144.254 dst 172.16.144.130
ICMP ping request − len=28 type=8
00:50:56:00:00:00 08 00 43 c4 d4 08 00 00 38 80 05 08 e8 08 07 08 b4 db ff bf 7e 86 05 08 74 67 07 08

Here is an address resolution protocol (ARP) request, along with its reply:

ARP sender 00:50:56:d4:9c:db 172.16.144.130
target 00:00:00:00:00:00 172.16.144.1 ARP request
ARP sender 00:50:56:01:00:00 172.16.144.1
target 00:50:56:d4:9c:db 172.16.144.130 ARP reply

Note On a Linux host, anyone can run the vmnet−sniffer program, but only those users with read access to a
/dev/vmnet* device can use the program on that device. If you have remote users but still want the local
user to have access to the sniffer, you may want to change the ownership and permissions of the
/dev/vmnet* devices upon console log−in to control access to the sniffer.
You can also run the vnetstats program on a Windows host to get utilization statistics on a VMnet interface.
Run this program without any arguments for a quick overview of the options; then use vnetstats VMnet1 to
get information on your host−only connection. The program reports the number of packets transmitted,
received, dropped, and so on. (VMware Workstation for Linux doesn’t come with this utility because you can
run ifconfig −a or look at /proc/net/dev for all network interfaces, not just those specific to VMware.)

Chapter 9: Host and Guest System Network Configuration

158

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->