From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Groenewald Date: Fri, 11 Jul 2003 13:07:10 +0000 Subject: [LARTC] Transparent Bridge and classifying Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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. 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) Any help or ideas will be appreciated! Ivan _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/