Skip to contentSkip to conversation

Bandwidth management under linux

DISCUSSION Johan Jordaan 4 participants 4 messages Jan 13, 2005

lore
Share & tools
lore
#0 lore raw

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?

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 :(

If anyone else knows of a way I can shape traffic, please let me know.

Regards
Johan
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 9 lines · Johan Jordaan

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

google for "wondershaper" .... it'll be a great learning thing for you and it can do bidirectional shaping

#3 lore raw
In reply to Johan Jordaan
Quoted 8 lines · Johan Jordaan

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?

It can shape outgoing traffic. If you have 2 network cards, you can shape in bothe directions. But it can also throtlle incoming traffic if you want (this is not so powerfull as shaping outgoing traffic).

Quoted 2 lines

I read that it
can only do 1 direction, which one I cant remember.

Outgoing.

Quoted 2 lines

Can you monitor
the load on the queues you define?

Yes, with external scripting.

Quoted 1 line

Does TC support IPv6?

Yes (I think)

Quoted 4 lines

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 :(

I don't know how BWM works.

Stef
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/