服务器为 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