Vmware-linux Virtual Machine Internet configuration

Source: Internet
Author: User

Read a lot about other people to configure the virtual machine online method, are not very useful. Before looking for a lot of information on the Internet, it took a long time to solve the internet problem. Now want to write something, put my fast configuration Linux Internet method to share:

Note: This machine uses the CentOS6.5 inside is the application SECURECRT connection. Do not use DHCP to automatically assign IP addresses, or you will need to look at specific IPs each time you use SECURECRT. I don't think many Linux distributions are much worse.

The first step: first to ensure that the window host to the Internet.

Step Two: Network adapter for VMware virtual Machine selection Settings-Select Select as Nat mode.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/7B/wKioL1SERhagCVBEAAKi0ttdR5w445.jpg "title=" Qq20141207201446.png "alt=" wkiol1serhagcvbeaaki0ttdr5w445.jpg "/> Step three: Start configuring the virtual machine IP.

Vi/etc/sysconfig/network-scripts/ifcfg-eth0

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/7D/wKiom1SERm3wD3rvAAGax4w9yRk699.jpg "style=" float: Left; "title=" Qq20141207202147.png "alt=" Wkiom1serm3wd3rvaagax4w9yrk699.jpg "/>

The inside needs to be set

Onboot=yes (This is for power-on self-booting)

Bootproto must be set to None (default is DHCP)

Then set the IP (can be any of this network segment, do not conflict with the previous line)

Subnet mask

The gateway is ready.








Fourth step: Enter window's network control center, the following steps are: Control Panel and network and internet-> network connection, then find VMnet8.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/7D/wKiom1SESOyjBqkbAAJNBa-wuuI121.jpg "title=" Qq20141207203024.png "alt=" wkiom1sesoyjbqkbaajnba-wuui121.jpg "/> After viewing VMnet8 properties, click TCP/IP protocol, Inside the IP as long as the 192.168.13 this network segment is OK, but do not and before the IP conflict, here gateway must be written and Ifcfg-eth0 gateway, otherwise is unable to surf the internet.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/7D/wKiom1SESfbSN3DRAAGmG5KsSpk550.jpg "title=" Qq20141207203428.png "alt=" Wkiom1sesfbsn3draagmg5ksspk550.jpg "/>

Fifth step: After entering the virtual network configurator, vmware-> Edit, select VMnet8 click Nat Mode, be sure to remove the use of local DHCP before the check.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/7B/wKioL1SESF_AHLeUAAKiDCNjPCg148.jpg "title=" Qq20141207202748.png "alt=" Wkiol1sesf_ahleuaakidcnjpcg148.jpg "/>

The sixth step: in the inside you just need to restart the virtual Machine Network service on the line. Go to virtual machine execution

Service Network restart

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/7B/wKioL1SES3eil6crAAOPtwqRfkY261.jpg "title=" Qq20141207204102.png "alt=" Wkiol1ses3eil6craaoptwqrfky261.jpg "/>


Pure handwriting, hope to help everyone!

What is the problem, can leave a message, at any time solve!

This article is from the "Shiven" blog, make sure to keep this source http://9442952.blog.51cto.com/9432952/1587342

Vmware-linux Virtual Machine Internet configuration

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.