Marvin Pascual said:
> Hello guys,
>
> What is the best bandwidth shaper and management software for Linux?
> How do you guys implement it in your own needs?

the built-in features of linux 2.4 kernel are more than enough for that.

here's a sample series of commands you can use to limit bandwidth of IP
address 10.0.0.2 in your internal LAN to only 56 Kbps (assuming the LAN
segment is connected to eth1 of your linux router):

# tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 100mbit
# tc class add dev eth1 parent 1: classid 1:1 cbq rate 56kbit allot 1500
prio 5 bounded isolated
# tc filter add dev eth1 parent 1: protocol ip prio 16 u32 match ip dst
10.0.0.2 flowid 1:1
# tc qdisc add dev eth1 parent 1:1 sfq perturb 10

read more info on rusty russell's advanced linux 2.4 networking :) {hint:
google}

-dre



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to