From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Transparent Bridge and classifying
Date: Fri, 11 Jul 2003 15:24:15 +0000 [thread overview]
Message-ID: <marc-lartc-105793715028155@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105792897218051@msgid-missing>
On Friday 11 July 2003 15:07, Ivan Groenewald wrote:
> Hi
>
> I would like classify and then shape traffic based on destination, but on
> a transparent bridge.
>
> I understand that in a routed situation I could mark the packet with
> iptables, but as I understand iptables only apply to routed traffic, not
> bridged traffic.
You can use ebtables.
> What I want to do is limit traffic to a certain destination to a certain
> rate. Lets say dest 192.168.0.0/24 to 64k and then anything not matched to
> that network (!192.168.0.0/24) is shaped to say 32k.
>
> Does tc allow a "!" character? Or could I define two tc statements ? Say
> first one to classify dest 192.168.0.0/24 and then the next one to
> classify dest 0/0 ? Will that match sequentially...? (don't think so)
Yes
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-07-11 15:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-11 13:07 [LARTC] Transparent Bridge and classifying Ivan Groenewald
2003-07-11 15:24 ` Stef Coene [this message]
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=marc-lartc-105793715028155@msgid-missing \
--to=stef.coene@docum.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox