Re: Shaping inbound ok, outbound wrong

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I think my problem is on the filters. Actually I`m quite confused.
If I have eth0 facing the link and eth1 facing the LAN. I should shape 
download in eth1 and upload in eth0, right?

So, for example I should use this filter for shapìng upload

tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src
200.43.134.17 classid 1:102

And this one for download

tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.17 classid 1:80


Is this correct? Thanks a lot Stef.

-----Original Message-----
From: Stef Coene <stef.coene@xxxxxxxxx>
To: Gastón <gaston@xxxxxxxxxxxx>, <lartc@xxxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 19:22:53 +0100
Subject: Re:  Shaping inbound ok, outbound wrong

> On Monday 19 January 2004 18:08, Gastón wrote:
> > Hi, I´m shaping traffic using htb on both interfaces, I noticed that
> > shaping download traffic is workinggreat but shaping upload traffic
> is not
> > working at all (no sent packets, no dropped, no overlimits)
> If you don't have dropped packets, you are not shaping.  That means
> that your 
> rates are too high.  You will ony be able to shape if YOU are the
> bottleneck 
> and not the router.
> So try to lower the rate/ceil untill you see some dropped packets. 
> Also, 
> check out the filter rules and make sure that the traffic ends up in
> the 
> class you want.  If you don't have any sent packets, your filters are
> probaly 
> not working.
> 
> Stef
> 
> -- 
> stef.coene@xxxxxxxxx
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux