VMware turns on DHCP and NAT services (VMware is not able to solve problems with NAT Internet access and communication with host hosts)

Source: Internet
Author: User

Recently in learning Hadoop, start making a cluster. Since the IP address of each node needs to remain constant, I decided to use NAT mode networking in VMware.

However, when installing the Ubuntu system, I was prompted that the DHCP service was not turned on.

Your Network is a probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware are not working properly.

As a novice, only know the difference between bridging and NAT, do not know what the DHCP. But "words too literally", since the DHCP service is not turned on, I went to the Windows Services list to find VMware's related services, and really found a vmware DHCP and VMware NAT services.

All right, open them up. As a result, another problem arises, saying that the system cannot find the specified file.

This is a good solution, open the service properties, and look at the path to the executable file:

found that the path does not find the EXE file for this service. This may be due to a VMware installation error or if VMware has been reinstalled, the path has changed (for specific reasons).

The reason is found, and the solution is to modify the executable path of the service in the registry:

(The method of modifying the service executable path can also be viewed here: https://jingyan.baidu.com/article/5d368d1ef577d43f61c05740.html)

1 The location of the registry was found: Hkey_local_machine\system\currentcontrolset\services\

2 Locate the corresponding service and then modify the ImagePath for the real service EXE path

PS: The principles and differences of the bridge mode, Nat mode, hostonly mode of VMware can be seen in this course, which is quite clear.

http://study.163.com/course/courseMain.htm?courseId=1546006

VMware turns on DHCP and NAT services (VMware is not able to solve problems with NAT Internet access and communication with host hosts)

Related Article

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.