Set static IP for CentOS7 under VMware

Source: Internet
Author: User

Setting a static IP for CentOS7 under VMware can be divided into three main steps:

1. Setting up VMware-created virtual networks in Windows

2. Setting up VMware as a static IP

3. Set the CENTOS7 network as a static IP

First come to the control Panel

, click on "VMware Network Adapter VMnet8" to see the interface as shown

Click Properties and we can see the next screen.

Double-click the section in the red box, and you can see the following screen

The section in the red box can be modified or not modified, to see what you like, remember that the above numbers will be used, and then in Windows This section of the setup is complete, the following into the VMware

Click on the "Virtual network editor" to set up, anyway, my subnet IP did not change, or follow this to, careful point can be found that the subnet IP of the first three paragraphs and before the IPV4 IP is the same. Follow the following interface:

After clicking on the NAT setting, the following interface will be available

Gateway IP When I click on the NAT setting it is 192.168.11.2, so I don't have to do what settings, finally click OK, and then save the previous changes, the changes made in VMware ended

The following starts the setup of CentOS 7 and edits the file, which may vary depending on the system situation

Then follow the configuration changes, IP address of the last one can be set in between 10~160, anyway, I was set up

After modifying and saving, you can restart the CentOS Network service.

# Systemctl Retart Network.service

Here you can see that it's OK, and then try to connect remotely with putty.

Set static IP for CentOS7 under VMware

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.