The Virtual Machine is configured properly and can ping the physical machine but cannot access the Internet.

Source: Internet
Author: User


First ensure that the virtual machine Nic configuration is correct. [root @ deng/] # vi/etc/sysconfig/network-scripts/ifcfg-eth0
Www.2cto.com and then check that dns points to the correct one. [root @ deng/] # vi/etc/resolv. confnameserver 192.168.1.1 check whether the mck address is the same in three locations if the newly added Nic is used !! 1. mac in Virtual Machine Settings
Www.2cto.com 2. [root @ deng/] # vi/etc/sysconfig/network-scripts/mac.3. [root @ deng/] # vi/etc/udev/rules in the ifcfg-eth0 file. mac in the d/70-persistent-net.rules file. # PCI device 0x1022: 0x2000 (pcnet32)
SUBSYSTEM = "net", ACTION = "add", DRIVERS = "*", ATTR {address} = "00: 0c: 29: be: 48: 88 ", ATTR {type} =" 1 ", KERNEL =" eth * ", NAME =" eth0 ". If both are correct, the IP address used is in conflict with others!
 

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.