DQ77KB+4g+g530
DQ77KB+4g+ i3 3220
做了两套软路由,搞了几天ros有些问题,求教下基友。
主要是ros主路由+lede做旁路。。。
G530那套
exsi+单lede,单拨可以跑满200M带宽,多播可以叠加到550M带宽
ros+lede,lede做旁路(192.168.10.1),ros(192.168.10.2)做主路由,负责拨号;单拨只能跑150M带宽,最高上过180M带宽,多拨带宽没叠加,和单拨跑的带宽一样
I3 3220那套
exsi+单lede,单拨可以跑满200M带宽,多播可以叠加到575M带宽
ros+lede,lede做旁路(192.168.10.1),ros(192.168.10.2)做主路由,负责拨号;单拨能跑229M带宽,多拨带宽没叠加,和单拨跑的带宽一样
从结果看,G530 CPU太弱,双路由情况下,跑不满200M带宽?
ROS 叠加不成功,是设置问题?请基友帮忙看下,我的设置哪里有误?
/interface ethernet
set [ find default-name=ether2 ] name=lan
set [ find default-name=ether1 ] name=wan
/interface vrrp
add interface=wan name=vrrp1
add interface=wan name=vrrp2 vrid=2
add interface=wan name=vrrp3 vrid=3
add interface=wan name=vrrp4 vrid=4
/interface pppoe-client
add disabled=no interface=vrrp1 name=pppoe-out1 password=xxx user=xxx
add disabled=no interface=vrrp2 name=pppoe-out2 password=xxx user=xxx
add disabled=no interface=vrrp3 name=pppoe-out3 password=xxx user=xxx
add disabled=no interface=vrrp4 name=pppoe-out4 password=xxx user=xxx
/ip address
add address=192.168.10.2/24 interface=lan network=192.168.10.0
add address=10.10.10.254/24 interface=wan network=10.10.10.0
add address=10.10.10.4/24 interface=vrrp4 network=10.10.10.0
add address=10.10.10.2/24 interface=vrrp2 network=10.10.10.0
add address=10.10.10.3/24 interface=vrrp3 network=10.10.10.0
add address=10.10.10.1/24 interface=vrrp1 network=10.10.10.0
/ip firewall mangle
add action=mark-connection chain=input comment="\D4\AD\BD\F8\D4\AD\B3\F6" \
in-interface=pppoe-out1 new-connection-mark=1_conn passthrough=yes
add action=mark-routing chain=output connection-mark=1_conn new-routing-mark=\
1_routing passthrough=yes
add action=mark-connection chain=input in-interface=pppoe-out2 \
new-connection-mark=2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=2_conn new-routing-mark=\
2_routing passthrough=yes
add action=mark-connection chain=input in-interface=pppoe-out3 \
new-connection-mark=3_conn passthrough=yes
add action=mark-routing chain=output connection-mark=3_conn new-routing-mark=\
3_routing passthrough=yes
add action=mark-connection chain=input in-interface=pppoe-out4 \
new-connection-mark=4_conn passthrough=yes
add action=mark-routing chain=output connection-mark=4_conn new-routing-mark=\
4_routing passthrough=yes
add action=mark-connection chain=prerouting comment=PCC_1 dst-address-type=\
!local in-interface=lan new-connection-mark=1_conn passthrough=yes \
per-connection-classifier=both-addresses:4/0
add action=mark-routing chain=prerouting connection-mark=1_conn \
dst-address-type=!local in-interface=lan new-routing-mark=1_routing \
passthrough=yes per-connection-classifier=both-addresses:4/0
add action=mark-connection chain=prerouting comment=PCC_2 dst-address-type=\
!local in-interface=lan new-connection-mark=2_conn passthrough=yes \
per-connection-classifier=both-addresses:4/1
add action=mark-routing chain=prerouting connection-mark=2_conn \
dst-address-type=!local in-interface=lan new-routing-mark=2_routing \
passthrough=yes per-connection-classifier=both-addresses:4/1
add action=mark-connection chain=prerouting comment=PCC_3 dst-address-type=\
!local in-interface=lan new-connection-mark=3_conn passthrough=yes \
per-connection-classifier=both-addresses:4/2
add action=mark-routing chain=prerouting connection-mark=3_conn \
dst-address-type=!local in-interface=lan new-routing-mark=3_routing \
passthrough=yes per-connection-classifier=both-addresses:4/2
add action=mark-connection chain=prerouting comment=PCC_4 dst-address-type=\
!local in-interface=lan new-connection-mark=4_conn passthrough=yes \
per-connection-classifier=both-addresses:4/3
add action=mark-routing chain=prerouting connection-mark=4_conn \
dst-address-type=!local in-interface=lan new-routing-mark=4_routing \
passthrough=yes per-connection-classifier=both-addresses:4/3
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
add action=masquerade chain=srcnat out-interface=pppoe-out4
add action=masquerade chain=srcnat out-interface=pppoe-out3
add action=masquerade chain=srcnat out-interface=pppoe-out2
路由导出的顺序比较乱,截图好看点
QQ图片20190224143830.png (25.97 KB, 下载次数: 0)
评论
都没人来一下?
评论
看看每个vrrp接口有没有流量,其实也不用试了,ros用masquerade效率还不如lede。
评论
还不如直接用lede呢
评论
不如试试爱快+LEDE?
评论
每个口都有流量,就是带宽不叠加,我觉得可能哪个设置有错误,但是又没发现问题出在哪里,所以来求教了
评论
ros+lede不就是为了去劫持,爱快这个自带劫持的还是算了吧,优先解决ros的问题,折腾的过程也是一种学习吧。实在搞不定我还是尝试双lede吧
评论
mark connecttion和mark route里有一个不要passthrough,具体哪个你查查,太久没用了。
评论
多谢指点。机器不在身边,明天我试试
评论
说的对。。
爱快私货多,魔改文件系统Magic Number把私货藏到加密区域里面然后里面再加密存储费尽心思防止被人挖出来
评论
将所有的mark connection的passthrough设为no,同时所有mark routing的passthrough设为yes
以及反过来,将mark connection的passthrough设为yes,同时所有mark routing的passthrough设为no
将所有mark connection和mark routing的passthrough全部设为yes
以及将所有mark connection和mark routing的passthrough全部设为no
这4种方式下测速都是不叠加,不管哪种模式,所有vrrp和pppoe-out都显示有流量
评论
有人来帮个忙吗?
评论
每日一顶,等待大神出现
评论
020地区电信双拨账号就被ban10分钟的帮你顶,也是ros+lede,4口卡都买了,目前只能单播,要是确定非技术问题的话,准备转移去玩nas raid + 万兆网了。。。
评论
谢谢帮顶
我这里可以拨4次,用lede我可以叠加下载 ,不能叠加上传。我一个朋友能叠加上传,不能叠加下载。用ros,什么都叠加不了。也不知道我哪里搞错了
评论
你是用ros的vrrp拨号吧? 拨号之后都有流量,只是不能叠加是吧? 是不是负载均衡设置问题,毕竟你lede上可叠加的
评论
是用vrrp拨号,都有流量,用speedtest.net网站测速不叠加
pcc设置我也不知道哪里有问题,帖子里面贴出了配置,您看下,指点下我?谢谢!
评论
关键我这不支持多拨,我还没办法测试,最近在加装移动宽带,那师傅还没来! 虽然不是一线多拨,但原理应该差不多,我装上多条宽带再来测试一下,我也是新手,大家互相帮忙
评论
曾经使用类似的配置实现了多拨叠加,可是后来改了一个套餐就不行了,拨号倒是能成功,只是无法再叠加了
评论
尝试一下修改网卡类型,我最近在玩软路由,PVE下ros+openwrt,500M+100M双WAN接入,openwrt下每线5拨,总共10拨,下行不叠加,上行能叠加到27M/s(黑群下qbittorrent数据)。但是转到ros+openwrt下,不管是PCC还是NTH测试下载反而只有30M/s的速度了。折腾了很久,偶尔有一次听人说故障,突然想起来PVE下网卡是看视频教程用的VMware vmxnet3,改成半虚拟化,就成功叠加500M+100M的下载速度了。但是上行速度现在的10拨情况下,ros系统叠加不起来。又退回openwrt单系统了。还在继续找资料研究
评论
用esxi的时候,给你一个技巧,抛弃VRRP多拨
直接在虚拟机硬件里边给ROS多次添加wan口,四拨就添加四个一样的wan口
这样ros系统里边会显示4个wan口 可以直接设置账号密码拨号 跳过vrrp模式
评论
这是VRRP四拨+伪装+Change MSS+PCC负载
/interface vrrp
add name=vrrp1 disabled=no interface=ether1 interval=1 vrid=1
add name=vrrp2 disabled=no interface=ether1 interval=1 vrid=2
add name=vrrp3 disabled=no interface=ether1 interval=1 vrid=3
add name=vrrp4 disabled=no interface=ether1 interval=1 vrid=4
/ip address
add address=10.10.10.1/24 disabled=no interface=ether1
add address=10.10.10.11/24 disabled=no interface=vrrp1
add address=10.10.10.12/24 disabled=no interface=vrrp2
add address=10.10.10.13/24 disabled=no interface=vrrp3
add address=10.10.10.14/24 disabled=no interface=vrrp4
/interface pppoe-client
add name=pppoe-out1 interface=vrrp1 user=test password=test disabled=no
add name=pppoe-out2 interface=vrrp2 user=test password=test disabled=no
add name=pppoe-out3 interface=vrrp3 user=test password=test disabled=no
add name=pppoe-out4 interface=vrrp4 user=test password=test disabled=no
/ip firewall mangle
add action=change-mss chain=forward disabled=no new-mss=1440 protocol=tcp tcp-flags=syn comment="change-mss"
add chain=prerouting action=mark-connection dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses:4/0 new-connection-mark=conn_pppoe-out1 passthrough=yes comment="pcc_1"
add action=mark-routing chain=prerouting connection-mark=conn_pppoe-out1 disabled=no in-interface=ether2 new-routing-mark=router_1 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=pppoe-out1 new-connection-mark=conn_pppoe-out1 passthrough=yes
add action=mark-routing chain=output connection-mark=conn_pppoe-out1 disabled=no new-routing-mark=router_1 passthrough=yes
add chain=prerouting action=mark-connection dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses:4/1 new-connection-mark=conn_pppoe-out2 passthrough=yes comment="pcc_2"
add action=mark-routing chain=prerouting connection-mark=conn_pppoe-out2 disabled=no in-interface=ether2 new-routing-mark=router_2 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=pppoe-out2 new-connection-mark=conn_pppoe-out2 passthrough=yes
add action=mark-routing chain=output connection-mark=conn_pppoe-out2 disabled=no new-routing-mark=router_2 passthrough=yes
add chain=prerouting action=mark-connection dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses:4/2 new-connection-mark=conn_pppoe-out3 passthrough=yes comment="pcc_3"
add action=mark-routing chain=prerouting connection-mark=conn_pppoe-out3 disabled=no in-interface=ether2 new-routing-mark=router_3 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=pppoe-out3 new-connection-mark=conn_pppoe-out3 passthrough=yes
add action=mark-routing chain=output connection-mark=conn_pppoe-out3 disabled=no new-routing-mark=router_3 passthrough=yes
add chain=prerouting action=mark-connection dst-address-type=!local in-interface=ether2 per-connection-classifier=both-addresses:4/3 new-connection-mark=conn_pppoe-out4 passthrough=yes comment="pcc_4"
add action=mark-routing chain=prerouting connection-mark=conn_pppoe-out4 disabled=no in-interface=ether2 new-routing-mark=router_4 passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=pppoe-out4 new-connection-mark=conn_pppoe-out4 passthrough=yes
add action=mark-routing chain=output connection-mark=conn_pppoe-out4 disabled=no new-routing-mark=router_4 passthrough=yes
/ip route
add dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=router_1 check-gateway=ping distance=1 comment="1" disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=router_2 check-gateway=ping distance=1 comment="2" disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=router_3 check-gateway=ping distance=1 comment="3" disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=router_4 check-gateway=ping distance=1 comment="4" disabled=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1 comment="1" disabled=no
add action=masquerade chain=srcnat out-interface=pppoe-out2 comment="2" disabled=no
add action=masquerade chain=srcnat out-interface=pppoe-out3 comment="3" disabled=no
add action=masquerade chain=srcnat out-interface=pppoe-out4 comment="4" disabled=no
评论
这种是用esxi虚拟4个wan口多拨PCC叠加+伪装+Change MSS+回程路由
ether1-4是四个虚拟wan口 ether5是lan口
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ip dns set allow-remote-requests=yes cache-size=2048 max-udp-packet-size=512 servers=114.114.114.114,223.6.6.6
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1 comment="1"
add action=masquerade chain=srcnat out-interface=pppoe-out2 comment="2"
add action=masquerade chain=srcnat out-interface=pppoe-out3 comment="3"
add action=masquerade chain=srcnat out-interface=pppoe-out4 comment="4"
/ip address add address=192.168.0.2/24 interface=ether5 comment="lan"
/interface pppoe-client add name=pppoe-out1 interface=ether1 user=test password=test disabled=no
/interface pppoe-client add name=pppoe-out2 interface=ether2 user=test password=test disabled=no
/interface pppoe-client add name=pppoe-out3 interface=ether3 user=test password=test disabled=no
/interface pppoe-client add name=pppoe-out4 interface=ether4 user=test password=test disabled=no
/ip firewall mangle
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=ether5 per-connection-classifier=both-addresses:4/0 new-connection-mark=pcc1 passthrough=yes comment="PCC1"
add action=mark-routing chain=prerouting in-interface=ether5 connection-mark=pcc1 new-routing-mark=router_1
add action=mark-connection chain=input in-interface=pppoe-out1 new-connection-mark=pcc1
add action=mark-routing chain=output connection-mark=pcc1 new-routing-mark=router_1
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=ether5 per-connection-classifier=both-addresses:4/1 new-connection-mark=pcc2 passthrough=yes comment="PCC2"
add action=mark-routing chain=prerouting in-interface=ether5 connection-mark=pcc2 new-routing-mark=router_2
add action=mark-connection chain=input in-interface=pppoe-out2 new-connection-mark=pcc2
add action=mark-routing chain=output connection-mark=pcc2 new-routing-mark=router_2
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=ether5 per-connection-classifier=both-addresses:4/2 new-connection-mark=pcc3 passthrough=yes comment="PCC3"
add action=mark-routing chain=prerouting in-interface=ether5 connection-mark=pcc3 new-routing-mark=router_3
add action=mark-connection chain=input in-interface=pppoe-out3 new-connection-mark=pcc3
add action=mark-routing chain=output connection-mark=pcc3 new-routing-mark=router_3
add action=mark-connection chain=prerouting dst-address-type=!local in-interface=ether5 per-connection-classifier=both-addresses:4/3 new-connection-mark=pcc4 passthrough=yes comment="PCC4"
add action=mark-routing chain=prerouting in-interface=ether5 connection-mark=pcc4 new-routing-mark=router_4
add action=mark-connection chain=input in-interface=pppoe-out4 new-connection-mark=pcc4
add action=mark-routing chain=output connection-mark=pcc4 new-routing-mark=router_4
/ip route
add dst-address=0.0.0.0/0 gateway=pppoe-out1 check-gateway=ping routing-mark=router_1 distance=1 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out1 check-gateway=ping distance=1 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out2 check-gateway=ping routing-mark=router_2 distance=1 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out2 check-gateway=ping distance=2 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out3 check-gateway=ping routing-mark=router_3 distance=1 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out3 check-gateway=ping distance=3 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out4 check-gateway=ping routing-mark=router_4 distance=1 disabled=no
add dst-address=0.0.0.0/0 gateway=pppoe-out4 check-gateway=ping distance=4 disabled=no
评论
如果爱快不能叠加,是不是ros也不用尝试了
ps:爱快是有一个模式下上传能叠加的
评论
我用ikuai+openwrt 300M4拨下载能到110M/S这个看资源以前pandownload充个会员稳稳的110M/S现在很少了只有迅雷小部分能到100M/S,PT上传倒是很轻松的11M/S。爱快劫持啥意思我用着**都没问题。 电路 电子 维修 我现在把定影部分拆出来了。想换下滚,因为卡纸。但是我发现灯管挡住了。拆不了。不会拆。论坛里的高手拆解过吗? 评论 认真看,认真瞧。果然有收 电路 电子 维修 求创维42c08RD电路图 评论 电视的图纸很少见 评论 电视的图纸很少见 评论 创维的图纸你要说 版号,不然无能为力 评论 板号5800-p42ALM-0050 168P-P42CLM-01
·日本中文新闻 唐田绘里香为新剧《极恶女王》剃光头 展现演员决心
·日本中文新闻 真子小室夫妇新居引发隐私担忧
·日本中文新闻 前AKB48成员柏木由纪与搞笑艺人交往曝光
·日本学校 {日本国际学校}梅田インターナショナルスクール
·日本学校 LINE:sm287 陳雨菲、20歳、台湾からの留学生、東京に来たばかり
·日本留学生活 出售平成22年走行48000km 代步小车
·日本华人网络交流 円相場 一時1ドル=140円台まで上昇?
·日本华人网络交流 问日本华人一个问题
·日本旅游代购 富山接机
·生活百科 英国转澳大利亚转换插头
·汽车 【求助】修车遇到困难怎么办?