Restart the network service in linux (clone a VM)

Source: Internet
Author: User

1. ping unknown host www.baidu.com

Error cause: Generally the NIC is not started


View All NICs


View started NICs


Start and view an unstarted Nic


Pinging again is still incorrect

Restart NETWORK SERVICE

Service network restart or/etc/init. d/network restart


2. device eth0 does not seem to be present delaying initialization error cause: the device eth0 is not found (this error is usually caused by a clone virtual opportunity)



Run service network status to view the status


The configured device is eth0. The currently active device is eth1.

Run the following command:




Change eth0 to eth1

An error occurs when you restart the network service.

3. device eth1 has different mac address than expected ignoring

Error cause: mac address Mismatch

Mac address of the currently running Device


Mac address in the configuration file


Change the mac address in the configuration file to the running mac address to restart the network service.



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.