当前位置:网站首页>The network card fails to start after the cold migration of the server hard disk
The network card fails to start after the cold migration of the server hard disk
2022-07-03 13:22:00 【Brother Xing plays with the clouds】
1、 After migration , There will be one of the network cards that cannot be started (eth0 or eth1)
[[email protected] ~]# ifup eth0
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
Device eth0 does not seem to be present, delaying initialization.
2、 Delete file
[[email protected] ~]# mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.bak
3、 Comment out the file ifcfg-eth0 And ifcfg-eth01 in MAC Address (HWADDR)
[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
#HWADDR=“XX:XX:XX:XX:XX:XX”
ONBOOT=yes
TYPE=Ethernet
4、 restart The server ( It's hard to restart the network card )
Extension description :
The main reason for this problem is that we unplug the hard disk and remove it from one The server Move to another one The server in the future , Two server network cards MAC Different addresses , So we need to clear the original server configuration file MAC Address , Reload the new server after restart MAC Address , The network card starts successfully .
Of course, network cards caused by similar situations MAC The inconsistency between the address information and the configuration file will lead to similar errors in the network card startup prompt .
边栏推荐
- This math book, which has been written by senior ml researchers for 7 years, is available in free electronic version
- Slf4j log facade
- R语言使用data函数获取当前R环境可用的示例数据集:获取datasets包中的所有示例数据集、获取所有包的数据集、获取特定包的数据集
- 106. 如何提高 SAP UI5 应用路由 url 的可读性
- 2022-02-11 heap sorting and recursion
- Asp.Net Core1.1版本没了project.json,这样来生成跨平台包
- Flink SQL knows why (7): haven't you even seen the ETL and group AGG scenarios that are most suitable for Flink SQL?
- sitesCMS v3.0.2发布,升级JFinal等依赖
- MySQL_ JDBC
- 道路建设问题
猜你喜欢

Sword finger offer 12 Path in matrix

Flink SQL knows why (16): dlink, a powerful tool for developing enterprises with Flink SQL

Multi table query of MySQL - multi table relationship and related exercises

显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti

MyCms 自媒体商城 v3.4.1 发布,使用手册更新

Annotation and reflection

Sword finger offer 14- ii Cut rope II

When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution

剑指 Offer 12. 矩阵中的路径

Kivy教程之 盒子布局 BoxLayout将子项排列在垂直或水平框中(教程含源码)
随机推荐
Libuv库 - 设计概述(中文版)
untiy世界边缘的物体阴影闪动,靠近远点的物体阴影正常
剑指 Offer 14- II. 剪绳子 II
今日睡眠质量记录77分
18W word Flink SQL God Road manual, born in the sky
Logback 日志框架
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
106. How to improve the readability of SAP ui5 application routing URL
Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
Kotlin - improved decorator mode
The R language GT package and gtextras package gracefully and beautifully display tabular data: nflreadr package and gt of gtextras package_ plt_ The winloss function visualizes the win / loss values
PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
MySQL_ JDBC
这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看
Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory
Tencent cloud tdsql database delivery and operation and maintenance Junior Engineer - some questions of Tencent cloud cloudlite certification (TCA) examination
PowerPoint 教程,如何在 PowerPoint 中将演示文稿另存为视频?
Flick SQL knows why (10): everyone uses accumulate window to calculate cumulative indicators
Multi table query of MySQL - multi table relationship and related exercises
刚毕业的欧洲大学生,就能拿到美国互联网大厂 Offer?