Loading... <div class="tip share">请注意,本文编写于 284 天前,最后修改于 284 天前,其中某些信息可能已经过时。</div> ## 前言 一般的商品房在书房只会留下一个网口,对于想把NAS放在书房的朋友来说真的是非常麻烦,网线只能接NAS或接电脑二选一,使用无线连接又慢又不稳定,加交换机又显得费事费力又会占用桌面空间非常费事,而且万兆交换机也相当不便宜,有没有办法更加省钱省事更省力? 当然有,把NAS的多网口设置为“交换机”模式即可解决问题,而且主力机器可以使用万兆直联NAS来获取路由器的网络上网,保证主力机器的最高性能传输外还省去传统直联NAS还需要主力机再连接一条网线到路由器的麻烦事。如果有多台万兆主力机还可以通过加装多口万兆网卡来增加下行连接的数量。下边是网络拓补图,和UNRAID的设置方法大家可以看一下。 ![785eb89fc4bfeb15873fd1be253b8aae](https://zoe.red/usr/uploads/2024/01/3147805960.png) ## 设置 首先进入设置/网络设置 ![5de70b4d3a09aae160f34cbd41c53c52](https://zoe.red/usr/uploads/2024/01/28294805.png) 把eth0 的启用绑定更换为`否` * 这一步需要先关闭`Docker服务`/`虚拟机服务`, 之后才可进入可编辑状态继续操作 ![4d96a550505b0142f9c5e7229700c4d9](https://zoe.red/usr/uploads/2024/01/4194580517.png) 启用桥接/桥接其成员br0 里面把想要充当交换机的网口全勾选上 ![cd62fb3cf6a8cdcd8a68b9bf21d730a7](https://zoe.red/usr/uploads/2024/01/290479190.png) 保存应用,这一步要注意保存之后ip地址会变化,可能需要在unraid的控制台重新查询ip或在路由器上查询新设备ip,也可以把UNRAID的ip地址设置为固定的方式。实在不懂的话直接重启主机在显示器也会显示新的ip地址。 ![2d941a90a779a26c72a4eb866e5c24e8](https://zoe.red/usr/uploads/2024/01/3959961474.png) ## 结语 <div class="tip inlineBlock warning"> 注意: 在`版本: 6.12.6`中, 系统默认针对多网卡网络设置为`备份模式`, 此时任意插入一个网口都可以保证与外部网络的链接 </div> <div class="tip inlineBlock info"> 转载自: https://www.mi-d.cn/4382 </div> THE END 本文作者:将夜 本文链接:https://zoe.red/2024/71.html 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。 最后修改:2024 年 01 月 08 日 © 转载自他站 赞 如果觉得我的文章对你有用,请随意赞赏