centos开机无法加载eth0
【centos开机无法加载eth0】今天小组成员碰到一个情况:
centos6.9只有eth0网卡,但是每次开机启动后都显示的是eth2
经查找,和开机mac自启动网卡有关,涉及文件
/etc/udev/rules.d/70-persistent-net.rules
[imkindu@centos6 scripts]$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:96:be:9c", ATTR{type}=="1", KERNEL=="eth*",NAME="eth0"
推荐阅读
- pycharm中terminal无法打开的问题解决办法
- Centos8中如何使用Chrony同步时间
- React报错之无法在未挂载的组件上执行React状态更新
- macOS 已损坏无法打开的解决办法
- Spring|Spring Boot 无法访问静态资源-404
- 无法访问mybatis.dto.StudengInVO-使用maven编译报错-2022新项目
- 面试|centos安装mysql8
- 肩颈无法放松(试试帮自己头皮按摩吧!)
- 公平和效率
- 区块链创新大赛|CentOs7.6搭建fabric1.4