VMware Communities
james1308
Contributor
Contributor

VMWare Player 4 - Force to use specific Network Adapter

Hi there,

I did a search for my question and couldn't really find anything to match my problem.

I'm using VMWare Player Version 4.0.0 Build 471780 to run an WinXP Pro SP3 Virtual Machine on a Windows7 Professional client (laptop).

We use an XP VM to run some old electrical commissioning software that doesn't run in Windows7. In the laptop we have a wireless connection to the company network, and a wired CAT5/RJ45 connection to the device we are trying to configure.

Problem

The software on the VM that we are running, requires a LAN connection directly to the device we are configuring. The problem is, when I start the VM, it seems to default to the Wireless adapter in the laptop. What I would like the VM to do is always use wired network card that's plugged directly into the device that we are trying to commission.

At the moment, the only way I can get it to work, is to turn off the wireless on the laptop once the VM is running, then it eventually uses the wired connection and works ok. The problem is, I really need to leave Wireless turned on so that the user still has a connection to the company network.

So, is there any way that I can configure the VM so that it only uses the wired network connection and make it ignore the wireless adapter altogether?

Thanks so much for the help, I'm sorry if this seems like a simple question, I'm very new to VMWare and virtual machines.


Appreciate your time

James Smiley Happy

0 Kudos
12 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

extract the "Virtual Network Editor" (vmnetcfg.exe) from the installation package and copy the files to the Player's folder. To get the network.cab run

VMware-player-4.0.0-471780.exe /e .\extract

from the command line.

André

PS: The Virtual Network Editor will allow you to select a specific NIC for the bridged network connection.

0 Kudos
james1308
Contributor
Contributor

Thanks for the welcome.


I'll try this today, thanks for your help, appreciate your time.

Best Regards

James

0 Kudos
vishalw
Contributor
Contributor

I have extracted the installation package however could not find vmnetcfg.exe. I could find network.cab. Where or how can I get the vmnetcfg.exe?

Thanks.

0 Kudos
RDPetruska
Leadership
Leadership

It is inside the network.cab file.  Extract the contents of that cab file!

0 Kudos
a_p_
Leadership
Leadership

Sorry for the confusion. The first sentence on my previous post should read:

extract the "Virtual Network Editor" (vmnetcfg.exe) from the network.cab  and copy the files to the Player's folder...

Seems I'm getting older Smiley Wink

André

0 Kudos
vishalw
Contributor
Contributor

Thanks Andre Smiley Happy. It worked. BTW do I need to invoke vmnetcfg.exe separately? I mean I could not see direct link from the player menu.

0 Kudos
RDPetruska
Leadership
Leadership

Correct, you need to merely run the executable file.

0 Kudos
busdude
Contributor
Contributor

I have two nics in my machine connected to seperate networks. I did the steps as described to break up the bridged nics into vmnet0 and vmnet2, is there any way to tell a vm which network to use for its bridged connection?

thanks,

Zack

0 Kudos
a_p_
Leadership
Leadership

VMware Player does not offer a selection in the GUI (like VMware Workstation). For bridged network it uses vmnet0 by default. If you want to change this, you need to edit the VM's vmx file and add/edit the following two entries.

ethernet0.connectionType = "custom"

ethernet0.vnet = "VMnet2"

André

0 Kudos
peterjohan
Contributor
Contributor

Note - to get network.cab using

VMware-player-4.0.1-528992.exe /e .\extract

you have to run it in Admin mode.

Message was edited by: peterjohan

0 Kudos
mouthpiec
Contributor
Contributor

Hi,

I am new to VMplayer. I just installed VM Player 4, and followed your instrutions to extract and use vmnetcfg.exe.

After I assign the interfaces do I need to make some other settings on the virtual machine? I am running the Virtual Machine on Windows 7 and the Virtual OS is CentOS version 6 ..... the problem is that I still have a single interface on CentOS.

Can someone please help me?

thanks in advance!

0 Kudos
WoodyZ
Immortal
Immortal

mouthpiec wrote: Can someone please help me?

See my reply to you in: Re: vmnetcfg utility with VMware Player 4

0 Kudos