Displaying 8 results from an estimated 8 matches for "rateup".
Did you mean:
rateur
2004 Nov 16
2
share bandwith between vpns
...nectin to Internet through vpn. I want to
dynamically share bandwith between vpn connections, so if there few
connections, then they get all bandwith, if more then they get their
minimal guaranteed bandwith. my idea is:
ip-up.local:
tc class add dev $DEV parent 1:1 classid 1:2${1/ppp/} htb rate
$[$RATEUP/$VPNS]kbit ceil ${RATEUP}kbps
tc filter add dev $DEV protocol ip parent 1:0 prio 1 u32 match ip src
$5 flowid 1:2${1/ppp/}
ip-down.local:
tc class del dev $DEV parent 1:1 classid 1:2${1/ppp/} htb rate
$[$RATEUP/$VPNS]kbit ceil ${RATEUP}kbps
tc filter del dev $DEV protocol ip parent 1:0 prio 1 u32...
2005 Jan 27
3
negative tokens
I have this:
class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 33233 bytes 772 pkts (dropped 0, overlimits 0)
lended: 415 borrowed: 357 giants: 0
tokens: -3756376 ctokens: 128779
or this:
class htb 1:21 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 57554 bytes 618 pkts (dropped 0, overlimits 0)
lended: 193 borrowed: 425
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
...opriate HTB queue and IMQ patches available here:
# (subnote: future kernels may not require patching)
#
# http://luxik.cdi.cz/~devik/qos/htb/
# http://luxik.cdi.cz/~patrick/imq/
#
# Configuration options for myshaper:
# DEV - set to ethX that connects to DSL/Cable Modem
# RATEUP - set this to slightly lower than your
# outbound bandwidth on the DSL/Cable Modem.
# I have a 1500/128 DSL line and setting
# RATEUP=90 works well for my 128kbps upstream.
# However, your mileage may vary.
# RATEDN - set this to slightly lower than your
#...
2004 Jan 04
3
problem whith htb script
...doesn''t go by this class
go also by the default class.
This script is installed in a router linux with ip masquerading for the
clients.
¿how I can classify the packets in this classes?
thx 4 all ;) and sorry for my (bad) english :P
##### My script ######
#!/bin/bash
#QoS ;)=
DEV=eth1
RATEUP=100 #En KiloBytes
# borro las bandas
tc qdisc del dev $DEV root 2> /dev/null > /dev/null
tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null
tc qdisc del dev $DEV root 2> /dev/null > /dev/null
iptables -F #también las relgas iptables
#creacion del arbol de bandas
tc qdis...
2004 Jan 20
1
htb+beginner+error
...I want to limit all other traffic to 10kbites but when I do it I give me
this error:
HTB quantum of class 10034 is to small.consider r2q <7>htb*g j=42801780
Here is my script.If you have any Idea to better it let me know.Its a
bit from here and there and some of my own
#!/bin/bash
DEV=eth1
RATEUP=256
#To get stats
if [ "$1" = "stats" ]
then
echo "[qdisc]"
tc -s qdisc show dev $DEV
echo "[class]"
tc -s class show dev $DEV
#echo "[filter]"
#tc -s filter show dev $DEV
#echo "[iptable...
2011 Apr 17
0
Script Problem
...affic/eth0/mrtg.cfg
--logging /dev/null
Subroutine SNMPv1_Session::AF_INET6 redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 594
Subroutine main::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/bin/mrtg line 97
/usr/bin/rateup: /usr/local/lib/libpng12.so.0: no version information
available (required by /usr/lib64/libgd.so.2)
The issue is it tries to alert root every time this script is run. I
thought adding the ">/dev/null 2>&1" would stop that but it does not.
Is there anyway to get the script to...
2006 Jul 18
0
skype specific QoS - assigning skype traffic to an HTB class
...es -t mangle -A MYSHAPER-$DEV -p tcp --$PORT 4000 -j MARK --set-mark 22
# skype configured to listen on 4000
iptables -t mangle -A MYSHAPER-$DEV -p udp --$PORT 4000 -j MARK --set-mark 22
[...]
}
[...]
HTB_shape $INTIF $RATEDN
HTB_shape $EXTIF $RATEUP
?
According to
http://www.skype.com/help/faq/technical.html
we can choose the port that skype will use for sending and receiving traffic.
For this example port 4000 was chosen, and that port is forwarded from the
linux router to the internal machine that runs skype for both TCP and UDP
traf...
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK
--restore-mark
iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7
iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark
iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK