From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Thu, 21 Apr 2005 20:27:37 +0000 Subject: Re: [LARTC] tc filter - based on iptables - MAC - MARK not working Message-Id: <42680CB9.2000507@dsl.pipex.com> List-Id: References: <20050419052142.3397.qmail@web32208.mail.mud.yahoo.com> In-Reply-To: <20050419052142.3397.qmail@web32208.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Daniel Dafoe wrote: > --- Andy Furniss wrote: > > Thanks for your input: > modified DEV="eth0" > indeed was a typo -- but still no luck with shaping > > > > iptables -L -vnt mangle > > Chain PREROUTING (policy ACCEPT 5172K packets, 2786M > bytes) > pkts bytes target prot opt in out source > destination > 20470 3127K MARK all -- * * > 0.0.0.0/0 0.0.0.0/0 MAC > 00:0D:87:60:61:37 MARK set 0x2 > > Chain INPUT (policy ACCEPT 1772K packets, 594M bytes) > pkts bytes target prot opt in out source > destination > 849 114K MARK all -- * * > 0.0.0.0/0 0.0.0.0/0 MAC > 00:0D:87:60:61:37 MARK set 0x2 > > Chain FORWARD (policy ACCEPT 3389K packets, 2191M > bytes) > pkts bytes target prot opt in out source > destination > 19621 3013K MARK all -- * * > 0.0.0.0/0 0.0.0.0/0 MAC > 00:0D:87:60:61:37 MARK set 0x2 Well that bit looks OK can you see these packets going to the sfqs if you do tc -s qdisc ls dev eth0 ? I notice from the first post you have a really high ceil and mix kbps and kbit. bps = bytes per sec - > tc class add dev $DEV parent 1: classid 1:1 htb rate > 600kbps ceil 3276800kbit Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc