<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Just a follow up.<br>
<br>
I have got hold of a WinXP, set it up per your advice in Oracle
VirtualBox and installed my "promiscuous" application. It works
perfectly now.<br>
<br>
Once again, thank you very much for your help.<br>
<br>
Jens.<br>
<br>
<br>
On 11/4/2011 10:07 AM, Jens Munk wrote:
<blockquote cite="mid:4EB3AB51.5080503@maccor.com" type="cite">Thanks
Mark,
<br>
<br>
Well, the Microsoft Virtual PC is not going to work for me, then.
I have downloaded the Oracle VirtualBox and this seems the way to
go. I haven't tried it yet, since I need to acquire a WinXP
install (The one I have came in the package with the Virtual PC).
<br>
<br>
This is just a temporary solution. My problem is that part of my
main project is still in VB6, and now I am getting a new PC with
Win7 64 bit, which cannot run the VB6 development environment. So
until I get the rest of the VB6 code migrated to a modern
language, I will have to keep it alive in a virtual "ancient"
computer.
<br>
<br>
Thanks again,
<br>
<br>
Jens.
<br>
<br>
On 11/4/2011 1:50 AM, Mark Pizzolato - WinPCap-Users wrote:
<br>
<blockquote type="cite">Hi Jens,
<br>
<br>
> From what you describe below your VM running under Virtual
PC is running XP. That VM has 2 Network interfaces configured
on it. One using NAT and the other "Bridged" to the LAN the
remote micro-controller device.
<br>
<br>
What you are seeing is a 'feature' of the Virtual PC
environment's Bridging/Switch Emulation. It does NOT allow
arbitrary MAC addresses to be passed back to the Virtual
Device. The only MAC address that will pass inward is the MAC
address of the virtual NIC. You can determine what this MAC
address is by looking at the output of an "IPCONFIG/ALL". Under
the interface in question the MAC address will be listed as the
'Physical Address'.
<br>
<br>
If you have your application use the physical MAC address
packets should pass.
<br>
<br>
Alternatively, you could setup a different VM environment using
Oracle VirtualBox. Install an XP environment on that VM and
configure the NIC (on the VirtualBox side). Set the NIC to
Bridged Adapter bridged with the appropriate LAN interface.
Click on the Advanced link in the settings tab and change the
Promiscuous Mode setting to "Allow All".
<br>
<br>
Good Luck.
<br>
<br>
- Mark Pizzolato
<br>
<br>
On Thursday, November 03, 2011 at 3:13 PM, Jens Munk wrote:
<br>
<blockquote type="cite">Carlos, Mark,
<br>
<br>
Sorry about that. The host PC is a Windows 7 64 bit
professional, and the
<br>
virtualization is Microsoft's Windows Virtual PC with WinXP.
More specifically,
<br>
it is the "Windows XP Mode with Virtual PC" package you can
download
<br>
directly from Microsoft:
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.microsoft.com/windows/virtual-pc/download.aspx">http://www.microsoft.com/windows/virtual-pc/download.aspx</a>
<br>
<br>
MAC addresses of virtual and physical network adapters: I was
unaware that
<br>
they would be different, and I would have to investigate this.
<br>
However, should the virtualization machine take care of this?
<br>
<br>
Thanks again. I really hope you can help me with this one,
<br>
<br>
Jens.
<br>
<br>
<br>
Jens,
<br>
what virtualization engine are you using to run the VM ?
<br>
<br>
-Carlos
<br>
<br>
<br>
On 11/2/2011 11:29 PM, Mark Pizzolato - WinPCap-Users wrote:
<br>
<blockquote type="cite">Hi Jens,
<br>
<br>
You fail to mention the what OS the host is running, AND
what
<br>
</blockquote>
Virtualization software you are using. You also don't
mention what MAC
<br>
address you are using as the source MAC address in your
outgoing packets.
<br>
Specifically, is the source MAC address being used the same as
the MAC
<br>
address which the virtual network adapter is using?
<br>
<blockquote type="cite">Provide details and I'll try to
explain what is happening and what you may
<br>
</blockquote>
need to do.
<br>
<blockquote type="cite">- Mark
<br>
<br>
On Wednesday, November 02, 2011 at 3:19 PM. Jens Munk wrote:
<br>
<blockquote type="cite">Hey,
<br>
<br>
I am trying to run my application, that is using WinPCap
to send and
<br>
receive raw ethernet messages, on a virtual WinXP. The
messages get
<br>
send OK, but the incoming messages never get to the
virtual WinXP and
<br>
thus my application. This is confirmed by WireShark.
Likewise running
<br>
WireShark on the host shows that the incoming messages are
present
<br>
</blockquote>
</blockquote>
there.
<br>
<blockquote type="cite">
<blockquote type="cite">So how do I get this to work, i.e.
get incoming raw messages all the
<br>
way back to the virtual machine?
<br>
<br>
Some info on my setup: The PC has two adapters: One for
the company
<br>
and internet and one for this purpose (I am communicating
with the
<br>
micro- controllers). The first adapter is set as "Shared
networking
<br>
(NAT)" and works fine on the internet. The other one and
the one I
<br>
want to use for this is set as its name.
<br>
<br>
Thanks,
<br>
<br>
Jens.
<br>
</blockquote>
_______________________________________________
<br>
Winpcap-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
<br>
<br>
</blockquote>
</blockquote>
_______________________________________________
<br>
Winpcap-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Winpcap-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a>
<a class="moz-txt-link-freetext" href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
</pre>
</blockquote>
</body>
</html>