xyno 发表于 2013-7-3 16:28:12

谢谢,好好研究一下!

xp787 发表于 2013-7-4 20:11:30

顶顶顶一下

free1st 发表于 2013-7-8 06:07:19

我也來看看是不是神本

▄︻┳一飛 发表于 2013-7-8 14:38:51

看看怎么样.

mithas 发表于 2013-7-8 20:47:45

感谢楼主分享

tonly 发表于 2013-7-9 13:44:41

多谢分享,顶~~~~

dajun 发表于 2013-7-10 19:23:06

看是不是神本!

king5230 发表于 2013-7-11 21:52:35

看看是不是神本!

aflyafay 发表于 2013-7-12 14:14:39

/ip address add address=192.168.2.254/255.255.255.0 interface=lan comment=lan
/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 servers=202.102.224.68,202.102.227.68

/ip address add address=192.168.1.190/255.255.255.0 interface=cnc001

/ip address add address=192.168.1.200/255.255.255.0 interface=cnc002

/ ip firewall mangle
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="PCC1"
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="PCC2"
add chain=prerouting connection-mark=2st_conn in-interface=lan action=mark-routing new-routing-mark=2st_route

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

add chain=input in-interface=cnc002 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 comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    192.168.1.1 routing-mark=1st_route

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

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

add action=masquerade chain=srcnat comment=2 out-interface=cnc002

donbooooo 发表于 2013-7-12 20:41:39

谢谢分享了··········

天昊公司 发表于 2013-7-13 12:29:44

好东西一定要顶,谢谢楼主分享!

xinjiedz 发表于 2013-7-13 23:40:13

学习学习,谢谢楼主

jxpengyong 发表于 2013-7-15 10:30:56

如果有用的话就好了

mslibilly 发表于 2013-7-16 22:35:06

支持下学习了

hackwen 发表于 2013-7-17 19:36:23

看看。学习
页: 1 2 3 [4] 5 6 7 8 9 10 11
查看完整版本: [图文基础教程][网吧的PCQ与HTB智能流控限速]用于RouterOS ROS 5.20 3.30 6.0等等