I. Environment
Host |
Win 8.1 |
Virtual Machine Tools |
VMware 1, 10.0 |
VM System |
Ubuntu 14.04 |
Ii. DescriptionNote that VMware uses the following rules for vmnet8 (192.168.174.0 network segment as an example ):
The first address (192.168.174.1) is a static address, which is used by the VMware network adapter vmnet8 adapter assigned to the host machine; the second address (192.168.174.2) is a static address, which is allocated to the NAT device; 192.168.174.3-192.168.174.127: static address, reserved; 192.168.174.128-192.168.174.254: DHCP scope address range, allocated to virtual machines; 192.168.174.255: broadcast address.
This is the case with Vmware installed by default.
Iii. View host VM connection information
1. Obtain the IP address of vmnet8Run the "ipconfig" command in the host win 8.1 to obtain the vmnet8 IP Address: 192.168.174.1
2. view available IP address rangesOpen VMware and click Edit> Virtual Network editor to go to the virtual network interface card parameter settings page, as shown in figure: Click DHCP settings to view the available IP address range: 192.168.174.128-192.168.174.254
Iv. static IP Address Settings
1. view the Virtual Machine network status informationOpen the Virtual Machine and view the network connection information of the current virtual machine:
IP Address: 192.168.174.130 subnet mask: 255.255.255.0 Gateway: 192.168.174.2dns: 192.168.174.2
2. Configure connection informationOpen the network editing page and add a network connection (1) set to manual; (2) IP Address: 192.168.174.130 (consistent with the front side); (3) subnet mask: 255.255.255.0 (consistent with the previous query); (4) Gateway: 192.168.174.2 (consistent with the previous query); (5) DNS: 192.168.174.2 (consistent with the previous query); restart the network, solved successfully.
This article is from the "Forever Love" blog. Please keep this source for reprinting at http://www.cnblogs.com/dwf07223/p/4012386.html.
Static IP Address Setting for Ubuntu 14.04 in VMware