Virtual Machine (CentOS) bridging mode configuration

Source: Internet
Author: User
1. edit vm connection mode-edit virtual network-select bridge, and set VMnet information: Wired Network Adapter 2. set a virtual machine to select a virtual machine and configure the network adapter: select the bridge mode, that is, vmnet0. the IP address ensures that the virtual machine and the host machine are in the same network segment. If the IP address of the host machine is 192.168.0.2, the IP address of the VM should be from 192.168.0.1 to 192.168.

1. set vm connection mode

Edit-VPC edit-select Bridge, VMnet information settings: Wired Nic

2. set virtual machines

Select a virtual machine and configure the network adapter: Select the bridge mode, that is, vmnet0;

The IP address ensures that the VM and the host are in the same network segment. If the IP address of the host machine is 192.168.0.2, the IP address of the VM should be from 192.168.0.1 to 192.168.0.254.

3. bridging

In the bridge mode, the virtual machine and the host can ping each other,

I found that I can access the internet when using a dynamic IP address, but I cannot access the internet after setting a static IP address.So it is convenient to use dynamic IP during environment 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.