Displaying 1 result from an estimated 1 matches for "mybot".
Did you mean:
mybox
2004 Apr 01
3
Control Bandwidth
Hi all,
I need a little help, i am studing htb to control user
bandwidth (download/upload) and I made a script as
below to test. I am testing using ttcp tool from by
linux box to other linux (192.168.200.51).
my box <---- Linux = more than 128kbit
mybot -----> Linux = get 128kbit
But I want to control both ways, what am I missing?
script:
EXTIF=eth0
INTIF=eth1
TC=/sbin/tc
DOWN=128
UP=64
IP=192.168.200.201
##################
#
$TC qdisc del $EXTIF root 2> /dev/null > /dev/null
#
$TC qdisc add dev $EXTIF root handle 0: htb default 1
$TC...