Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

X550-T2网卡接在2.5G交换机上Unraid无法正确上网,而直通给虚拟机又正常,怀疑驱动Bug?

Featured Replies

1.软硬件环境:

1.1.软件:Unraid6.92,虚拟windows10

1.2.硬件:尝试了了华擎Z490m-itx/ac(10900T)、超微X1SCA-F(2246G)等板U组合,外加X550-T2原装intel万兆网卡、tp-link—sh1008交换机(2.5Gbps)

2.目标:用一根网线连接X550-T2万兆网卡,为unraid提供外网,同时通过sr-iov方式为虚拟机提供外网

3.问题:如果将网线接到2.5G交换机上则获取不到ip(但接到千兆交换机则一切正常,Z490主板自带2.5G网卡一切正常,或者直接插到原生Windows系统中一切正常),查看日志记录发现该网卡间歇性断网,导致无法处于连接状态(且即使偶尔连同时网速也仅是千兆!)

1726948612_2_5G.jpg.823837c1f34967863198721743a67968.jpg

unraid仪表盘显示网卡位置也仅是千兆

1290719814_2_5G.jpg.a3fcf36040c941ea4fca1610563154fe.jpg

通过sr-iov方式直通给虚拟机的网卡也是一会儿断开一会儿连接,而直接物理直通给虚拟机的另一个网口则完全正常,满满的2.5G速率(下图为物理直通的网卡连接状态)

1878910901_.jpg.cb7864909b65ea0091a9238b54b394bf.jpg

4.猜测:unraid的X550-T2网卡的驱动有Bug,导致连接不稳定,请问有没有什么办法解决?谢谢!

可以升级至rc版测试一下。当然,如果不急,可以等正式版发布再升级。

  • Author

但是X550网卡都出来这么长时间了,unraid官方不可能没有研究并好好支持吧

  • 3 weeks later...
  • Author

最后的解决方案:

在go文件中添加如下代码即可轻松搞定(我的另外一个万兆口直通给了虚拟机,所以unraid中就只有一个万兆口,在【设置】→【网络设置】可以看到其是eth1,如果你的是其它编号,修改即可,或者有多个网口,对应添加代码即可):

/usr/sbin/ethtool -s eth1 speed 2500 duplex full
/sbin/ifconfig eth1 down
/sbin/ifconfig eth1 up

 

由衷感谢ZZY提供的解决方案和参考链接!

这段代码什么意思?

  • Author

第1句:手动设置eth1支持2.5G模式

第2句:手动关闭eth1

第3句:手动开启eth1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.