linux – 网卡位置

我一般都熟悉hpacucli和hpasmcli但是如何确定网卡安装在哪个插槽中?我需要能够映射到插槽和MAC(从那里到 Linux看到的接口),但是SHOW SERVER只给出了板载端口的MAC.谢谢!

此外,我知道远程照明驱动灯的技术,以便数据中心的技术人员进行热交换 – 网卡是否有类似的功能

解决方法

与使用ID灯标识服务器或特定磁盘类似,ethtool实用程序具有-p开关:

-p –identify
Initiates adapter-specific action intended to enable an operator
to easily identify the adapter by sight. Typically this involves blinking one or more LEDs on the specific network port.

或者,Linux下的/ sys目录将具有到PCI端口的正确映射(在这种情况下,两个板载NIC和第二个双端口PCI卡):

# find /sys | grep -e eth.*/address
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/net/eth0/address
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/net/eth1/address
/sys/devices/pci0000:00/0000:00:07.0/0000:03:00.0/net/eth2/address
/sys/devices/pci0000:00/0000:00:07.0/0000:03:00.1/net/eth3/address

相关文章

/etc/sysctl.conf这个目录主要是配置一些系统信息,/etc/sys...
1.作用 useradd或adduser命令用来建立用户帐号和创建用户的起...
它们都是多模式编辑器,不同的是vim 是vi的升级版本,它不仅...
不管是我们在安装软件还是监测软件的使用性能,我们都要随时...
装好Tomcat7后,发现除了本机能访问外界访问不了,岂有此理。...
修改防火墙配置需要修改 /etc/sysconfig/iptables 这个文件,...