Configuring VMWare Player Virtual Networks
This write-up discusses two items,
- to assign fastened IP handle to interfaces of visitor systems through VMWare’s DHCP server
- and to adjust virtual subnet placing for virtual Ethernet segments applying the
Assigning Set IP Deal with
VMWare Participant arrives with a DHCP server that permits the visitor systems to instantly configure their IP community settings. By configuring the DHCP server, we can obtain the automobile-configuration function.
On Home windows hosts, the configuration file of the DHCP server is located at listing
%ProgramData%VMWare. As an illustration, I exhibit the benefit of
C:>echo %ProgramData%VMWare C:ProgramDataVMWare
In the listing is the configuration file, i.e.,
vmnetdhcp.conf. We can increase host entries to the configuration file to assign fastened IP addresses to visitor functioning systems. Below is an illustration that assigns IP handle 192.168.101.127 to MAC handle 00:0c:29:22:twelve:4c in the virtual Ethernet segment 8.
# Virtual ethernet segment 8 # Included at 08/06/fifteen ten:fifty seven:08 subnet 192.168.101. netmask 255.255.255. selection 192.168.101.128 192.168.101.254 # default permits up to one hundred twenty five VM's solution broadcast-handle 192.168.101.255 solution domain-identify-servers 192.168.101.two solution domain-identify "localdomain" solution netbios-identify-servers 192.168.101.two solution routers 192.168.101.two default-lease-time 1800 max-lease-time 7200 host VMnet8 components ethernet 00:50:56:ten:00:01 fastened-handle 192.168.101.one solution domain-identify-servers ... solution domain-identify "" solution routers ... host Ubuntu components ethernet 00:0c:29:22:twelve:4c fastened-handle 192.168.101.127 solution domain-identify-servers 192.168.101.two solution domain-identify "" solution routers 192.168.101.two
Modifying Virtual Subnet Setting
A person specific challenge I often face is that the IP subnet placing is always transformed when I improve or reinstall VMWare Participant. For instance, in the over IP assignment illustration, the virtual Ethernet segment 8 is assigned a subnet of 192.168.101. with net mask 255.255.255. (i.e., 192.168.101./24) nonetheless, when I reinstall VMWare Participant, the Ethernet segment 8’s subnet assignment might develop into 192.168.157. with net mask 255.255.255. or some other benefit.
A straightforward method to adjust the Ethernet segment’s subnet assignment again to the first benefit or any other legitimate benefit is to use the
vmnetcfg instrument is a element of VMWare Workstation nonetheless, it does not occur with VMWare Participant. Due to the fact we can download VMWare Workstation demo model from VMWare’s web-site, we can extract the instrument from the installation package and use it with VMWare Participant.
Two great posts that served me and depth how 1 might extract the
vmnetcfg instrument from VMWare Workstation installation package and how 1 might use the instrument to reassign a subnet to a virtual Ethernet segment are,
- Obtain vmnetcfg.exe & vmnetcfglib.dll for VMware Participant 6.x & seven.x
- VMWare Interfaces Tutorial
For the impatient, the user interface of the
vmnetcfg instrument seems to be as follows,
It is noticeable that 1 can adjust the subnet assignment to a picked virtual Ethernet segment.