코드 블럭 |
---|
# cat /etc/udev/rules.d/70-persistent-net.rules | grep -v '#
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:a6:b7:18:d7:50", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b4:96:91:d5:79:c4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:a6:b7:18:d7:51", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b4:96:91:d5:79:c5", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:a6:b7:18:d5:58", ATTR{type}=="1", KERNEL=="eth*", NAME="eth4"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:a6:b7:18:d5:59", ATTR{type}=="1", KERNEL=="eth*", NAME="eth5"
# lshw -short -c net
H/W path Device Class Description
========================================================
/0/101/4/0 eth0 network Ethernet Controller X710 for 10GBASE-T
/0/101/4/0.1 eth1 network Ethernet Controller X710 for 10GBASE-T
/0/103/2/0 eth2 network Ethernet Controller E810-C for QSFP
/0/103/2/0.1 eth3 network Ethernet Controller E810-C for QSFP
/0/108/2/0 eth4 network Ethernet Controller E810-C for QSFP
/0/108/2/0.1 eth5 network Ethernet Controller E810-C for QSFP
# ls -al /sys/class/net/eth0/device/driver
lrwxrwxrwx ... /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/i40e
# ls -al /sys/class/net/eth3/device/driver
lrwxrwxrwx ... /sys/class/net/eth3/device/driver -> ../../../../bus/pci/drivers/ice
# ethtool -i eth3
driver: ice
version: 0.7.2-k
# wget https://downloadmirror.intel.com/763930/ice-1.10.1.2.2.tar.gz
# tar zxvf ice-1.10.1.2.2.tar.gz
# cd ice-1.10.1.2.2/src
# make
# make install
# reboot
# ethtool -i eth3
driver: ice
version: 1.10.1.2.2
# modinfo ice
version: 1.10.1.2.2
description: Intel(R) Ethernet Connection E800 Series Linux Driver
rhelversion: 7.9
... |
...