1. VMWare player IP address

    This was something that really annoyed me when trying to configure VMWare Player 3, there seemed to be no easy way of changing the IP address range or the DHCP addresses when using Windows as the host OS.

    Actually there is but in a stroke of genius by VMWare it isn’t installed properly. The program that you require is called vmnetcfg.exe and is included in the installer but isn’t installed. Its really difficult to find anything about it on VMWare’s site so to get to it:

    1. Run the installer with /e option. For example:

    VMware-player-3.0.0-197124.exe /e vm

    All contents will be extracted to “vm” folder.

    2. Open “network.cab” and copy vmnetcfg.exe to your installation folder,
    typically “C:\Program Files\VMware\VMware Player\”.

    Now you can use vmnetcfg.

    By timc3 on the
    April 9th, 2010

6 Comments

  1. Awesome post – thank you… This was driving me crazy and setting up port forwarding is a crappy solution. To obtain a static IP address, I just used the above tool to limit my DHCP to 1 IP – therefore my VM always gets the same IP and I don’t have to muck with Port Forwarding. Works awesomely!

    Thanks…

    Gary Says:
    January 12th, 2011 at 2:52 am
  2. Hi Guys,
    I followed the instructions above, but am still having problems.

    I have a laptop with a static IP of 192.168.2.5 connected via wireless to an AP/Router 192.168.2.1.

    I am trying to get a mobile device 192.168.2.10 to talk to the virtual environment. Connectivity between IPs mentioned is fine.

    In the VM environment, it has adopted the IP 169.254.246.2. I have tried fixing an IP as well as repairing the virtual interface only bot be informed there is a problem renewing your IP.

    I followed the instructions above and tried running vmnetcfg from within the vm environment only to be informed it is missing a number of libraries.

    I am obviously doing something really dumb…please advise

    thanks in advance

    Bungy

    Bungy Says:
    February 9th, 2011 at 3:37 pm
  3. I think you need to make sure that the Network configuration that you are using is the correct one. I am using NAT on to my local network.

    timc3 Says:
    March 22nd, 2011 at 10:04 am
  4. Hi timc3,

    Your tutorial was great. It’s works for me! Thanks a lot :)

    cheers,
    VM-Player users :)

    z4w3p Says:
    August 15th, 2011 at 4:01 am
  5. Great post!
    I’ve been driven mad by this issue. Tried to modify config files but no way.
    Your solution worked like a charm.
    Thank you so much!

    stefano

    stefano Says:
    August 24th, 2011 at 4:24 pm
  6. This saved me hours of my life. thank you

    segfault Says:
    October 12th, 2011 at 2:44 am

Please post a comment