当前位置:网站首页>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 .
边栏推荐
- Asp.Net Core1.1版本没了project.json,这样来生成跨平台包
- Kivy教程之 如何通过字符串方式载入kv文件设计界面(教程含源码)
- 正则表达式
- 2022-01-27 use liquibase to manage MySQL execution version
- PostgreSQL installation
- Detailed explanation of multithreading
- The principle of human voice transformer
- Flink code is written like this. It's strange that the window can be triggered (bad programming habits)
- [today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay
- This math book, which has been written by senior ml researchers for 7 years, is available in free electronic version
猜你喜欢
显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti
双链笔记 RemNote 综合评测:快速输入、PDF 阅读、间隔重复/记忆
The difference between stratifiedkfold (classification) and kfold (regression)
剑指 Offer 14- II. 剪绳子 II
rxjs Observable filter Operator 的实现原理介绍
PowerPoint 教程,如何在 PowerPoint 中将演示文稿另存为视频?
mysql更新时条件为一查询
【历史上的今天】7 月 3 日:人体工程学标准法案;消费电子领域先驱诞生;育碧发布 Uplay
regular expression
Road construction issues
随机推荐
Libuv库 - 设计概述(中文版)
Mysql database basic operation - regular expression
SLF4J 日志门面
8皇后问题
mysqlbetween实现选取介于两个值之间的数据范围
February 14, 2022, incluxdb survey - mind map
MySQL constraints
SQL learning notes (I)
MyCms 自媒体商城 v3.4.1 发布,使用手册更新
In the promotion season, how to reduce the preparation time of defense materials by 50% and adjust the mentality (personal experience summary)
已解决TypeError: Argument ‘parser‘ has incorrect type (expected lxml.etree._BaseParser, got type)
Red Hat Satellite 6:更好地管理服务器和云
mysql更新时条件为一查询
File uploading and email sending
Luogup3694 Bangbang chorus standing in line
rxjs Observable filter Operator 的实现原理介绍
剑指 Offer 16. 数值的整数次方
Mysqlbetween implementation selects the data range between two values
2022-02-11 heap sorting and recursion
剑指 Offer 14- II. 剪绳子 II