search for: tc

Displaying 20 results from an estimated 3792 matches for "tc".

Did you mean: etc
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...aping traffic using htb on both interfaces, I noticed that shaping download traffic is workinggreat but shaping upload traffic is not working at all (no sent packets, no dropped, no overlimits)I have eth0 facing the backbone and eth1 facing the LAN. Thanks for your help.These are the commands I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5 tc class add dev eth0 parent 1: classid 1:2 htb rate 3Mbit tc class add dev eth0 parent 1:2 classid 1:100 htb rate 128Kbit ceil 128...
2004 Nov 01
1
Big problem :(((((
...i want to set up some limitations because some of them are using it irrational. I am marking the packets with 0 for internet; 1 for metropolitan 2 for provider''s network. Afther the mark i send the packets to the followind classes: script for eth0 (eth0 is my local network) #!/bin/bash tc qdisc del dev eth0 root >/dev/null tc qdisc add dev eth0 root handle 1: htb default 3 tc class add dev eth0 parent 1: classid 1:1 htb rate 64kbit ceil 256kbit burst 15k quantum 1500 # Internet tc class add dev eth0 parent 1: classid 1:2 htb rate 10Mbit burst 15k...
2004 Aug 18
0
HTB prio question
...gh-priority traffic suffers. I am able to control the p2p but putting it into a very small bitrate queue but would rather late the shaper do the work based on priority. What am I missing? My rules are posted below. Thanks, Michael Eck Sorry if these are a bit long ### # Root qdisc ### /sbin/tc qdisc add dev eth0 root handle 1: htb default 5 #### # Parent Classes #### # The Entire Interface /sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 102401kbit ceil 102401kbit quantum 20000 # Default Class /sbin/tc class add dev eth0 parent 1:1 classid 1:5 htb rate 100864kbit ceil 100864k...
2005 Apr 20
1
deleting tc rules
Hi I''m doing traffic shaping with tc on ''10.0.0.0/30'' and ''10.0.0.28/30''. I want to delete part of shaping rules on the fly. (see my configuration at the end of this mail) I wan''t to delete the shaping for ''10.0.0.0/30'' on the fly while still keeping the shaping for part...
2013 Jun 24
2
Asterisk-11 loop behaviour
...om870 Handsets We are in the process of moving to an Asterisk based PBX. At the moment most things work as we wish. However, I have just notices that when I force a reload using 'amportal a reload' I see this loop start in 'asterisk -rvvvvvvvvvv': > Channel Local/s at tc-maint-000002a4;1 was answered. > Launching NoCDR() on Local/s at tc-maint-000002a4;1 [2013-06-24 15:22:32] NOTICE[32678]: pbx_spool.c:402 attempt_thread: Call completed to Local/s at tc-maint [2013-06-24 15:22:32] NOTICE[32678]: pbx_spool.c:402 attempt_thread: Call completed to Local/s at...
2006 Jul 19
2
PRIO and CBQ
...and I would like to know if it''s possible to mix differents Queueing Disciplines ?? I would like to combine the proporties of a PRIO discipline with that of a CBQ discipline. I read some documentation and I found nothing about that, can you help me ? I think to try something like that : tc qdisc add dev $DEV root handle 1: cbq … tc class add dev $DEV parent 1: classid 1:1 cbq … tc class add dev $DEV parent 1:1 classid 1:10 cbq … tc class add dev $DEV parent 1:1 prio Normally I''ve this tree : 1:(cbq) | | 1:1 /...
2005 Oct 01
3
I gave up.-...-.-.-.- :''(
Actually i gave up, i tried and tried and tried so many times, upgrading software falling back to an old version but it didn''t work, that''s it. i can''t do work together tc with iptables and iproute2 when i mark a packet with iptables tc doesn''t recognize them so it falls at the default leaf of the tc''s tree what i like is to mark packets depending on their ip (the one who make a connetion into de linux (gateway) box) and port. i''ll transc...
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...s (with second computer also downloading at about 6kBytes). After running it my download speed decreases to about 1..2kBytes and so the second computer. Could you tell me what have I done wrong ? Thank you for replies. Ixen -------------- My configuration: Celeron 450MHz, 256MB RAM Kernel 2.6.9 patched for imq support (imq devices compiled into kernel) iptables 1.2.11 (also patched for imq) Script: #!/bin/sh DOWNIF=''imq0'' UPIF=''imq1'' rc_done=" done" rc_failed=" failed" TC=''/sbin/tc'' IPTABLES=''/usr/sbin/ipta...
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
...interface the traffic arrived from (eth2 or eth3), but I am not having much luck. If i just do it as a normal interface and do the max bandwidth as 2012 max bandwidth it works but the queues are sort of screwed up since different types of traffic are mostly coming in from 1 interface not another etc etc. Here is what i attempted to do..... Each parent queue i tried to apply to the handle the mark of the interface eth2 is a mark of 0x03 and eth3 is a mark of 0x04 (i use the same marks for routing some port related traffic out different interfaces). I have probably made some basic mistake...
2003 Mar 12
3
Warnings with and without r2q
...010 is big. Consider r2q change htb*g j=154890508 HTB: quantum of class 10001 is big. Consider r2q change HTB: quantum of class 10010 is big. Consider r2q change Here''s the script I´m using (with the burst parameter): #!/bin/sh #====================== # uploading #====================== tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 2k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 80mbit ceil 100mbit burst 2k tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit bur...
2013 Jan 09
4
how to count "A","C","T","G" in each row in a big data.frame?
...;, "AA"), X2598 = c("AA", "TT", "TT", "CC", "TT", "CC", "CC", "TT", "CC", "GG", "AA", "AG", "GG", "TT", "CC", "AG", "TC", "AA", "AA", "AG"), X2610 = c("AA", "TT", "TT", "CC", "TT", "CC", "CC", "TT", "CC", "GG", "GA", "GA", "GG", "TT", &...
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets using iptables mark, iproute filter and tc filter.- i mean, when i do iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK --set-mark 20 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1 --dport 25 -j MARK --set...
2004 Apr 09
1
HTB
...down to 40kbps or less and then after 1 or 2 seconds jumps to 144kbps, its bad :-( and it is often. Root class is 20Mbit There are about 7000 classes (on two interfaces) an example script: =============================================================================================== #!/bin/sh TC="/sbin/tc" INT_IF="eth1" EXT_IF="eth0" $TC qdisc del dev $INT_IF root $TC qdisc del dev $EXT_IF root $TC qdisc add dev $INT_IF root handle 1: htb r2q 1 default 2000 # tried default r2q $TC qdisc add dev $EXT_IF root handle 1: htb r2q 1 default 2000 $TC class add dev...
2007 May 08
5
limit bandwidth per host question
EHLO tc gurus. New to traffic control. Unfortunately, the politicians here in Denmark have decided that a PC is the same as a television set - so anyone owning a PC and internet connection of over 255 kbit/s must pay DKR 2200/year = EUR 300 = USD 400 in television licence fees :-( This is a lot of mon...
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
I thought that the below email would be of interest to LARTC readers. I wasted quite a bit of time tracking down this "feature" (bug?). Any comments that shed light on this would be appreciated. In short, "tc filter" + htb + bridging works only with ip_forward off. Andrew Athan -------------------------------------------------------...
2005 Jun 28
0
Re: Questin regarding HTB
...ll: #!/bin/bash ETH_IN="eth1" ETH_OUT="eth0" BANDA_TOTALA="2Mbit" # pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui sa ajunga trafic necunoscut, # care nu e organizat in shape-uri BANDA_NECLASIFICATI="8kbit" #Shape generale /sbin/tc qdisc del dev $ETH_IN root /sbin/tc qdisc del dev $ETH_OUT root /sbin/tc qdisc add dev $ETH_IN root handle 1 htb default 10 r2q 2 /sbin/tc qdisc add dev $ETH_OUT root handle 1 htb default 10 r2q 2 /sbin/tc class add dev $ETH_IN parent 1: classid 1:2 htb rate $BANDA_TOTALA /sbin/tc class add dev $ET...
2020 Feb 10
2
Numerar filas según valor en una columna
...Les presento mi necesidad, a ver si ven cómo resolverla. Necesito saber el numero relativo de las filas de un data frame, para poderlos pasar como argumentos en unos scripts de Praat. Me pasaron un csv con esta estructura: Informante001 frase(a) Informante001 frase(b) Informante001 frase(c) TC Informante001 frase(d) TC Informante001 frase(e) TC Informante001 frase(a) Informante001 frase(f) TC Informante001 frase(g) Informante002 frase(h) Informante002 frase(a) Informante002 frase(i) TC Informante002 frase(c) TC Informante002 frase(j) Informante002 frase(k) Informante...
2004 Apr 13
4
tc does''nt limit the bandwidth!
Hi, good people! I wanted to limit my 4 customers to 144, 16, 32, and 32kbps. I used the following tc commands BUT IT FAILED TO LIMIT each and everyone of them to its bandwidth. What am I doing wrong: My tc scripts are: tc qdisc add dev eth1 root handle 1: htb default 1 #Classes# tc class add dev eth1 parent 1: classid 1:1 htb rate 9bps ceil 9bps #Default tc...
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
...point me out where the script below is wrong? All I want is that host 172.31.1.1 can only use 10 megabit. If I run this script on the in-between router nothing happens (the host uses still the full 100 mbit, tested with iperf) , so i assume that something must be wrong.... #!/bin/sh # LAN1 NIC tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit # my machine tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1mbit ceil 10mbit # filter tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 match ip dst 172.3...
2007 Feb 09
4
need help with tc filters
Hi, I am attempting to set up some simple outbound shaping following the LARTC HOWTO. The HTB qdisc seems to work as the documentation says, but my filters don''t seem to be working. All of the packets go to the default queue regardless of what filters I set, it seems. (according to tc -s qdisc show) I am trying to get this working on my openwrt box (whiterussia...