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.

在unraid虚拟机上安装openwrt作为主路由,docker和应用中心都无法访问网络

Featured Replies

在unraid虚拟机上安装openwrt作为主路由然后接台交换机提供家里的机器上网,但发现unraid下的docker和应用中心都无法访问网络,在openwrt下已经将eth0桥接到openwrt上了,但不知为什么无法正常访问网络,openwrt配置的网口下接的机器都可以正常访问,唯独unraid的出问题,在终端后台上ping baidu.com也不正常,有大神教教怎么解决吗1.png.185f5b08924dd66405f3565aba1ecff8.png2.thumb.png.dc3b2ee9d786a7e7933d42342aae3a0a.png3.png.e039f7219270bd6aef97c05fa08a6cd9.png

Edited by hkcharles

可能需要一个网线跳到OP的LAN口去。虚拟机还能加入unraid的物理网口吗?

看下 OP 的虚拟机配置

  • Author
1 hour ago, zune said:

可能需要一个网线跳到OP的LAN口去。虚拟机还能加入unraid的物理网口吗?

尝试过了,没区别

  • Author
17 minutes ago, JackieWu said:

 

Unraid 上面虚拟机的配置,比如:

 

Snipaste_2024-03-19_00-11-39.png.e7cf91d81295b0e93056bc8de3edba2e.png

4.thumb.png.1d254e919b44f636be7e91d6e01f654c.png5.thumb.png.1a2b070f531f20d15417bcba14e52333.png

尝试更改一下“Docker自定义网络类型”:如果用的是 ipvlan 那么改成 macvlan,如果用的是 macvlan 那么尝试改成 ipvlan。

 

Snipaste_2024-03-19_17-06-41.thumb.png.340ebbc6a2949eef7d5c0035050e2ce8.png

  • Author
On 3/19/2024 at 5:07 PM, JackieWu said:

尝试更改一下“Docker自定义网络类型”:如果用的是 ipvlan 那么改成 macvlan,如果用的是 macvlan 那么尝试改成 ipvlan。

 

Snipaste_2024-03-19_17-06-41.thumb.png.340ebbc6a2949eef7d5c0035050e2ce8.png

按照你说的去操作还是一个样子,完全无法获取

1 minute ago, hkcharles said:

按照你说的去操作还是一个样子,完全无法获取

 

上传诊断信息资料:工具 - 诊断

  • Author
1 hour ago, JackieWu said:

 

上传诊断信息资料:工具 - 诊断

2072554436_2024-03-20230035.thumb.png.2ab17021b744aad6f26a4a3e314b9de2.png512541537_2024-03-20230142.thumb.png.667c3d4ffbd2f39fcc094cdc1fcdf68a.png

 

 

 

还有个奇怪的现象,以前我在第二个网卡也绑定了一个固定IP,造成每次开机都要15分钟以上后面你告诉我方法解决了

 

当有多个网口的情况下,除了管理口(eth0),其他网口如果需要设置 IP 地址,那么请不要设置与管理口同网段的 IP 地址,不然会引发 ARP Flux 问题。

 

你可以尝试把除了 eth0 之外网口的 IP 地址分配取消,然后再看看是否还会出现你所说的问题。

 

但我后面又发现就算我按照你说的把第二给网口设置了自动分配,我现在去PING以前那个IP却依然能ping通,很离谱

tower-diagnostics-20240320-2258.zip

  • Author

正常来说,在网络接口处是以eth0后接eth1,但不知为啥却跳过了eth1

 

1510618542_2024-03-20231800.thumb.png.e30107d0fede80f4b76aceb5c83bf2c8.png

4 hours ago, hkcharles said:

但我后面又发现就算我按照你说的把第二给网口设置了自动分配,我现在去PING以前那个IP却依然能ping通,很离谱

 

不要给其他网口分配同网段 IP,自动获取 IP 也是分配 IP,一样会出现我所说的 ARP Flux 问题(包括能 Ping 通也是这个问题引发的)。

 

这里给后面看到这个帖子的朋友再强调一下:如果你有多个网口,请不要给除了管理口(eth0)之外的网口设置与管理口同网段的 IP。比如说管理口的 IP 地址是 192.168.1.10/24,那么你的其他网口不管是自动获取 IP 还是手动设置 IP,都不能与管理口同网段,比如 eth1 网口设置成了 192.168.1.20/24。

 

之所以不能这么做是因为会引发 ARP FLUX 问题,这个问题不是 Unraid 独有的,大家感兴趣的请自行搜索资料了解一下。

Edited by JackieWu

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.