暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

记录一次linux8中ifconfig未发现网卡

原创 朝印村的保安 2023-10-20
193

[root@orcl1 network-scripts]# nmcli n --查询网络状态
disabled

[root@orcl1 network-scripts]# nmcli n on --打开网络

[root@orcl1 network-scripts]# ifconfig --已发现网络
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.31.42 netmask 255.255.255.0 broadcast 192.168.31.255
inet6 fe80::20c:29ff:fe92:6f3 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:92:06:f3 txqueuelen 1000 (Ethernet)
RX packets 11940 bytes 17856886 (17.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2566 bytes 185788 (181.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 21 bytes 1700 (1.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21 bytes 1700 (1.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:e2:eb:f9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论