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: Fri, 22 Apr 2005 21:24:20 +0000	[thread overview]
Message-ID: <42696B84.3010308@dsl.pipex.com> (raw)
In-Reply-To: <20050419052142.3397.qmail@web32208.mail.mud.yahoo.com>

Daniel Dafoe wrote:
> I really don't get it :
> 
> Recompiled my kernel dozen times now is
> 2.6.11-gentoo-r5 but still packets are marked by
> iptables but not shaped by tc. It only works when I
> mark packets on source/destination ip
> 
> As soon as I comment last two lines and uncomment the
> first one shaping is gone .... 

So you may need to match on MAC dst rather than src or did you try with 
just -s 192.168.0.22 alone?

Andy.


> 
> iptables -t mangle -A FORWARD  -m mac --mac-source
> 00-0d-87-60-61-37 -j MARK --set-mark 0x2
> 
> #iptables -t mangle -A PREROUTING -s 192.168.0.22 -j
> MARK --set-mark 0x2
> #iptables -t mangle -A PREROUTING -d 192.168.0.22 -j
> MARK --set-mark 0x2
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-04-22 21:24 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 ` [LARTC] tc filter - based on iptables - MAC - MARK not working Andy Furniss
2005-04-22  7:29 ` [LARTC] tc filter - based on iptables - MAC - MARK not working - 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 [this message]
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=42696B84.3010308@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.