Hello Everyone!,
I am facing a problem using HTB as a traffic shaper.
No matter what I do, incoming traffic is not being curbed.
My arrangement for simulation is as follows:
                  
                  64kbps                 64kbps
202.54.22.119/32<-------->202.54.22.114<-------->202.54.22.117/32
(leased line)           (router)          (Internal n/w)

I know only egress traffic can be shaped. But as .114 is a router, all traffic coming 
to it from the leased line will have to go out. 
So the code for this is,
 tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
  match ip src 202.54.22.114/32 \
  match ip dst 202.54.22.117/32 \
  flowid 1:10
#where 1:10 class has 64kbits rate

INCOMING:
But the rate is not being curbed, and is around 870kbytes/sec .
The ceil parameter is also not being followed. 

OUTGOING:
All traffic obeys the ceil & rate obtained is 36kbytes/sec

Please advise.
Thanking you,
Yours sincerely,
Amit S. Shivale

Attachment: anonymous
Description: Binary data

Attachment: anonymous
Description: Binary data

Attachment: anonymous
Description: Binary data

Reply via email to