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

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 4958|回复: 2

[交流] 双线PCC负载均衡为什么个别项没有流量呢

[复制链接]
发表于 2011-1-17 02:46:03 | 显示全部楼层 |阅读模式

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

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

x
10110500244a30f6ec65155b81.png 2010-11-5 00:24 上传
下载附件 (10.1 KB)




知道的告诉下?
发表于 2011-1-17 21:33:01 | 显示全部楼层
/ ip firewall mangle
add chain=prerouting action=mark-routing disabled=no protocol=tcp dst-port=443 new-routing-mark=2st_route passthrough=yes comment="bank443"

add chain=prerouting dst-address-type=!local in-interface=LAN per-connection-classifier=both-addresses:2/0
    action=mark-connection new-connection-mark=1st_conn passthrough=yes comment=&quotCC1"
add chain=prerouting connection-mark=1st_conn in-interface=LAN action=mark-routing new-routing-mark=1st_route

add chain=prerouting dst-address-type=!local in-interface=LAN per-connection-classifier=both-addresses:2/1
    action=mark-connection new-connection-mark=2st_conn passthrough=yes comment=&quotCC2"
add chain=prerouting connection-mark=2st_conn in-interface=LAN action=mark-routing new-routing-mark=2st_route

add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=1st_conn

add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=2st_conn

add chain=output connection-mark=1st_conn action=mark-routing new-routing-mark=1st_route

add chain=output connection-mark=2st_conn action=mark-routing new-routing-mark=2st_route

/ip route
add check-gateway=ping comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
    pppoe-out1

add check-gateway=ping comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=
    pppoe-out2

add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
    pppoe-out1 routing-mark=1st_route

add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
    pppoe-out2 routing-mark=2st_route

/ip firewall nat
add action=masquerade chain=srcnat comment=1 out-interface=pppoe-out1

add action=masquerade chain=srcnat comment=2 out-interface=pppoe-out2


不知道哪里做错呢?
发表于 2011-1-25 00:50:47 | 显示全部楼层
你这是双AD吧。。应是出现 ip route这里。。我的也是,正在找答案。。
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

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

GMT+8, 2025-8-5 05:51 , Processed in 0.165424 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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