如何找到连接哪种Linux接口LAN线?
我有一台具有3个可见以太网端口的机器。但是,IFConfig正在显示7个接口。
我已经在可见的以太网端口上连接了LAN线,但不知道连接Linux接口的名称。
我该如何检查?
I have a machine with 3 visible ethernet ports. However, ifconfig is showing 7 interfaces.
I have connected LAN wire on visible ethernet port but don't know name of linux interface on which LAN wire got attached.
How can I check it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用Ethtool让NIC灯光闪烁,即
EthTool -P Eth0
。更多信息: https://man7.org/linux/man-man-pages /man8/ethtool.8.html
You can use ethtool to let the NIC light blink, i.e.
ethtool -p eth0
.More here: https://man7.org/linux/man-pages/man8/ethtool.8.html