限速脚本的问题
添加基础限速后,先限制192.168.1.x的网段::for tianya88 from=2 to=254 do={queue simple add name=("NJYDST" . $tianya88) dst-address=("192.168.1.". $tianya88) limit-at=640000/640000 max-limit=2048000/1024000 interface=all parent=none priority=8 queue=default/default burst-limit=4096000/2048000 burst-threshold=2048000/1024000 burst-time=3s/3s total-queue=default target-address=0.0.0.0/0 time=8h0m0s-18h0m0s,mon,tue,wed,thu,fri disabled=no}然后再添加限制192.168.10.x的网段:for tianya88 from=2 to=254 do={queue simple add name=("NJYDST10" . $tianya88) dst-address=("192.168.10.". $tianya88) limit-at=640000/640000 max-limit=2048000/1024000 interface=all parent=none priority=8 queue=default/default burst-limit=4096000/2048000 burst-threshold=2048000/1024000 burst-time=3s/3s total-queue=default target-address=0.0.0.0/0 time=8h0m0s-18h0m0s,mon,tue,wed,thu,fri disabled=no}
我的ronteros的环境是3.20,在system下script下添加脚本,192.168.1.x的网段可以执行,在queues里边可以生成限速规则,但是执行192.168.10.x的网段不能执行,queues不能显示限速规则!,
页:
[1]