VMWare Workstation network issue involving static ip of virtual network manager

Impatience guide to vmware networking or how to give static IP to a virtual machine using vmnet8 nat or other interfaces from virtual network editor.

  1. Always remember that DNS1 and Gateway starts from x.x.x.2 
  2. Both DNS1 and gateway have same IP.
  3. Bridging is another term for connecting two machine using  a switch.
Always Make sure following parameter are set up in the /etc/sysconfig/network-scripts/ifcfg-eno16333 file

TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.128.10.11
PREFIX=16
NETMASK=255.255.0.0
GATEWAY=10.128.0.2
DNS1=10.128.0.2
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=64fb0517-4650-48f0-8228-3c80b3b31cd9
ONBOOT=yes
           
Advance network configuration in VMware:

There is a way to give a static ip using advance vmware workstation feature by editing a file.
From vmware website: https://www.vmware.com/support/ws45/doc/network_nat_details_ws.html

Custom NAT and DHCP Configuration on a Windows Host
If you are an advanced user on a Windows host computer, you may wish to make custom configuration settings by editing the NAT and DHCP configuration files. If your host operating system is installed on the C drive, the configuration files for NAT and DHCP are in the following locations:

  • NAT: C:\Documents and Settings\All Users\Application Data\VMware\vmnetnat.conf
  • DHCP: C:\Documents and Settings\All Users\Application Data\VMware\vmnetdhcp.conf



Comments

Popular Posts