[LARTC] Can anyone fix this?

Chris Jensen ml-lartc@drspirograph.com
Wed, 19 May 2004 22:26:06 +1000


> You can't use u32 to filter egress on src if you are NATing - you need
> to mark in POSTROUTING mangle and filter on fw.
>
> Have a look at the kptd on www.docum.org .

Whoops, I was aware of this. I must've sent an old version of the script to 
the list, cause I had fixed that, and that's not the issue anymore.

Basically I guess what I really need is a good example of filtering and 
buckets with two or more tiers (all the examples seem to be only one)

eg
root (100kbps)
	flatmate1(22kbps)
		hi prio
		default
		lo prio
	flatmate2-4 (22 kbps each)
	default (12kbps)

One of the troubles I'm having is setting up defaults. ie. Once a packet is 
filtered into one of the flatmates, how can I send it to the default bucket 
if it doesn't fall into the other two categories.