linux限速脚本
来源:互联网 发布:sql和oracle的区别 编辑:程序博客网 时间:2024/04/29 02:29
#!/bin/bash
tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 2: htb
tc class add dev eth2 parent 2: classid 2:1 htb rate 100Mbit
i=1;
while [ $i -lt 248 ]
do
tc class add dev eth2 parent 2:1 classid 2:2$i htb rate 4000kbit ceil 6000kbit burst 15k
tc qdisc add dev eth2 parent 2:2$i handle 2$i: sfq
tc filter add dev eth2 parent 2:0 protocol ip prio 4 u32 match ip dst 10.200.1.$i flowid 2:2$i
tc filter add dev eth2 parent 2:0 protocol ip prio 4 u32 match ip dst 10.200.2.$i flowid 2:2$i
tc filter add dev eth2 parent 2:0 protocol ip prio 4 u32 match ip dst 10.200.3.$i flowid 2:2$i
i=`expr $i + 1`
done
- linux限速脚本
- 一个linux限速脚本
- tc 限速脚本实例
- ROS 全自动智能限速脚本
- ROS2.9.27网吧限速脚本
- Linux TC 流量限速
- Linux网络限速
- 限速Linux路由器
- Linux网络限速
- linux 限速度
- linux 限速工具
- Linux网络限速
- linux scp限速传输
- linux tc 限速实例
- linux HTB 队列限速
- linux用tc限速
- linux下的scp限速
- linux 限速工具 netem bridge
- [新闻] 江民科技、微软携手共铸全球网络安全新辉煌
- Linux下串口工具moni
- Perfect pair of jeans did not fit his body type
- asp.net web.config操作类
- Eclipse debug模式下使用16进制(Hex)查看变量值
- linux限速脚本
- 关于qsort中的cmp函数(网上摘录)
- asp.net对话框
- Android HAL分析报告
- 使用Eclipse CDT插件开发C/C++时设置保存时编译文件
- 瑞斯康达NView 5 研究实录 (7) - 功能实现三
- 碎言碎语
- When it comes to clothing, you no longer wear
- log4j 配置