(i) After installing VMware, open cmd command line input services.msc enter the service window
Open Dhcp,nat Service
(ii) Open VMware Workstation, menu bar Options----Edit Virtual network editor,
Click Nat settings to see the VMware Network Adapter VMnet8 Gateway NAT settings: Gateway IP (G): 192.168.253.2
So now let's list the IP at this time:
You can see the VMware Network Adapter VMnet8 with the Cmd-->ipconfig host input:
(iii) network configuration in Ubuntu14.04:
Ubuntu Network configuration information is placed in/etc/network/interfaces (sudo gedit/etc/network/interfaces)
1. If the configuration dynamically acquires IP, add the following to the above file:
Auto Eth0
Iface eth0 inet DHCP
2. If you configure a static IP, add the following:
Auto Eth0
Iface eth0 inet Static
Address 192.168.253.X (3~255)
Netmask 255.255.255.0
Gateaway 192.168.253.2 (This is the gateway IP inside the NAT configuration information)
3. Configure the DNS server
Ubuntu DNS server information, placed in the/etc/resolv.conf,
Add a DNS server address, such as 202.112.125.53, in the file above
NameServer 192.168.253.2 (This is the gateway IP inside the NAT configuration information)
4. Restart the Network Service
sudo /etc/init.d/networking Restart
(iv) Successful visit!
VMware under ubuntu14.04 Nat Way Online