(E-Mail Removed) wrote:
> In my search to control bandwidth on my network I found 2 projects..
>
> 1. TC
> 2. BWM Tools - http://freshmeat.net/projects/bwmtools/
>
> This brings me to 2 questions...
>
> Firstly, can TC control bandwidth in both directions? I read that it
> can only do 1 direction, which one I cant remember. Can you monitor
> the load on the queues you define? Does TC support IPv6?
More than one question. Bzzzzztttt! You lose ;-)
1) Outgoing only, but with two nics (it's meant for use on a router
after all) that is just a matter of picking the right nic. Never the
left one.
2) Can't remember which one(s) of the graphing monitors do and there
are perf monitors that will do this (both IIRC). Probably not an extra
continuous load you want to put on the machine.
3) If you're even thinking of TC, you might as well go directly to:
http://lartc.org/howto/index.html
where you will find many answers, like:
http://lartc.org/howto/lartc.adv-filter.ipv6.html
That's LARTC -- Linux Advanced Routing and ... Traffic Control. It's
in tldp, which every Linuxer should own
> Secondly, BWM Tools seems to queue traffic to userspace and use some
> kind of kernel module to allow it through or not. How efficient is
> bandwidth control using ip queing to userspace? BWM Tools doesn't
seem
> to support IPv6
Think you have the definitive answer to this one from him who knows
best.
> If anyone else knows of a way I can shape traffic, please let me
know.
> Regards
> Johan
Incoming traffic _can't_be_shaped_ -- it has to enter the machine
_before_ you can do _anything_ with it. No telepathic nics on the
market yet. Incoming traffic is _policed_ (to be anal about it) with
netfilter/iptables rules. Eg., limit module and limit-burst.
Your incoming traffic is outgoing traffic on the device just upstream
-- ie., that's where traffic _shaping_ would take place.
There has been an ongoing project re: IPv6 support for some time and it
appears it will be rolled into the kernel (fully?) in the (near +-)
future. You can get some sense of it here:
http://www.linux-ipv6.org/
While on the subject of links, try any/all of these:
http://linux-ip.net/html/
http://www.policyrouting.org/PolicyR...NLINE/TOC.html
http://www.docum.org/docum.org/docs/
http://www.opalsoft.net/qos/DS-23.htm
and there is always google ;-)
hth,
prg
email above disabled