Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos restarts the error report on the Nic after virtualbox replication

2025-02-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

After the centos cloned by virtualbox was started, ifconfig did not see eth0. Then restart the network card to report an error:

Service network restart

Shutting down loopback insterface: [OK]

Bringing up loopback insterface: [OK]

Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]

Because two network cards were configured before replication, two centos were started to compare / etc/udev/rules.d/70-persistent-net.rules and found that two network cards were added to the copied centos, namely the network card eth3,eth4. Then I checked the information on the Internet and found that it was because the mac address was redistributed after the copy, so the mac address of eth3,eth4 was copied to eth0,eth2, and then eth4,eth5.

After rebooting, it is found that ifconfig still does not have a network card, and service network restart still fails. Use the setup command to set up the eth0,eth2. Then restart the network card service, then ok.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report