Simple brute-fixed IP in VMware virtual machines

Source: Internet
Author: User

Virtual machine for a lot of test or in the study of the people in the test is a frequent, often use, but after the virtual machine restarts, many people encounter virtual machine IP changes, is a headache, I also encountered this problem in the learning process, Baidu a lot of ways, some methods for the network knowledge Small white is a little difficult, There are some sharing experience has not worked, after trying, summed up two simple rude, pro-test effective method, shared out, meet the person can do a reference, especially to small white, can quickly solve this problem, not in this small problem waste too much time, the big God can be ignored.

First of all, make sure you're in . Nat mode, this time by the VM8 virtual network card to provide the virtual machine IP allocation , the equivalent of a small DHCP server , unless you change the network connection of the virtual machine , or the Virtual network card service Properties , then the virtual machine When the IP lease expires , the IP is automatically assigned

Programme one:

This can keep the same IP for a long time, but the lease expires and is updated to the new IP

Ps: Longer found on the Web the direct cancellation of the use of the local DHCP service to assign IP addresses to the virtual machine can be fixed IP, after the trial is invalid, and not connected to the network, guess may be the version cause

Scenario Two:

After creating the virtual machine, nothing to change, directly query the current IP (using ifconfig instructions to prevent yourself setting up the network error, so that some insurance), then the current network editing can

After this setting, theIP is fixed, once and for all

Ps: Of course, there are some instructions to modify the IP, gateway, etc., for small Bailai said complex, difficult, this is two simple rough fixed IP approach, for reference only

Simple brute-fixed IP in VMware virtual machines

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.