Displaying 3 results from an estimated 3 matches for "htb_start".
Did you mean:
gtt_start
2004 Oct 20
0
up and down shaping based on IP
...ch which supplies internet to 12 other
computers.
dsl connection is 1000/256 kbit/s
Please correct my script to include upload control. Every host should
have equal speed.
> bernard@gecon:~$ cat /etc/rc.d/rc.htb
> #!/bin/sh
> CLIENTS="01 05 07 11 12 13 15 18 19 20 21 22"
> htb_start() {
> echo "tc qdisc add dev eth1 root handle 1: htb default 12"
> tc qdisc add dev eth1 root handle 1: htb default 12
> echo "tc qdisc add dev eth0 root handle 2: tbf rate 200kbit latency
> 50ms burst 1540"
> tc qdisc add dev eth0 root handle 2: tbf rat...
2004 Oct 21
3
[Fwd: up and down shaping based on IP]
...d the howto, but do not understand it. Every client has here his own class.
Should i create 2 classes for each (1 for upload and 1 for download ) ? Please help, im desperate.
> bernard@gecon:~$ cat /etc/rc.d/rc.htb
> #!/bin/sh
> CLIENTS="01 05 07 11 12 13 15 18 19 20 21 22"
> htb_start() {
> echo "tc qdisc add dev eth1 root handle 1: htb default 12"
> tc qdisc add dev eth1 root handle 1: htb default 12
> echo "tc qdisc add dev eth0 root handle 2: tbf rate 200kbit latency
> 50ms burst 1540"
> tc qdisc add dev eth0 root handle 2: tbf rat...
2004 Oct 12
0
ssh and cs LAG
..., and after a
while when lag comes the kb/s stats reset. and iptraf shows that there
is only 50% bandwith usage. What could be the problem ?
root@gecon:/home/bernard# cat /etc/rc.d/rc.htb
#!/bin/sh
HIGHSPEED="19 "
CLIENTS="01 05 07 11 12 13 15 18 63"
SLOW="20 21 22"
htb_start() {
echo "tc qdisc add dev eth1 root handle 1: htb default 12"
tc qdisc add dev eth1 root handle 1: htb default 12
echo "tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency
50ms burst 1540"
tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency 50ms
burst...