This can either be done by doing the classification in directly tc, 
or by using the -j MARK function of iptables to set the nfmark/fwmark 
value of the packets, and then use this in tc filters to classify the 
packets.

In most cases I would recommend doing the classification directly in 
tc, ignoring iptables, leaving the mark capability open for other 
uses (beleive me, there is many interesting uses of marking).


Regards
Henrik



On Monday 06 May 2002 02:23, Chris Ellsworth wrote:
> currently using this code to make classes
> note: this is being used on a bridge which has been patch to allow
> iptables to effect the packets.
> I need to filter packets into these classes with iptables.
> the line i have came up with so far is as follows
> iptables -A FORWARD -s <IP>
> iptables -A FORWARD -d <IP>
>
> how to i finish the line so that when a packet comes from an IP it
> will be filtered into the correct class for limiting.?
> this is being used on a bridge which has been patch to allow
> iptables to effect the packets.
> I believe there is something to do with marking but dont understand
> which mark command to use.
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to