1、使用ifconfig命令查看网卡信息
ifconfig是linux中用于显示或配置网络设备(网络接口卡)的命令,英文全称是network interfaces configuring。ifconfig可设置网络设备的状态,或是显示当前的设置。
示例:
2、使用ethtool查看网卡
Ethtool是Linux下用于查询及设置网卡参数的命令。
使用概要:
示例:
[root@CentOS76 ~]# ethtool ens192 Settings for ens192: Supported ports: [ TP ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Supports Wake-on: uag Wake-on: d Link detected: yes [root@CentOS76 ~]#
登录后复制
免费视频教程分享:linux视频教程
以上就是linux如何查看网卡信息的详细内容,更多请关注Work网其它相关文章!