限速问题求解。。。
ROS 4.5我要给192.168.1.10-192.168.1.100这个网段里面的每个IP限速上传50K,下载100K,该怎么做方便快捷
不要说一个一个IP去手动添加,要是那个我就不上来发帖了 本帖最后由 tangdong 于 2010-4-2 12:21 编辑
/ip firewall mangle
add action=mark-connection chain=prerouting comment="" disabled=no \
new-connection-mark=up50down100 passthrough=yes src-address=\
192.168.1.10-192.168.1.100
add action=mark-packet chain=prerouting comment="" connection-mark=\
up50down100 disabled=no new-packet-mark=50/100 passthrough=yes
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=lan limit-at=\
0/0 max-limit=400000/800000 name=50/100 packet-marks=50/100 parent=none \
priority=8 queue=default-small/default-small total-queue=default-small
页:
[1]