A. 怎么查看linux光纤网卡数
使用setup 命令,看网卡具体型号。一般光口网卡都是10Gb的。 使用lspci |grep Network 查看网卡具体型号确定。 使用ethtool eth* 命令查看网卡详细信息,port 类型为:FIBRE 的即时光口网卡。
B. linux查可以用的网卡
在提示符状态下,输入 ifconfig -a 命令,即可以查看能够使用的网卡。
C. linux多网卡机上如何通过工具查看各网卡是否接入网络
一、通过mii-tool指令
[root@linuxzgf ~]# mii-tool
//mii-tool主要是用于配置网卡工作模式的指令,同时也可以进行查询、监控等工作!
二、ethtool
[root@linuxzgf ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
从上面 Link detected 可以看出eth0 处于连接状态
三.[root@linuxzgf ~]# /etc/init.d/network status
配置设备:
lo eth0 eth0.10 eth0.2 eth0.3 eth0.4 eth0.5 eth0.7 eth0.8 eth1
当前的活跃设备:
lo eth0 eth0.10
[四、ifconfig -a
[root@linuxzgf ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:81:80:D8:96
inet6 addr: fe80::2e0:81ff:fe80:d896/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:626032 errors:0 dropped:0 overruns:0 frame:0
TX packets:415035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:123631002 (117.9 MiB) TX bytes:297575498 (283.7 MiB)
Base address:0x2000 Memory:df300000-df320000
eth1 Link encap:Ethernet HWaddr 00:E0:81:80:D8:97
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x2020 Memory:df320000-df340000
五、lspci也可以看到网卡的信息
D. 查看Linux系统有几块网卡
# lspci | egrep -i --color 'network|ethernet'
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
E. 怎样查看 linux 的网卡信息
查看 linux 的网卡信息步骤如下:
工具原料:linux操作系统
①启动 linux 操作系统,进入到桌面;
④linux 的网卡信息解读:
1.查看网卡生产厂商和信号:
查看基本信息:lspci
查看详细信息:lspci -vvv # 3个小写的v
查看网卡信息:lspci | grep Ethernet;
2.查看网卡驱动:
查看网卡驱动信息:lspci -vvv # 找到网卡设备的详细信息,包括网卡驱动
# lsmod 列出加载的所有驱动,包括网卡驱动;
3.查看网卡驱动版本
查看模块信息:modifo<mole name> # 其中包含version信息或 # ethtool-i <device name>;
4.查看网络接口队列数
查看网卡接口的中断信息:#cat /proc/interrupts | grep eth0或 # ethtool-S eth0;
5.查看网卡驱动源码的版本号
解压Intel网卡驱动源码,打开解压缩目录下的*.spec文件查看驱动的版本;
F. 查看linux 系统 当前使用的网卡
用ifconfig
就可以查看了,如果你的网卡都是以太网类型那么还可以用mii-tool工具来查看网卡的状态信息,用ifup
/ifdown
命令来启动和停止单个网卡比如ifup
eth0
不过你也可以用network
服务一次搞定多个网卡的设定,前提是你要先配置好各个NIC网卡配置文件
G. 怎么确认linux系统是双网卡
1.首先咱们查看一下,当前系统的网卡参数。可以看到除了一个回环网卡“lo”和虚拟网卡“virbr0”之外,就只有一块网卡“ens33”。 2.现在咱们给它添加一块网卡,然后查看一下网卡的参数,可以看到已经多了一块网卡“ens36” 3.但我们去配置文件目录“/etc/sysconfig...”
H. Linux下如何查看自己的服务器有没有无线网卡
Linux下可通过以下步骤查看自己的服务器有没有无线网卡:
1、首先找到系统中的“计算机”;
2、选中“计算机”,右键双击“管理”;
3、点击“计算机管理”,在右窗格中选择“设备管理器”;
4、在中间窗格中找到“网络适配器”;
5、在“网络适配器”下面,会列出当前电脑所有的网卡设备,其中带有“WiFi”字样的网络设备就是无线网卡,此种情况则说明无线网卡存在,反之,则无线网卡不存在。
友情提示:一般的 PC 电脑在驱动都安装完成的情况下,如网络适配器列表下只有一个网卡设备的话,就意味着当前电脑没有无线网卡。
I. 查看linux 系统 当前使用的网卡
watch cat /proc/net/dev
看下哪张网卡的流量变化大一般就是哪张网卡是在线使用的
网卡禁用启用要确定在线服务的网卡下,免得把服务器给断网了
ifup eth1 激活eth1网卡
ifdown eth1 关闭eth1网卡
如果要完全禁用网卡
vi /etc/sysconfig/network-scripts/ifcfg-eth1
onboot=NO