[Winpcap-users] WinPcap, VMWare and Packet Loss

Alan Jay Weiner a.weiner at valid8.com
Tue Mar 3 08:48:03 PST 2009


As Gianluca posted, please upgrade to a more recent version of WinPcap.

I am using VMware Workstation and WinPcap 4.0.2 without any packet loss
problem.

Currently I'm using Workstation 6.5; I have used previous 6.x versions in
the past.

I use several different configurations, including virtual NICs bridged to
physical adapters on the host, USB adapters (Linksys and Belkin) connected
directly to the virtual machine, and virtual NICs on virtual LANs within
VMware.

We do VoIP testers and emulators - I do all my development in VMs, and
frequently test between my VM and emulators running in other VMs, or between
my VM and real (VoIP) hardware.

- Al Weiner -


----------------------------------------------------------------------------
Alan Jay Weiner / Valid8.com, Inc. - Conform, Perform & Excel(tm)
500 W Cummings Park, Suite #2700, Woburn, MA 01801, USA
a.weiner at valid8.com / Tel:+1-781-938-1221 x112, Fax +1-781-207-0550
http://www.VALID8.com 


-----Original Message-----
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Max WhoTheHellCares
Sent: Monday, March 02, 2009 3:00 PM
To: winpcap-users at winpcap.org
Subject: [Winpcap-users] WinPcap, VMWare and Packet Loss

Hi everybody!

I have recently stumbled upon a problem, which renders my project
nearly useless....

I have 2 VMs on two physical servers, each one runs Win2k3 Server. My
server-side program sends packets using WinPcap, the client-side gets
them using WinPcap (lets call them Tx and Rx respectively).
Up till now i worked without VMs - Win2k3 Server was installed on both
physical servers. My project worked like it should - without losses
during packet transfer from server to client.

Now, as i started using VMs (Virtual NIC is BRIDGED to physical), i
get packet loss ~11% in case Tx AND Rx are installed on VMs.
If i install only one side (Tx OR Rx) on VM and the other one on
physical disk(on another server), packet loss is still present, but
varies depending on which side (Tx or Rx) is installed on VM. It goes
like this:

Transmitter      Receiver      %packet loss
-------------------------------------------------------------
TX                  RX               0%
TX                  VM_RX        10%
VM_TX            RX              0.1%
VM_TX            VM_RX        11%

where TX, RX - installed on physical machines
         VM_TX, VM_RX - installed on virtual machines.

How it works: having done extensive debug on the Tx side,
pcap_sendpacket(...) sends everything without errors. However the Rx
side still registers packet loss. BTW, WinPcap version is 3.1beta.

Please, if someone has a clue of why this happens, share your
thoughts, my project is on-hold ATM.

Thanks in advance.
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users



More information about the Winpcap-users mailing list