TechNazgul RSS

Friday, January 21, 2011

Advanced network configuration using vmware Player



Vmware-netcfgIn the past, the advanced network configuration utility for vmware was installed automatically with vmware player, but at some point they started making it more difficult to find.  As it turns out, vmnetcfg.exe is still included with the installer, but you have to manually extract and move it to your install directory.

The steps to extract it are fairly simple.  Download the standard vmware player installer and then do the following:

 

  • Open a command prompt in the same directory as the vmware installer.
  • Issue the command, VMware-player-3.<version>.exe /e .\netcfg
  • Navigate to the netcfg folder in the same directory, which now contains the extracted installer files
  • Open ‘network.cab’ with Winrar (or something similar) and you will see the vmnetcfg.exe file.
  • Copy that file to your install directory… Something like C:\Program Files\VMWare\VMWare Player\
  • Once copied, you can double-click the utility from that folder and begin the advanced configuration of your vmware network adapters.

 

If you’ve not used this utility before, it allows you to specify which virtual network adapters fulfill which function, define which subnets you want each virtual adapter to use, etc.  For example, if you have two network connections on your computer and want to bind different vmware network adapters to different physical network connections (and related VLANs), you can do so using this utility.

 

Thanks to The Advisers Group for the original tip.

 

Technorati Tags: ,,

13 comments:

  1. Didnt work on 64bit

    ReplyDelete
  2. Must be something else going wrong for you as this walkthrough was done on a 64-bit system.

    ReplyDelete
  3. thanks, you just need to run cmd prompt as 'administrator'

    ReplyDelete
  4. Thank you for this how-to guide. Worked great for me on Windows 7 x64.

    ReplyDelete
  5. This doesn't work for version 5 because there is no network.cab - any ideas?

    ReplyDelete
  6. Ditto. vmp 5 no netcfg? no network.cab?

    ReplyDelete
  7. Looks like our friends over at the vmware forums have figured out an ugly, but workable solution.

    http://communities.vmware.com/message/2103928

    Basically, you have to download the workstation executable, extract the tiny part you want, and toss the rest.

    ReplyDelete
  8. The UI comes along with the player

    go to the vmware-directory and run in elevated cmd.exe-box

    rundll32.exe vmnetui.dll VMNetUI_ShowStandalone

    ReplyDelete
  9. Worked perfect BJN :) Thanks. How did you figure it out ?

    ReplyDelete
  10. nearly the same name and size compared to vmnetcfg.exe (from full Workstation) - so loaded in http://www.dependencywalker.com/ and saw the exported function

    ReplyDelete
    Replies
    1. so you don't have to download the 500Mb Workstation package just to get an 4Mb executable... ridiculous

      Delete
  11. I don't say this often . . . but f'ing genius BJN

    ReplyDelete
  12. Great! Thanks BJN.

    ReplyDelete

Followers

Facebook