OpenWRT 官方文档在这方面实在是太过欠缺
网上能搜到的资料更是少之又少,能搜到的资料要么就是完全不能用,要么就是过时了,早就已经没有 ifenslave 这个包了
因为 V 站谷歌索引比较好所以在这记录一下
https://forum.openwrt.org/t/best-way-to-configure-bonding-in-openwrt/26290/3 这里写的方法缺了点东西,没法直接用
研究了一下...要先设置 nic 的 type
ip link add bond1 type bond mode balance-rr
ip link set tap_link1 type bond_slave
ip link set tap_link1 master bond1
ip link set tap_link2 type bond_slave
ip link set tap_link2 master bond1
ip addr add 10.8.0.1/24 dev bond1
ip link set bond1 up
以上,就是这样...
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.