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

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 12129|回复: 10

[交流] PCC 负载问题!

[复制链接]
发表于 2007-6-25 19:30:19 | 显示全部楼层 |阅读模式

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

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

x
教程中的设置有2种,一种是源端口--源地址,另一种是源地址--目标地址!为什么我按照教程设置了第一种,但是有一条线流量几乎没有,有的话也是时不时跳一下!!(两条ADSL 一条爱普,一条电信)经过调整发现还是和网关有关系!!切换到哪一个网关哪一条线就有流量!!!(备用网关和默认网关切换)!!请教斑竹这是为什么呢???我客户上网是通过PPPOE认证,未开DHCP!!!!
发表于 2007-6-27 16:43:04 | 显示全部楼层
PCC应该是很好的负载方式啊
发表于 2007-6-27 19:57:52 | 显示全部楼层
你可以按照我这个试一下!我测试了!可以!你设置一下这两个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
发表于 2007-6-28 14:50:49 | 显示全部楼层
今天试了下,四线,为什么总有一线都没啥数据的
发表于 2007-6-29 21:56:58 | 显示全部楼层
我也试试看~~~
发表于 2007-6-30 23:54:03 | 显示全部楼层
我这是3条ADSL!一条4M两条3M!都是电信的~~~~~~~~~~~
发表于 2007-7-1 21:40:42 | 显示全部楼层
楼主的问题我跟他是一样的啊。。。不知何解。跟版主的配置一样的也是这样。默认的路由是哪根就只跑哪根。。。
发表于 2007-7-2 08:12:35 | 显示全部楼层
版主还是不行啊。还是只跑一根线。。。何解?
发表于 2007-7-2 09:03:35 | 显示全部楼层
PCC?......
发表于 2007-7-2 12:40:54 | 显示全部楼层
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

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

GMT+8, 2025-8-5 17:11 , Processed in 0.625570 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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