Tom Eastep wrote:

> In particular, 6844 forwarded packets to 192.168.200.1 were classified with 
> 2:13.
> 
> From the TC information:
> 
> class htb 2:13 parent 2:1 leaf 13: prio 2 quantum 12288 rate 1024Kbit ceil 
> 2048Kbit burst 1627b/8 mpu 0b overhead 0b cburst 1755b/8 mpu 0b overhead 0b 
> level 0 
>                                                                       
> -------------
>  Sent 9982131 bytes 6861 pkts (dropped 0, overlimits 0) 
>  rate 481776bit 41pps
>  --------------
>  lended: 6861 borrowed: 0 giants: 0
>  tokens: 928 ctokens: 976
> 
> The ceiling for class 2:13 is 2 Mbit/second; you are seeing a transfer rate 
> of 52.8 Kilobytes or approximately .4 Mbit/second (actually 481,776 bites per 
> second -- see above) which is much less than 2 Mbit/second.
> 
> So, what problem are you reporting?

Ah! -- I think I see A problem....

From one of your earlier posts:

tcdevices
###################################
eth0           512kbit         512kbit
eth1           100000kbit      100000kbit
################################### 

So eth0 has a speed of 512K *BITS* in each direction. But also from earlier 
posts:

tcclasses
####################################### 
eth1            3      128kbps  256kbps 2
eth1            4      full full        1 default
#######################################

So your Mark=3 class on eth1 defines a much wider pipe than eth0 (128K *BYTES* 
per
second guaranteed and 256K *BYTES* per second max). So even though you are now
correctly classifying traffic with your tcrules, you will not have any effective
shaping of download traffic to 192.168.200.1.

-Tom 
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to