找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 354|回复: 1

AX18端口聚合方式突破1000M

[复制链接]
本帖最后由 矮星V 于 2023-2-17 10:20 编辑

安装附件里的三个ipk,其实 sdf8057 这位老哥的源码自带。


kmod-bonding_4.4.60-1_aarch64_cortex-a53.ipk

proto-bonding_2021-04-09-3_all.ipk
luci-proto-bonding_git-23.029.50249-41298f3-1_all.ipk

配置/etc/rc.local

  1. # Put your custom commands here that should be executed once
  2. # the system init finished. By default this file does nothing.
  3. ip link add bond-wan type bond mode balance-rr
  4. ip link add bond-lan type bond mode balance-rr
  5. ip link set eth0 type bond_slave
  6. ip link set eth1 type bond_slave
  7. ip link set eth2 type bond_slave
  8. ip link set eth3 type bond_slave
  9. ip link set eth0 master bond-wan
  10. ip link set eth3 master bond-wan
  11. ip link set eth1 master bond-lan
  12. ip link set eth2 master bond-lan
  13. ip link set bond-wan up
  14. ip link set bond-lan up

  15. exit 0
复制代码
配置/etc/config/network



config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
# ipv6地址根据自己的改一下
        option ula_prefix 'fd6b:1111:2222::/48'

config interface 'lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.1'
        option ifname 'bond-lan'

config interface 'wan'
        option ifname 'bond-wan'
        option proto 'pppoe'
#修改为自己的账号密码
        option username '000000000000000@163.gd'
        option password '000000000000000'
        option ipv6 'auto'
        option keepalive '0'

config interface 'wan6'
        option proto 'dhcpv6'
        option ifname 'bond-wan'
        option reqaddress 'try'
        option reqprefix 'auto'



注意要network要ssh改,不然进不去系统只能重置,两个都保存后重启


暂时还没在1000m宽带环境测试,需要更换华为带Q结尾的光猫,测试过聚合是成功了的,还可以配合TL-SG2008D 聚合使用。



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
感谢分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-4 21:48

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表