All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc filter - based on iptables - MAC - MARK not working
Date: Thu, 21 Apr 2005 20:27:37 +0000	[thread overview]
Message-ID: <42680CB9.2000507@dsl.pipex.com> (raw)
In-Reply-To: <20050419052142.3397.qmail@web32208.mail.mud.yahoo.com>

Daniel Dafoe wrote:
> --- Andy Furniss <andy.furniss@dsl.pipex.com> 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

  parent reply	other threads:[~2005-04-21 20:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  5:21 [LARTC] tc filter - based on iptables - MAC - MARK not working - Daniel Dafoe
2005-04-19 21:54 ` [LARTC] tc filter - based on iptables - MAC - MARK not working Andy Furniss
2005-04-20  7:33 ` [LARTC] tc filter - based on iptables - MAC - MARK not working - Daniel Dafoe
2005-04-21 20:27 ` Andy Furniss [this message]
2005-04-22  7:29 ` Daniel Dafoe
2005-04-22  9:26 ` Daniel Dafoe
2005-04-22 14:17 ` [LARTC] tc filter - based on iptables - MAC - MARK not working gypsy
2005-04-22 15:53 ` Daniel Dafoe
2005-04-22 21:24 ` Andy Furniss
2005-04-22 22:08 ` Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42680CB9.2000507@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.