Eth1接口在ifconfig中不可见,不能与centos6中的其他服务器交互

时间:2018-05-12 06:06:29

标签: centos centos7 centos6

我刚刚在我的虚拟机上安装了centos 6,但是我无法找到eth1接口与我机器上的其他虚拟服务器进行交互。能帮忙吗?

ifconfig lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)

cat /etc/sysconfig/network

NETWORKING =是 HOSTNAME =的localhost.localdomain

1 个答案:

答案 0 :(得分:0)

要解决此问题,只需删除文件/etc/udev/rules.d/70-persistent-net.rules并重新启动系统。

rm /etc/udev/rules.d/70-persistent-net.rules