Ubuntu KVM host network problems

Source: Internet
Author: User

NextArticle: Http://blog.csdn.net/sheismylife/article/details/8010040

After my previous article is completed, there will be some strange phenomena:

1. After logging on to the host through SSH from other machines, the connection will not be available after a while, and then SSH will not be able to log on until the network service of the host machine is restarted. (It has been found that the company's network conflicts with the IP address of another machine)

2. The host machine cannot connect to the Internet.

3. This row is missing from the routing table:

IP Route list

Default via 10.112.18.254 Dev br0

Reference solution: http://askubuntu.com/questions/179508/kvm-bridged-network-not-working

Run the following command once:

Sudo dhclient br0 &

After this command is executed, the missing route rule is automatically added.

Now it is normal.

This situation is not encountered in another network environment. After Ubuntu is installed, KVM is installed. No problem occurs after the NIC is set. Therefore, it is estimated that the previous problem is caused by incorrect IP addresses and incorrect gateway settings.

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.