i use this scripts for traffic shaping but in dont understand how to use quantum and burst #!/bin/bash echo "####sterge regula veche###########" tc qdisc del dev eth0 root ################################## echo "#########aqdauga regula noua######" tc qdisc add dev eth0 root handle 1: htb default 1 ######################################### #########banda totala############# tc class add dev eth0 parent 1: classid 1:1 htb rate 640Kbit ceil 640Kbit prio 5 ################################################################################ echo "#####missnet########" tc class add dev eth0 parent 1:1 classid 1:201 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:202 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:203 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:204 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:205 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:206 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:207 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:208 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:209 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:210 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:211 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:212 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:213 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:247 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:248 htb rate 1Kbit ceil 64Kbit prio 8 ################################################################################ echo "#####home user############" tc class add dev eth0 parent 1:1 classid 1:214 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:215 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:216 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:217 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:218 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:222 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:223 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:224 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:225 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:226 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:227 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:228 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:229 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:230 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:231 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:232 htb rate 1Kbit ceil 64Kbit prio 6 tc class add dev eth0 parent 1:1 classid 1:233 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:234 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:235 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:236 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:237 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:238 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:239 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:240 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:241 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:242 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:243 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:244 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:245 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:246 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:249 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:250 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:251 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:252 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:253 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:254 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:255 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:256 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:257 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:258 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:259 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:260 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:261 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:262 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:263 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:264 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:265 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:266 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:267 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:268 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:270 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:271 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:272 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:273 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:274 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:275 htb rate 1Kbit ceil 84Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:276 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:277 htb rate 4Kbit ceil 128Kbit prio 6 tc class add dev eth0 parent 1:1 classid 1:278 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:279 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:280 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:281 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:282 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:283 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:284 htb rate 4Kbit ceil 128Kbit prio 6 tc class add dev eth0 parent 1:1 classid 1:285 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:286 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:287 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:288 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:289 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:290 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:293 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:294 htb rate 4Kbit ceil 128Kbit prio 6 tc class add dev eth0 parent 1:1 classid 1:295 htb rate 1Kbit ceil 40Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:296 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:297 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:298 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:299 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:300 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:301 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:303 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:304 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:305 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:306 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:308 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:309 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:310 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:311 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:312 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:313 htb rate 1Kbit ceil 128Kbit prio 7 tc class add dev eth0 parent 1:1 classid 1:314 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:315 htb rate 4Kbit ceil 128Kbit prio 6 tc class add dev eth0 parent 1:1 classid 1:316 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:317 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:318 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:319 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:320 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:321 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:322 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:323 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:324 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:325 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:326 htb rate 1Kbit ceil 64Kbit prio 8 ############################################################################### echo "####topall computers######" tc class add dev eth0 parent 1:1 classid 1:292 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:291 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:219 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:269 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:220 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:302 htb rate 1Kbit ceil 64Kbit prio 8 tc class add dev eth0 parent 1:1 classid 1:307 htb rate 1Kbit ceil 64Kbit prio 8 echo "############squid########" tc class add dev eth0 parent 1:1 classid 1:221 htb rate 64Kbit ceil 256Kbit prio 8 ################################################################################### echo "####divizarea benzii####" tc filter add dev eth0 parent 1: prio 5 handle 1: protocol ip u32 divisor 256 echo "####" tc filter add dev eth0 parent 1: prio 5 protocol ip u32 match ip src 80.97.103.0/24 hashkey mask 0x0000ffff at 12 link 1: #tc filter add dev eth0 parent 1: prio 5 protocol ip u32 match ip src 80.97.103.0/16 hashkey mask 0x00ffffff at 12 link 1: ################################################################################ echo "#####flitre missnet####" tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.74 flowid 1:201 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.64 flowid 1:202 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.65 flowid 1:203 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.66 flowid 1:204 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.67 flowid 1:205 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.68 flowid 1:206 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.69 flowid 1:207 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.70 flowid 1:208 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.71 flowid 1:209 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.72 flowid 1:211 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.73 flowid 1:212 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.75 flowid 1:213 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.76 flowid 1:247 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.77 flowid 1:248 ########################################################################################## echo "###########home user############" tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.89 flowid 1:326 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.90 flowid 1:325 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.91 flowid 1:324 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.92 flowid 1:323 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.93 flowid 1:322 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.94 flowid 1:321 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.95 flowid 1:320 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.96 flowid 1:319 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.97 flowid 1:318 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.98 flowid 1:317 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.99 flowid 1:316 tc filter add dev eth0 prio 6 parent 1: protocol ip u32 match ip src 80.97.103.100 flowid 1:315 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.101 flowid 1:314 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.102 flowid 1:313 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.103 flowid 1:312 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.104 flowid 1:311 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.105 flowid 1:310 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.106 flowid 1:309 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.107 flowid 1:308 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.108 flowid 1:306 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.109 flowid 1:305 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.110 flowid 1:304 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.111 flowid 1:303 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.112 flowid 1:301 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.113 flowid 1:300 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.114 flowid 1:299 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.115 flowid 1:298 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.116 flowid 1:297 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.117 flowid 1:296 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.118 flowid 1:295 tc filter add dev eth0 prio 6 parent 1: protocol ip u32 match ip src 80.97.103.119 flowid 1:294 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.120 flowid 1:293 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.121 flowid 1:290 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.122 flowid 1:289 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.123 flowid 1:288 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.124 flowid 1:287 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.125 flowid 1:286 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.126 flowid 1:285 tc filter add dev eth0 prio 6 parent 1: protocol ip u32 match ip src 80.97.103.127 flowid 1:284 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.128 flowid 1:283 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.129 flowid 1:282 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.130 flowid 1:281 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.131 flowid 1:280 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.132 flowid 1:279 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.133 flowid 1:278 tc filter add dev eth0 prio 6 parent 1: protocol ip u32 match ip src 80.97.103.134 flowid 1:277 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.135 flowid 1:276 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.136 flowid 1:275 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.137 flowid 1:274 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.138 flowid 1:273 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.139 flowid 1:272 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.140 flowid 1:271 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.141 flowid 1:270 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.142 flowid 1:268 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.143 flowid 1:267 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.144 flowid 1:266 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.145 flowid 1:265 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.147 flowid 1:264 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.148 flowid 1:263 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.149 flowid 1:262 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.150 flowid 1:261 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.151 flowid 1:260 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.152 flowid 1:259 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.153 flowid 1:258 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.154 flowid 1:257 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.155 flowid 1:256 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.156 flowid 1:255 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.157 flowid 1:254 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.158 flowid 1:253 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.159 flowid 1:252 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.160 flowid 1:251 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.161 flowid 1:250 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.162 flowid 1:249 tc filter add dev eth0 prio 7 parent 1: protocol ip u32 match ip src 80.97.103.163 flowid 1:246 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.164 flowid 1:245 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.165 flowid 1:244 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.166 flowid 1:243 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.167 flowid 1:242 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.168 flowid 1:241 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.169 flowid 1:240 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.170 flowid 1:239 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.171 flowid 1:238 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.172 flowid 1:237 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.173 flowid 1:236 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.174 flowid 1:235 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.175 flowid 1:234 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.176 flowid 1:233 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.177 flowid 1:232 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.178 flowid 1:231 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.179 flowid 1:230 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.180 flowid 1:229 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.181 flowid 1:226 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.182 flowid 1:227 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.183 flowid 1:228 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.184 flowid 1:225 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.185 flowid 1:224 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.186 flowid 1:223 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.187 flowid 1:222 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.188 flowid 1:214 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.189 flowid 1:215 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.190 flowid 1:216 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.191 flowid 1:217 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.192 flowid 1:218 ################################################################################### echo "############topall computers#######" tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.5 flowid 1:219 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.4 flowid 1:220 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.78 flowid 1:269 tc filter add dev eth0 prio 8 parent 1: protocol ip u32 match ip src 80.97.103.2 flowid 1:221 this clsses are for outgoing interface i use the same script for download but is used for lan interfaceand the diference is eth1 an ip adress and that script is working on dst 10.0.0.* pls tel me witch quantum i need to use for 1Kbit ceil 64 and 1Kbit ceil 128Kbit and witch burst for that tipe of traf _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 24 October 2003 02:49, ionut@topall.ro wrote:> i use this scripts for traffic shaping but in dont understand how to use > quantum and burst > #!/bin/bash....> this clsses are for outgoing interface > i use the same script for download but is used for lan interfaceand the > diference is eth1 an ip adress and that script is working on dst 10.0.0.* > pls tel me witch quantum i need to use for 1Kbit ceil 64 and 1Kbit ceil > 128Kbit and witch burst for that tipe of trafEach keyboard has a shift key so you can type a capital as the first letter of a word. Try to use it like we all do. For your problem, rate 1kbit is too low. 12kbit is the minimum. If you provide no burst or quantum, htb will calculate them for you. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/