How to set up a bridged Internet connection after Linux VMware installation is complete

Source: Internet
Author: User

Linux host after the initial installation is still unable to surf the internet, how to set up a shared Internet

1 First of all to understand the Internet mode: Virtual Machine network card-------------------VMNET1--------------------Real Machine network card (open sharing), using the Host-only way

So what to do:

First step: Set the Internet mode to Host-only, then turn on the virtual machine

Step two: Set up host sharing

At this point: Vmnet1 address will change, record, is 192.168.137.1

Step three: Modify the IP address in CentOS to correspond to the address of the VMNET1

Modify the IP address under CentOS to correspond to the address of the VMNET1

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

or install using the Setup command

Set IP address, DNS address

then modify the Onboot=yes;

Then save the Restart service network restart

In this way, the virtual machine and the Vmnet1 are in the same network segment.

It's actually the same way I set up my home.

and then patched.

Yum Update

How to set up a bridged Internet connection after Linux VMware installation is complete

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.