similar to: tc class add syntax

Displaying 20 results from an estimated 10000 matches similar to: "tc class add syntax"

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-mark 10 $TC qdisc del dev $INET_IFACE root $TC
2004 Jul 24
1
tc del filter troubles
hello, I have working htb system with about 1000 users. Until now I reload all rules at change, but it take too much time to apply. I cannot delete applyed filters. There is rules for one user: #!/bin/bash -v # Download shaper EX -> 2:20 /sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb rate 8000Kbit ceil 10000Kbit quantum 1514 /sbin/tc qdisc add dev eth2 parent 2:1775 sfq perturb
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello, I run one of my PCs as my personal router, with iptables+tc to control traffic and be my firewall. In TC, I use a combination of htb, qdisc and sfq (as well as prio) to classify bandwidth. In my current setup, I have 10 classifications of my bandwidth. (Even I admit this is probably more than I need, but at this point I''m still learning, so I''ll just leave them be.)
2004 Nov 01
1
Big problem :(((((
Hello! I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps. I have a few clients behind my linux box and 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
2003 Mar 12
3
Warnings with and without r2q
Hi everyone, My HTB script is showing me those "r2q change" warnings. I read that I should test with r2q values to gain accuracy and stop the warnings but I made some tests with r2q and with burst and I still get the warnings. Any ideas on this issue will be very helpful. The script seems to be working as the bandwidth for the IPs is being shaped. The NIC works at 100mbit and the
2003 Oct 31
2
tc filter oddities
I shape my upstream cable link with HTB from a script. My voip traffic (from the 192.168.0.14 host) gets priority over everything else to the near-starvation of other classes; the rest of the traffic is split up based on some priority rules (qos, empty ack packets, etc). eth1 is the uplink I''ve been using HTB and fw marking for the job until recently, when I changed the queue structure
2007 Dec 06
3
HTB performance improvement
HTB performance improvement Hi all ! i''m looking at the performance of the HTB algorithm/implementation because i would like more packets/sec !! this is the scenario of the performance test: i''m using an embedded system with: SPEED CPU: 399,999 MHz RAM: 128 MByte FLASH: 16 MByte EEPROM: 8Kbyte PROCESSOR MPC8272 a lan to lan 10/100 and in particular we are sending
2004 Apr 09
1
HTB
Hello, I have problems with htb. The problem is that when I download any file via shaper with htb, the traffic is very dinamic, it jumps, for example: if i have set ceil = 128kbit the results that it jumps from 112kbps to 144kbps or smth like that maybe its not very bad, but when the traffic drops down to 40kbps or less and then after 1 or 2 seconds jumps to 144kbps, its bad :-( and it is often.
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the only filter I have), traffic still get''s sent to the default 1:2 class instead of 1:1 and I don''t know why... Any hints? (kernel 2.6.12, iproute2-2.6.15) tc qdisc del dev eth0 root > /dev/null 2>&1 tc qdisc add dev eth0 handle 1: root htb default 2 tc class add dev eth0 classid 1:1 parent 1: htb rate
2003 Oct 11
1
HTB: quantum of class 100001 is small. Consider r2q change
Salut lartc (lartc@mailman.ds9a.nl), 18:12:52 kernel HTB init, kernel part version 3.10 18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
2006 Jan 25
4
tcf_action_destroy destroying
Hi,lartc I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel 2.6.14-5. I find some error messages in system logfile: HTB: quantum of class 10001 is big. Consider r2q change. HTB: quantum of class 10010 is big. Consider r2q change. tcf_action_init_1: successfull police HTB: quantum of class 20001 is big. Consider r2q change. HTB: quantum of class 20020 is big. Consider
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
Hi, complete newb and I apologise for it. I have a setup where my linux box has multiple broadband connection where I am routing certain things over certain interfaces, currently 2 links eth2 is a 1500/256 and eth3 is a 512/512, eth0 is the link to the LAN for users. What I am trying to do is traffic shape the information going out eth0 to the local users by the interface the traffic arrived
2007 Sep 18
1
htb on Gigabit Interfaces
Hi every body I have a linux server with Intel(R) Xeon(TM) CPU 3.20GHz , and 2 Gigabit of RAM , kernel version 2.6.22.6 , and 2 Intel 82541PI Gigabit Ethernet controllers In simple situation i would like to limit bandwidth for 2 customers 1) ( to 34 Mb/s ) and 2) 68 Mb/s . My conf is as below ///////////////////////////////////////////////////// #IFACE FACONG THE CUSTOMERS /sbin/tc
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
Sorry I pressed the wrong key and sent the message too early... > -----Ursprüngliche Nachricht----- > Von: Philipp Leusmann [mailto:philipp.leusmann@rwth-aachen.de] > Gesendet: Mittwoch, 8. November 2006 12:53 > An: ''lartc@mailman.ds9a.nl'' > Betreff: Why did I need strange ceiling settings? > > Hi all, > > I recently installed traffic shaping on my
2003 Apr 09
1
HTB Question
Hi Stef, Sorry to write to you directly but my list membership is not working, I receive the archive but cant send to the list, cant delete myself because I don''t exist and can''t rejoin as they say I do exist, anyway hope you don''t mind Can you tell me what the difference between these two scripts is please. What I want to achieve is a high speed channel 1000kbit from
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
2007 Mar 19
2
TC not working well with bonded nics please help
Hi, I am facing a problem when I run tc on the bonded nic cards. When I run tc on a single nic card, it worked perfectly fine. But when I run tc on a bond of two nics, tc gives poor performance. The two nics were bonded in round-robin (load balancing) mode. I created a qdisc, class and a filter as follows: tc qdisc add dev bond0 root handle 1: htb tc class add dev bond0 parent 1: classid
2006 Dec 06
1
ADSL traffic shaping to improve latency
Hello. I have a 1024/256kbit ADSL and tried to shape outgoing traffic in order to improve latency. Here is my config. UPLOAD_RATE="256" UPRATE="$[4*$UPLOAD_RATE/5]" (a little smaller) UP70="$[7*$UPRATE/10]kbit" UP30="$[3*$UPRATE/10]kbit" UP20="$[2*$UPRATE/10]kbit" UPRATE="${UPRATE}kbit" IF="eth2" IPTABLES="iptables -t
2006 Sep 10
1
HTB and tc filter
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate
2006 Sep 10
1
help with HTB and tc
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate