Brian J. Murrell wrote:
>So, in further experimenting with simple TC to shape/prioritize my upstream
>bandwidth, I'm noticing that setting ip addresses in the tcpri file 
>only allows
>one to set the source address.
>
>But what if I want to prioritize traffic based on where it's going, 
>not where it
>came from?

Well if you want to get complicated (dunno how far the options in 
Shorewall will take you) then you could setup your own traffic 
control. The learning curve is quite high as you need to learn how to 
drive "tc" natively, but Shorewall will happily run your own setup 
script and it gives you great flexibility.
In practical terms, if you can write a TC filter spec for it, you can 
control it !

I do this on our border routers at work, I shape in four bands, and 
multiple groups so we can split out bandwidth for particular services 
we host or customers we resell bandwidth to in the building. And I 
"simulate" doing it inbound by shaping egress traffic on the internal 
interface (or you can use (IIRC) an IFB interface).

There's a whole howto on it at http://lartc.org/howto/

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to