From: Kiruthika Selvamani <kiruthika.selvamani@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc filter and ip match
Date: Wed, 08 Jun 2005 17:26:38 +0000 [thread overview]
Message-ID: <5ee6fe610506081026189d7981@mail.gmail.com> (raw)
In-Reply-To: <f48e768e05060810051abd5098@mail.gmail.com>
I am not sure if you can have a NOT in filter. But you can have 2
classes one of which is default with restriction and make the filter
pass through the other one.
On 6/8/05, Glaucius Djalma Pereira Junior <glaucius@gmail.com> wrote:
> hi all
>
> people, I'm using tc and htb to create classes and do some QoS , but i
> would like to know if i can do it:
>
> after to create the classes I need to create the rules using tc filter :
>
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
> 10.0.0.0/8 flowid 1:10
>
> ok, this rule works with all packets going to 10.0.0.0/8, but how can
> i write a rule using "!" or "not" , like :
>
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
> NOT 10.0.0.0/8 flowid 1:10
>
> ps.: I would not like to use iptables and mangle table.
>
> did you understand ?
>
>
> best regards
>
>
>
> --
> Glaucius Djalma Pereira Junior
> glaucius@gmail.com
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-06-08 17:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 17:05 [LARTC] tc filter and ip match Glaucius Djalma Pereira Junior
2005-06-08 17:26 ` Kiruthika Selvamani [this message]
2005-06-08 21:48 ` 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=5ee6fe610506081026189d7981@mail.gmail.com \
--to=kiruthika.selvamani@gmail.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.