Intel X550网卡开启2.5G、5G自动协商

·

Windows

Windows自带的X550驱动是支持2.5G、5G自动协商的,但是较新的intel官方驱动是不支持的。这会导致使用较新的intel驱动时,X550网卡插在2.5G交换机上,会反复丢失连接(网卡在红叉和连线状态反复横跳)。在Windows平台上解决起来比较方便,直接在网卡设置里设定速度就可以了。

Linux

X550网卡官方说明文档
修改后的网络启动脚本
root@truenas[/]# cd /etc/network
root@truenas[/etc/network]# ls
if-down.d  if-post-down.d  if-pre-up.d  if-up.d  interfaces  interfaces.d
root@truenas[/etc/network]# cat interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
auto enp5s0f0
iface enp5s0f0 inet dhcp
pre-up ethtool -s enp5s0f0 advertise 0x1800000001028 || true
auto enp5s0f1
iface enp5s0f1 inet dhcp
pre-up ethtool -s enp5s0f1 advertise 0x1800000001028 || true
root@truenas[/etc/network]# 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注