问题是: 第一如果我是一百台甚至是两百台的网络 那么第二层叶类别就得设置一百个吗? 如果只需要设置几个叶类别行吗? 10,20, 30 然后把把保证频宽和最大频宽设置上 假设如果是我所说的只需要创建三个叶类别那么到了打标签的时候只需要把不同的IP更改下就行了而标签名直接是我所创建的那个如 iptables -t mangle -A POSTROUTING -s 192.168.1.1 -j mark --set-mark 10 iptables -t mangle -A POSTROUTING -s 192.168.1.2 -j ma...
by knuoxy - 服务器架设 - 2006-12-01 09:49:16 阅读(664) 回复(4)
最近用tc限制带宽,遇到以下疑问,望高手们能给予解答: 1.如果限速前下载过某个软件,限速后重新下载,速度与没限速前一样,请问如何解决 2.限速后才第一次下载的软件,能达到限速的目的,但第二次再下载(仍被限速)速度会有所提高,甚至超过限制的速率,请问如何解决 谢谢!!!
我的tc如下 记得以前as4运行没有问题 现在fc4下运行 发现 /var/log/message 中有如下错误 Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10011 is small. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10011 is small. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10001 is big. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: ...
我的tc如下 记得以前as4运行没有问题 现在fc4下运行 发现 /var/log/message 中有如下错误 Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10011 is small. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10011 is small. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: quantum of class 10001 is big. Consider r2q change. Sep 23 13:30:56 localhost kernel: HTB: ...
请教各位大人,小弟采用tc命令进行总带宽限制,发现对超过100byte长的包能够限速,对于<100byte的包有>10%的偏差:我限制上行为200Kbit,发现实际速度有220-230Kbit。 tc命令如下: tc qdisc add dev vc0 root handle 1: htb default 2 tc class add dev vc0 parent 1: classid 1:1 htb rate 200Kbit ceil 200Kbit tc class add dev vc0 parent 1:1 classid 1:2 htb rate 200Kbit ceil 200Kbit ... tc qdisc add dev vc0 parent ...
小弟在linux利用路由来使内网用户共享上网(eth0内网,内网网段172.168.0.0/24,eth1外网,),我想利用tc来限制内网每ip网络带宽,只有这个要求,没有别的复杂要求 我在网上也看了很多关于tc的帖子,但还是没有什么头绪,跪求各位高手帮忙
class htb 1:12 parent 1:1 leaf 12: prio 2 quantum 26214 rate 2Mbit ceil 4Mbit burst 4220b/8 mpu 0b cburst 6841b/8 mpu 0b level 0 Sent 1780994256 bytes 1283836 pkts (dropped 0, overlimits 0) rate 288120bps 203pps lended: 924912 borrowed: 365986 giants: 0 tokens: -17885 ctokens: -2589 其中的"burst 4220b/8 "是什么意思? 其中的"cburst 6841b/8 "是什么意思? 其中的"mpu 0b "是什么意思?