找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5602|回复: 1

[策略设置] 固定+adsl双线pcc ,可以正常上网,内网不能访问网关

[复制链接]
发表于 2012-9-23 00:57:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

×
固定+adsl双线pcc ,可以正常上网,内网不能访问网关,也ping不通,下面是pcc策略,求指导


0   ;;; Change MSS
     chain=forward action=change-mss new-mss=1440 tcp-flags=syn protocol=tcp
     out-interface=pppoe-out1

1   chain=input action=mark-connection new-connection-mark=wan1_pcc_1 passthrough=yes
     in-interface=wan1

2   chain=output action=mark-routing new-routing-mark=rout_1 passthrough=yes
     connection-mark=wan1_pcc_1

3   chain=input action=mark-connection new-connection-mark=wan2_pcc_2 passthrough=yes
     in-interface=pppoe-out1

4   chain=output action=mark-routing new-routing-mark=rout_2 passthrough=yes
     connection-mark=wan2_pcc_2

5   ;;; PCC_1
     chain=prerouting action=mark-connection new-connection-mark=wan1_pcc_1 passthrough=yes
     src-address=192.168.0.0/24 per-connection-classifier=both-addresses:2/0

6   chain=prerouting action=mark-routing new-routing-mark=rout_1 passthrough=yes
     src-address=192.168.0.0/24 connection-mark=wan1_pcc_1

7   ;;; PCC_2
     chain=prerouting action=mark-connection new-connection-mark=wan2_pcc_2 passthrough=yes
     src-address=192.168.0.0/24 per-connection-classifier=both-addresses:2/1

8   chain=prerouting action=mark-routing new-routing-mark=rout_2 passthrough=yes
     src-address=192.168.0.0/24 connection-mark=wan2_pcc_2
routeros
发表于 2012-10-5 10:33:33 | 显示全部楼层
要先mark connection 后mark routing
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-24 02:56 , Processed in 0.067745 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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