tc/cbq question

tc/cbq question

am 10.02.2004 10:18:18 von urgrue

i need to prioritize all traffic to a certain IP range (corporate lan)
over all other traffic (internet). nothing fancy, just "anything to/
from here gets priority".

two questions:
1.im using cbq - is there a simpler way?
2.for matching im using: u32 match ip dst . but tc
doesnt seem to allow NOT. ie: match ip dst !
how can i specify "everything else", without resorting to typing in ten
lines of network addresses to account for the internet?

thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: tc/cbq question

am 10.02.2004 13:55:38 von Jamie Harris

> 1.im using cbq - is there a simpler way?

HTB or TBF seem to be far more straight forward although I've no practicle
experience of them - http://lartc.org is our friend on this one.

> 2.for matching im using: u32 match ip dst . but tc
> doesnt seem to allow NOT. ie: match ip dst !
> how can i specify "everything else", without resorting to typing in ten
> lines of network addresses to account for the internet?

You could use iptables to 'mark' the packets, then match on those marks
for your priorities :)

HTH

Jamie...


--
** This message was transmitted on 100% recycled electrons **

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html