The problem that the host cannot access the Internet, but the virtual machine can access the Internet

Source: Internet
Author: User

If the host cannot access the Internet, but the virtual machine can access the Internet, the host cannot access the Internet, but the virtual machine can access the Internet. This is enough to prove that the network is normal and it must be configured incorrectly. Most people prefer to use the interface for viewing, and I am no exception. Open the local connection -- Property -- ip4. After reading the ip configurations of the host machine and virtual machine, I found that there is no difference. why can't the host machine access the Internet suddenly, but the Virtual Machine access the Internet? You can use ipconfig/all to check whether the above ip address is displayed in the same way as the configuration in the local connection, and then start interface operation-Disable-enable. Ipconfig/all found that it is still not changed and the configured ip address is different. Baidu found the following command: ipconfig/release first and ipconfig/renew. I found that the ip address was finally changed. I tried to get online. The host cannot access the Internet. Do not worry. 1. check whether the host and network are connected. check whether DNS is configured correctly. Solution: 1. in a windows command prompt, enter the command ipconfig/all to view the ip address and dns settings of the host, and check whether the default gateway and DNS are available, if you have not entered the command ipconfig/release, you can view it after entering ipconfig/renew. If it still does not exist, it may be a DHCP problem. You can only manually set the IP address and DNS. 2. If yes, test whether the configuration is correct. You can try ping8.8.8.8. If yes, the network is connected. Ping your gateway. If the general rule is incorrect, reset the gateway. If they are different, you need to reset your IP address.

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.