1 .通過ifconfig -a發現有網卡找不到,並且配置沒有問題,那么很可能是光模塊有問題
2 .dmesg | grep 82599EB ,通過這個命令過濾發現有如下信息:
[ 7142.121979] ixgbe 0000:01:00.0 em1: WARNING: Intel (R) Network Connections are quality tested using Intel (R) Ethernet Optics. Using untested modules is not supported and may cause unstable operation or damage to the module or the adapter. Intel Corporation is not responsible for any harm caused by using untested modules.
[ 6828.735097] ixgbe 0000:01:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
3 .82599EB型號的網卡默認只支持自家的模塊,第三方模塊不兼容。要暫時解決這個問題我們可以通過修改網卡參數來使網卡可用,但是要長期使用還是建議模塊用配套的intel的。
使用如下命令可以使網卡可用:
modprobe -r ixgbe //卸載光模塊驅動
modprobe ixgbe allow_unsupported_sfp=1,1 //允許系統支持網卡不支持的模塊,其中”1,1“代表port_1和port_2