ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 5625|回复: 10

[交流] PCC 负载问题!

[复制链接]
发表于 2008-12-30 04:46:41 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

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

x
教程中的设置有2种,一种是源端口--源地址,另一种是源地址--目标地址!为什么我按照教程设置了第一种,但是有一条线流量几乎没有,有的话也是时不时跳一下!!(两条ADSL 一条爱普,一条电信)经过调整发现还是和网关有关系!!切换到哪一个网关哪一条线就有流量!!!(备用网关和默认网关切换)!!请教斑竹这是为什么呢???我客户上网是通过PPPOE认证,未开DHCP!!!!
发表于 2008-12-30 17:26:35 | 显示全部楼层
发表于 2008-12-30 22:08:28 | 显示全部楼层
今天试了下,四线,为什么总有一线都没啥数据的
发表于 2008-12-30 22:34:56 | 显示全部楼层
我这是3条ADSL!一条4M两条3M!都是电信的~~~~~~~~~~~
发表于 2008-12-31 06:10:24 | 显示全部楼层
我也试试看~~~
发表于 2009-1-1 21:31:01 | 显示全部楼层
版主还是不行啊。还是只跑一根线。。。何解?
发表于 2009-1-3 14:20:11 | 显示全部楼层
楼主的问题我跟他是一样的啊。。。不知何解。跟版主的配置一样的也是这样。默认的路由是哪根就只跑哪根。。。
发表于 2009-1-3 15:08:10 | 显示全部楼层
楼上的拉电信和艾普的网汇聚,然后在拉给客户。。
佩服 佩服啊。
发表于 2009-1-3 18:09:24 | 显示全部楼层
你可以按照我这个试一下!我测试了!可以!你设置一下这两个ISP的路由表可能会理想一下?
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yes
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:2/0 src-address=192.168.0.0/24
add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:2/1 src-address=192.168.0.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yes src-address=192.168.0.0/24
add action=mark-routing chain=prerouting comment="" connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yes src-address=192.168.0.0/24
/ip route
add comment=adsl1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_pppoe-out1
add comment=adsl2 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_pppoe-out2
add check-gateway=ping comment=adsl1 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1
add check-gateway=ping comment=adsl2 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat comment="" disabled=no out-interface=pppoe-out2
发表于 2009-1-5 07:31:01 | 显示全部楼层
PCC?......
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-5-4 21:06 , Processed in 0.556283 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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