Installing centos6.5 network settings on virtual machine Oracle VirtualBox

Source: Internet
Author: User

The previous article writes, installs the centos6.5 on the virtual machine, the result according to the article very smoothly installs, but uses the Yum installs the software, the error, the source has the question, cannot download, then pings the ferry, very sad urges


DNS cannot parse, cat/etc/resolv.conf, Discovery is empty, add the following parsing


Ping the Find or not


Use the Ifconfig command to check the configuration of the network card, found that the configuration is a problem, first configure

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


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


Once configured, restart the network



At this time Ping the ferry, network OK,, if there are other network problems, you can look at the iptables settings, to see if it is a firewall problem

The IP address in the figure is the local area network IP address of the blogger, and when set, you need to set up your own LAN IP address.

Installing centos6.5 network settings on virtual machine Oracle VirtualBox

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.