Displaying 20 results from an estimated 38 matches for "800kbit".
Did you mean:
100kbit
2002 Jun 06
1
parameter of htb
...qdisc htb 1 dev eth0 r2q 10 default 12
direct_packets_stat 0 Sent 34210198 bytes 23370
pkts(dropped 0 overlimits 35534)
!!!!first question: what is meaning of "r2q" and
"direct_packets_stat"
tc -s -d class dev eth0
class htb 1:11 root prio 0 quantum 3072 rate 240kbit
ceil 800kbit burst 2kb/8 mpu 0b cburst 2636b/8 mpu 0b
level 0 Sent 0 bytes 0 pkts(dropped 0 overlimits 0)
lended:0 borrowed:0 giants:0 tokens:54612 ctokens
20992
class htb 1:10 root prio 0 quantum 3072 rate 240kbit
ceil 800kbit burst 2kb/8 mpu 0b cburst 2636b/8 mpu 0b
level 0 Sent 0 bytes 0 pkts(droppe...
2002 Jun 18
7
Better filtering to a class
Dear all,
I want to make a filter for all IRC-Dalnet traffic, so I want to put all
traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669,
7000, 7001, 7002, and 8000 to a class. So, I create a TC script as below.
I''m sure, it is not effective, and we can write it in simpler.
I need help, how to make my script below are simpler.
The simpler, the better.
Thank you
2004 Apr 01
2
Need help with rate-limiting NTTP traffic
...TP client, it uses as much bandwidth as it
can get its grubby paws on. I have a 3M wireless connection and my ISP
doesn''t limit me, but I think they will if I''m constantly using all 3M.
So, since my NNTP traffic is pretty much constantly ongoing, I''d like
to limit it to 800kbit. This was a breeze with dummynet, but I''m not
getting how to do it correctly with netfilter.
Here''s what I tried:
$IPT -t mangle -N SHAPE-NNTP
$IPT -t mangle -I PREROUTING -i $WANIFACE -j SHAPE-NNTP
$IPT -t mangle -A SHAPE-NNTP -p tcp --sport 119 -j MARK --set-mark 119
My tho...
2004 Jul 09
4
HTB & Bdw Guarantee
Hello,
I have problems setting up HTB.
This is my setup :
NET 1024/256 ADSL
||
eth1
Linux Firewall
eth0
||
LAN 10.a.a.a
I want to GUARANTEE for an IP (10.x.y.z) a 800kbit
bandwidth for HTTP download.
But When 10.x.y.z does no HTTP download, other trafic
must get the whole bandwidth, of course.
The script I use (see below) is quite the same as
presented at (the greeeeat page) :
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm,
the only difference is that I use on...
2007 May 10
6
PRIO and TBF is much better than HTB??
.../* with the prio parameter : $low = class ( rate 300kbps,
ceil UPLOAD, prio 0); */
$low = class ( rate 300kbps, ceil UPLOAD, prio 1);
}
}
}
}
/* 1Mbit 0.0008 = 100*8/10^6 */
every 0.0008s send TCP_PCK($tcp_dport=22) 0 x 60
/* 800kbit/s */
every 0.001s send TCP_PCK($tcp_dport=80) 0 x 60
time 2s
PRIO and TBF:
PRIO and TBF cumulative: http://simo.mix4web.de/up/prio_tbf_cumul.jpg
PRIO and TBF delay: http://simo.mix4web.de/up/prio_tbf_delay.jpg
#define UPLOAD 1000kbps
dev eth0 1000 {
egress {...
2005 Feb 10
5
priorizing vlans in a bridge
...00kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 500kbit ceil 1000kbit prio 1
tc filter add dev eth0 parent 1: prio 1 protocol ip handle 1 fw classid 1:11
iptables -t mangle -A PREROUTING -i eth1 -j MARK --set-mark 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 500kbit ceil 800kbit prio 2
tc filter add dev eth0 parent 1: prio 1 protocol ip handle 2 fw classid 1:12
iptables -t mangle -A PREROUTING -i eth2 -j MARK --set-mark 2
What do you suggest me?
Thanks in advance.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9...
2006 Jun 27
11
Unequal Multipath Routing?
Hi,
I am currently using a 2.4 kernel with multipath routing patch v5 to send
outgoing packets in a 1:1 ratio over two lines, however the lines do not
actually have equal upstream bandwidth, one has 800kbit and the other
600kbit, so ideally I would like to send packets in a 4:3 ratio, is there
anything in 2.6 or a patch for 2.4 that could be used to do that?
I tried this ugly hack but it didn''t seem to work:
ip route add default src my.ip.add.res equalize nexthop via a.a.a.a weight
1 nexth...
2004 Jun 01
1
ices2 and Icecast2 on debian configuration question
Hi there,
I have a Debian sarge 512 MB RAM machine with icecast2 and ices2 that I
installed via aptitude. I have a 3MBit/s download and 800KBit/s upload
link.
I would like to configure icecast2 and ices2 properly.
Here is my situation:
1)I have a dtdns address omac.darktech.org
2)icecast2 and ices2 on port 8000 would be fine.
3)I simply want to broadcast my 6 year old niece's voice which I have
converted to .ogg using the blade enc...
2004 Jul 24
1
tc del filter troubles
...ate 100Kbit
ceil 25000Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:2775 sfq perturb 10
/sbin/tc filter add dev eth2 parent 2:30 protocol ip handle 1775 fw
flowid 2:2775
# Download shaper international -> 2:40
/sbin/tc class add dev eth2 parent 2:40 classid 2:3775 htb rate 384Kbit
ceil 800Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:3775 sfq perturb 10
/sbin/tc filter add dev eth2 parent 2:40 protocol ip handle 1775 fw
flowid 2:3775
I change ''add'' with ''del'' but only sfq qdisc are deleted:
#!/bin/bash -v
# Download shaper EX -> 2:20
/sb...
2005 Jan 26
10
Ssh flow does not go into correct class. Help!
...What''s wrong?
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit ceil 2000kbit prio 1
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 100kbit ceil 100kbit prio 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 800kbit ceil 1600kbit prio 1
tc class add dev eth0 parent 1:1 classid 1:13 htb rate 100kbit ceil 100kbit prio 1
tc qdisc add dev eth0 parent 1:11 handle 111: sfq perturb 5
tc qdisc add dev eth0 parent 1:12 handle 112: sfq perturb 5
tc qdisc add dev eth0 parent 1:13 handle 113: sfq perturb 5
iptables -t m...
2006 Nov 15
7
Shaping incoming VoIP traffic fails
...to 450kbit and put VoIP into highest prio class. Even during full upload the
voice is clean on the other end.
Now I tried to get the same result for incoming data. I attached HTB to eth1
where the incoming voip traffic is forwarded to. But even when I set the
ceiling for other traffic as low as 800kbit there are drop outs in incoming
voice while "full" downloading.
Could I setup HTB better than below? Should I reduce eth1''s queue length (now
1000)? If yes, how?
Thanks.
Daniel
-------- 8< --------
INT=eth1
# creating root and root class
tc qdisc add dev $INT root handle...
2005 Jan 22
1
Some issues with X-Lite and codecs.
...i there,
I am experiencing some issue with X-Lite.
When I am calling over the phone thru my PSTN-to-VoIP gateway
internationally using G.729 the quality is just perfect.
When I am using X-Lite to connect the same box, and then to call
internationally - I am experiencing some issues.
I have 5Mbit/800Kbit cable link with average 60 msecs to my VoIP box.
The transfer rate is never falling below 500Kbytes/sec.
Therefore I am not suspecting quite noticeable packet loss.
I enabled G.711 ulaw, alaw and speex codecs on both sides. By playing
with different codecs I am trying to avoid some
clicking and s...
2006 Nov 08
1
Why did I need strange ceiling settings?
Hi all,
I recently installed traffic shaping on my ADSL line with a nominal upload
rate of 1MBit. My Modem says it has an upload bitrate of 843 kbits.
So I thought, to use a ceiling of 800kbit for the root qdisc is a good idea.
But with that setting I only achieved upload rates of around 300kbits
whereas I reached around 650 kbits without traffic shaping.
Yesterday I played a little with the ceiling value and found that increasing
it to 175kBps did the job.
Could anybody please explain t...
2004 May 03
1
htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:24 ht...
2006 Aug 21
1
tc filter don''t match packets
Hi,
I have problem with this simple script:
#!/bin/bash
if [ "$1" == "del" ]; then
tc qdisc del dev eth0 root handle 1: htb default 10
exit
fi
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 800kbit ceil 900kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 300kbit ceil 600kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 100kbit ceil 800kbit
tc qdisc add dev eth0 parent 1:11 handle 11: pfifo limit 5
tc filter add dev eth0 parent 1:11 protocol ip prio 1 u32 match ip dport 80...
2005 Jun 22
1
Problem with HTB and IPTABLES
...me some tips?
tc qdisc add dev eth1 root handle 1: htb default 13
tc class add dev eth1 parent 1: classid 1:1 htb rate 1Mbit ceil 1Mbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 400kbit ceil 600kbit
prio 0
tc class add dev eth1 parent 1:1 classid 1:11 htb rate 300kbit ceil 800kbit
prio 1
tc class add dev eth1 parent 1:1 classid 1:12 htb rate 200kbit ceil 700kbit
prio 2
tc class add dev eth1 parent 1:1 classid 1:13 htb rate 100kbit ceil 600kbit
prio 2
tc qdisc add dev eth1 parent 1:10 handle 100: sfq perturb 10
tc qdisc add dev eth1 parent 1:11 handle 110: sfq perturb...
2006 Apr 10
1
Where is the documentation for IFB ?
Hi all,
Can you tell me where is the documentation for the new IFB (implemented
in kernels > 2.6.16).
Thanks in advance!
Nikolay
2006 May 01
1
Traffic Shaping with Shorewall
...pp2p into my rules help me in any way? My
kernel (gentoo) is already build to support ipp2p and I already have the
module loaded and iptables is working with it. So if ipp2p would be helpful
I''m already set up for it.
Thanks for any help.
Here are my files:
tcdevices:
eth1 3800kbit 800kbit
tcrules:
1 0.0.0.0/0 0.0.0.0/0 icmp echo-request
1 0.0.0.0/0 0.0.0.0/0 icmp echo-reply
2 0.0.0.0/0 0.0.0.0/0 tcp - 50001:50009
2 0.0.0.0/0 0.0.0.0/0 tcp - 50011:50019
2 0.0.0.0/0...
2003 Aug 18
1
Remarking non conformant packets as AF13 from AF11
...e scaled-down version of the AF traffic
class type. As such I basically want to remark non-conforming AF11
packets to AF13. Here is m script that I have been using on the ingress
router of my network:
----------------------------------------
Link=''dev eth1''
Rate1=''rate 800Kbit''
Rate2=''rate 2500Kbit''
Burst=''burst 9K''
Action=''continue''
Match1=''match ip src 192.6.0.90 match ip dst 10.37.1.63 match ip sport
6970 0xffff match ip protocol 17 0xff''
Match2=''match ip src 192.6.0.90 match...
2002 Dec 29
8
wondershaper + htb prio + qdisc prio
...add $IF_EXT parent 1:9 classid 1:1 htb rate 500kbit ceil
500kbit burst 6k prio 1
$tc class add $IF_EXT parent 1:9 classid 1:2 htb rate 64kbit ceil 500kbit
burst 6k prio 2
$tc filter add $IF_EXT protocol ip prio 2 parent 1: u32 \
match ip protocol 1 0xff flowid 1:1
first tryed it with ceil 800kbit, after with a smaller value, the "real"
bandwidth was somewhere around 700kbit, at that moment.
didn''t work
so he tryed with just a prio qdisc and put the icmp packets in the 0
band, the script:
$iptables -t mangle -A POSTROUTING -p icmp -j TOS --set-tos 0x10
$tc qdisc del $IF...