eric-yc Posted January 20, 2022 Share Posted January 20, 2022 unraid有两个网口,eth0为默认网口,桥接br0,设置网关为旁路由网关。可以出国。 eth1也指定了静态ip和网关(和eth0)不在一个网段。不可以出国,主要用来给pt下载工具使用,直接连接到爱快lan2网口。 现在的问题是,网络设置里的默认路由为eth1,导致我的应用商店不能连接。 请大佬指定下,如何设置应用商店流量走eth0或br0. 谢谢! Quote Link to comment
lyqalex Posted January 21, 2022 Share Posted January 21, 2022 我觉得你应该把eth0和eth1的设置对调一下。 ps:最好把接口设置发上来看看。 Quote Link to comment
NTXF Posted February 11, 2022 Share Posted February 11, 2022 进入ssh界面 ip route delete default 删除默认路由 ip route add default via 10.10.65.1 dev eth0 设置默认网关和网口 如果测试OK,再改network.cfg Quote Link to comment
xffish Posted October 16, 2022 Share Posted October 16, 2022 On 2/11/2022 at 3:16 PM, NTXF said: 进入ssh界面 ip route delete default 删除默认路由 ip route add default via 10.10.65.1 dev eth0 设置默认网关和网口 如果测试OK,再改network.cfg 测试OK了,怎么改network.cfg呢?查看里面并没有route相关设置 Quote Link to comment
xffish Posted October 16, 2022 Share Posted October 16, 2022 10 minutes ago, xffish said: 测试OK了,怎么改network.cfg呢?查看里面并没有route相关设置 知道了,WEB gui就能改:“0 is no default gateway” 设置为0,即可 Quote Link to comment
xffish Posted October 23, 2022 Share Posted October 23, 2022 On 10/17/2022 at 7:23 AM, xffish said: 知道了,WEB gui就能改:“0 is no default gateway” 设置为0,即可 发现没有用,设置了0但还是过一段时间被添加了默认路由,权重为1,一个非常优先的值,目前6.9.2,我升到6.11.2试试 Quote Link to comment
xffish Posted October 24, 2022 Share Posted October 24, 2022 15 hours ago, xffish said: 发现没有用,设置了0但还是过一段时间被添加了默认路由,权重为1,一个非常优先的值,目前6.9.2,我升到6.11.2试试 不行,目前看得靠手动设置metric,不要设置0,自行设置优先的默认路由值较小即可 Quote Link to comment
Recommended Posts
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.