VMware virtual machine set static IP address

Source: Internet
Author: User

First, install the virtual after the menu bar select edit → Virtual network editor, open the Virtual Network Editor dialog box, select Vmnet8 net network connection mode, set the subnet IP, click the NAT Settings page, view the subnet mask and gateway , The subsequent modification of the static IP will be used.

Second, check the host VM8 NIC settings, open network and sharing center → change adapter settings →, right-click on the VMware Network Adapter VMnet8, select the Properties button to open the Properties dialog box.

Third, change the IP configuration of the virtual machine system NIC

Vim/et/sysconfig/network-scripts/ifcfg-etho

Revision changed to

Bootproto=static #dhcp改为static onboot=yes #开机启用本配置IPADDR =192.168.6.117 #静态IPGATEWAY =192.168.6.2 #默认网关NETMASK = 255.255.255.0 #子网掩码DNS1 =8.8.8.8 #DNS Configuration

Restart the NIC

Service Network restart

VMware virtual machine set static IP address

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.