VirtualBox installation CENTOS7 configuration Bridge Network card, the realization of the host and virtual machine interoperability, virtual machine can access the external network, to solve the problem of Internet access

Source: Internet
Author: User
Tags centos

Watch the video
1. VirtualBox quickly set up virtual machine Centos7-mini, configure bridge Network, realize and host interoperability, virtual machine can access the extranet link: https://pan.baidu.com/s/1dE5EYnn Password: Efds
2.virtualbox Rapid replication Virtual Machine Bridge network, implementation and host interoperability, virtual machine can access the extranet link: Https://pan.baidu.com/s/1c1UJyla Password: DBGF


VirtualBox installation CENTOS7 configuration Bridge network card, to achieve host and virtual machine interoperability, virtual machine can access the network, to solve the problem of Internet virtualbox:5.1.22 r 115126 Host: fedora25 virtual machine: centos7-64 bit ( Centos-7-x86_64-dvd-1611.iso)
1. Get host IP subnet Mask Gateway DNS ETC 1.1 Get host information Nmcli Conn SHOW-A nmcli conn Show ' connection name ' Note Host IP 172.18.7.124 subnet mask 22 (255.255.252.0), if 24, That mask is 255.255.255.0 gateway 172.18.7.254 DNS1 172.17.3.101 DNS2 172.17.3.102
2. Install Centos-mini version 2.1 new virtual Machine
2.2 Modify the virtual machine NIC mode to bridge, and note the virtual machine MAC address
2.3 Mount Centos7 Mirror
2.4 Start the installation (using the default option, the specific procedure is omitted, here is the minimal installation)
2.5 Installation is complete, click Restart

3. Configure the network card 3.1 Enter the user name and password, log on to the system
3.2 IP addr, view IP,
3.3/etc/sysconfig/network-script/Modify the network adapter configuration
3.4 Modify the following: IP address requirements with the host in the same network segment Within

4. Test connectivity (host to virtual machine, virtual machine to host, virtual machine to extranet) 4.1 Restart the network to check that the IP is in effect
4.2 check and host extranet connectivity
4.3 check host to virtual machine connectivity

Configuration 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.