Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Virtualization ›
Components of VMware Network

Components of VMware Network

August 9, 2010 Virtualization Jesin A 3 Comments

virtualization category thumbnail

VMware player is a boon for people who have a single computer but want to learn networking from the comfort of their couch. In this article I’ll brief about the components of the VMware network which will help you in designing your own virtual network.

Virtual Network Adapters

On the host machine (physical PC) where VMware player is installed two network adapters are created VMware Virtual Ethernet Adapter for VMNet1 (used for Host-Only networking) and VMware Virtual Ethernet Adapter for VMNet8 (used for NAT).

On virtual machines the network adapter is named as VMware accelerated AMD PCNet adapter.

Now you know where to look out for changing IP addresses.

Virtual DHCP Servers

By default there are two virtual DHCP servers doing the work of assigning IP addresses to machines on the virtual network.

The default configuration is as follows
Start IP address: 192.168.59.128
End IP address: 192.168.59.254
Subnet IP: 192.168.59.0
Subnet Mask: 255.255.255.0
Default Lease Time: 30 minutes
Max Lease Time: 2 Hours
Start IP address: 192.168.141.128
End IP address: 192.168.141.254
Subnet IP: 192.168.141.0
Subnet Mask: 255.255.255.0
Default Lease Time: 30 minutes
Max Lease Time: 2 Hours

Virtual Network Switches

VMware player if installed on windows has 10 virtual switches whereas when installed in Linux, has a mind blowing 255 switches. But by default only three of the following switches are used

VMnet0 – Bridged
VMnet1 – Host-only
VMnet8 – NAT

The rest are named as VMnet2, VMnet3 and so on. They are reserved for custom usage and can be used through vmnetcfg.exe about which I’ll be talking next.

The infamous vmnetcfg.exe

The vmnetcfg.exe is a very important file which comes handy for configuring custom settings for virtual DHCP servers and for adding more switches. However you can’t find this file with the default installation of VMware player so you need to copy this file manually using the following steps.

  1. Install VMware player to a location in the hard disk e.g. C:\Program Files\VMware Player.
  2. Open the setup file VMware-player-3.0.1-xxxx.exe againand wait for setup to load.
  3. Now keeping the installation wizard open navigate to your temporary files location which is usually C:\Windows\Temp.
  4. Locate a file named network.cab and extract it.
  5. Inside you’ll find the precious vmnetcfg.exe (you’ll discover why its precious later).
  6. Copy the file vmnetcfg.exe into your VMware player installation location in our case it is C:\Program Files\VMware Player.

Open the file and you’ll see a program similar to this

vmware virtual network editor
Using vmnetcfg.exe network settings can be highly customized

Related posts:

virtualization category thumbnailAdding Custom Network Adapter in VMware Player virtualization category thumbnailUsing VMware Network Editor (vmnetcfg.exe) virtualization category thumbnailDownload vmnetcfg.exe virtualization category thumbnailServices of VMware player virtualization category thumbnailVMware Bridged Networking

Comments

  1. Code Chief says

    January 23, 2012 at 8:12 pm

    Fantastic, just what I needed to turn off their DHCP so I can use my own. Maybe now I can get rid of the extra adapters too 🙂 Thanks!

    Reply
  2. Mat says

    July 28, 2013 at 6:58 pm

    Update for VMWare Player 5.0.2:

    The UI comes already along with the player.
    go to the vmware-directory and run in elevated cmd.exe-box
    rundll32.exe vmnetui.dll VMNetUI_ShowStandalone

    Reply

Trackbacks

  1. Finding vmnetcfg.exe in VMware Player 3.1.4 | RedNectar's Blog says:
    July 20, 2011 at 3:10 am

    […] Player, but is buried very deep and you need to know where to look to find it. Thanks mostly to this post, based on an earlier version, I was able to find vmnetcfg.exe in VMware Player v3.1.4. Here’s […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.