----- Original Message ----- From: "Ivan Groenewald" <[EMAIL PROTECTED]> To: "'Giannis Stoilis'" <[EMAIL PROTECTED]>; "'Ivan Groenewald'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Παρασκευή, 20 Ιουνίου 2003 11:48 πμ Subject: RE: [LARTC] tc ip group
> I have only used u32 in the past. > On the LAN I still have to decide. Marking the packets with Iptables > sounds like a good idea and is quite simple. > How would I setup tc to match the marked packets (sorry I'm a bit lazy > to rtfm today :-)) And I am too bored, to send you to hell... :-) So, this is an example: iptables rules: iptables -A FORWARD -t mangle -p tcp --sport 80 -j MARK --set-mark 2 iptables -A FORWARD -t mangle -p tcp --dport 80 -j MARK --set-mark 2 iptables -A FORWARD -t mangle -p icmp -j MARK --set-mark 2 tc filter rules: tc filter add dev eth0 parent 1: protocol ip prio 1 handle 2 fw classid 1:12 - Giannis _______________________________________________ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
