服務器為 DELL R430(Intel x520萬兆網卡)
安裝 CentOS 6/7 后,發現只能識別到一個萬兆網卡、插到左邊網口aoc線 識別到p1p1 插到右邊 識別到p1p2 有如下類似提示
allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (uint)
Reload the driver after installing a supported module.
解決操作
卸載驅動程序
$ rmmod ixgbe
重新加載驅動,並信任第三方模塊
$ modprobe ixgbe allow_unsupported_sfp=1
確認驅動已經加載
$ lsmod | grep ixgbe
查看ip addr可以看到網卡
配置開機自動啟動
vi /etc/rc.d/rc.local
rmmod ixgbe
modprobe ixgbe allow_unsupported_sfp=1
增加 /etc/rc.d/rc.local 文件的執行權限
chmod +x /etc/rc.d/rc.local
重啟驗證
reboot