|
马上注册成为ROSABC会员,随时发帖回复。
您需要 登录 才可以下载或查看,没有账号?会员注册
x
带宽均分:
/ip firewall mangle add chain=forward src-address=172.16.0.0/16
action=mark-connection new-connection-mark=users-con
/ip firewall mangle add connection-mark=users-con action=mark-packet
new-packet-mark=users chain=forward
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
/queue tree add name=Download parent=ether3 max-limit=9M
/queue tree add parent=Download queue=pcq-download packet-mark=users
/queue tree add name=Upload parent=ether2 max-limit=5M
/queue tree add parent=Upload queue=pcq-upload packet-mark=users
请根据直接实际修改IP地址段,下载最大速度,上传最大速度,ether3为我连接内网的网卡,ether2是我连接外网的网卡
这些代码是在单运营商出口的时候使用的,效果不错!
双线出口怎么做呢? |
|