Dha*_*era 6 centos ethernet network-interface
我正在使用 centos 7。我正在输入命令
ip地址显示eth0
但它的回复Device "eth0" does not exist。
Device "eth0" does not exist
dr_*_*dr_ 6
在 CentOS 中,网络接口的命名不同。所以它们不被称为eth0or eth1,而是具有像eno1or 之类的名称enp2s0。(来源。)
eth0
eth1
eno1
enp2s0
运行ip addr以查看这些接口在您的系统上是如何命名的。
ip addr
这些名称在/etc/sysconfig/network-scripts/ifcfg-<iface>. 如果您真的愿意,您可以更改它们的名称,但我不建议这样做。
/etc/sysconfig/network-scripts/ifcfg-<iface>
归档时间:
7 年,1 月 前
查看次数:
17230 次
最近记录:
5 年,10 月 前