similar to: tc: Trying to understand what I have done

Displaying 20 results from an estimated 4000 matches similar to: "tc: Trying to understand what I have done"

2002 May 03
2
(no subject)
hi all, Iam using the following CBQs to limit the FTP bandwidth pease tell what changes are rquired to make it work.... tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 cbq allot 1514 avpkt 1000 bandwidth 100Mbit tc class add dev eth0 parent 1:0 classid 1:1 cbq allot 1514 bandwidth 100Mbit rate .4Mbit weight .4 prio 2 maxburst 20 cell 8 avpkt 1000 tc class add dev eth0
2004 Jun 18
3
Sharing bandwidth
Hi there, I''ve got the following problem on my hand..... I''m a sysop for a school in the netherlands. We have a network with 5 different schools (and 1 administration). Each of those have their own ip range in the private network (10.4.0.0 10.5.0.0 and so on). For all these schools we have an internet uplink of 2mbit. And this bandwidth should be shared as fairly as possible.
2005 May 26
14
htb: HowTo identify squid cache hits
Hi list... I work for a school in the netherlands with a 2mbit Internet uplink and about 3800 eager student who want to play games on the Internet using one of our 800 workstations. Problem was that those game playing students are concentrated in 2 of our 6 physical locations... and they consumed the bandwidth which the other location would like to use for educational purposes. The thing we did
2005 Jan 05
0
Best QoS Policy for VoIP
Hello all, I''ve got a couple redundant (Spanning Tree Protocol) boxes running FC1 minimal install + bridge-utils and they are working great for QoS + ntop monitoring. I''m wondering if I should handle the VoIP traffic a little differently. I don''t mind letting VoIP and Video lend out traffic when it isn''t being used, so that''s why I gave them such
2005 Jun 28
0
Re: Questin regarding HTB
Yes sure here they are: The first one that i have received 2day and does not work almost at all: #!/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
2014 Jan 21
3
Network pause issue.
Howdy Folks, I've got a 5 node setup here. My server "home" is the primary server that all other servers connect to. The configs on all the servers look like this: # cat /etc/tinc/home/hosts/node1 Subnet = 10.2.0.0/16 Address = 192.168.2.1 <RSA KEY> # cat /etc/tinc/home/hosts/node2 Subnet = 10.3.0.0/16 Address = 192.168.3.1 <RSA KEY> Etc. All the hosts are setup
2007 May 18
1
High Latency With Tiered Queues
Hello, I''m trying to setup what I thought would be a fairly basic tiered shaping system. I have a 6mbit (768kbps) link coming into my eth1 device, with my LAN IPs on the eth0 device. I want to limit outgoing traffic so that certain IPs are limited to 400kbps, with 3 classes under that 400k so certain machines get prioritized (main servers in 1:21, other servers in 1:22, workstations
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all, I am trying to configure a linux box to make some QoS into my netowork and, at the same box, control my clients bandwidth. I have this classes created: ---------------------------------------------------------------- UP="eth0" # wan infocontabil DL01="eth2" # lan clientes $TC qdisc del dev $DL01 root 2> /dev/null >
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port. I want to create a class that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limit the traffic at
2006 Aug 13
3
trying to prioritize voip traffick
I am using a server with asterisk and I am trying to prioritize voip traffick -- I am a newbie at this traffic shaping, so please bear with me. I used the script below and what happens is thatall traffic in the bulk class stops after a couple of minutes. Also, should I include the ports for rtp in the filter statements with the ports 5061 and 4569? Note I have a fairly big pipe -- supposed to
2006 Jun 27
0
tc filter problems, please help...
Hi Guys, I have a couple of problems that are driving me nuts. This is the script I am using to setup restirctions and bw limitations: #Adding root class. tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit burst 2k quantum 1536 tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null tc
2003 Jun 03
1
tc usage
Dear List, I am a tc newbie, and I''ve been working through the LARTC HOWTO to try to understand how qdiscs, classes, and filters fit together. I was confused by the example in section 9.5.5.1 (see excerpt below). I thought that classes were could only be attached to qdiscs (classful ones). In the example, however, classes are being attached to other classes. Can anybody explain to me
2004 Dec 27
2
htb and iptables marked packets question
Hi folks, I have a strange situation. When I add branches to the tree, everything goes to the default class. The error might be obvious, but I cannot find it. I would really appreciate your help. this works, nothing goes to "1:9999": ############################################################################# /sbin/iptables -F -t mangle /sbin/tc qdisc del dev eth1 root >
2006 Sep 07
1
Rate limits whithin rate limits
Hi all, I''m sure I''m soing something wrong here. I am trying to set up a rate limit inside another rate limit. eg. I have a 512K rate limit on a particular VLAN. I am using an IFB so that packets passing through the bridge are counted at each port.(ie the throughput is limited to 512K, not just the traffic in one direction.) This part works OK, but I also want to limit a
2005 Oct 28
0
Issues in setting up different priorities for the MAC match filter
Hi, I am currently using TC for setting up user MAC based filters,and I am seeing a problem when I try to assign different priorities to the MAC Match filter apart from the root qdisc and parent class. Here is my script. /*****************************************************/ First of all I create the qdisc and class based on priority 2 and also the Hash mask tc qdisc add dev eth1 root handle
2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi, I am currently working on the TC. I have seen some behaviour which seems to be odd. I know someone in the mailing list would have seen this problem or may have some fix for this problem. When I try to include u32 filters with different priority or pref, I could see the filters being set on all the priority''s irrespective of the priority number. See my sample script below and the
2004 Mar 10
0
HTB - Shaping after Filter/Class removal
After I remove a filter, I seem to be loosing my "parents" class shaping rules that will return a filter to default after removing just the filter or both. Sorry, this is hard to say. I create a Class, give it a default Class and one "special" Class with a "C"class filter. Then I remove that "special" IP filter then class. Should that IP, that is within
2003 Feb 13
1
prio qdisc problem
Hello there, I''m trying to do some prio qdisc, but it doesn''t seem to work. Can anybody tell me why ??? here is my simple prio qdisc script: OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000" IPTABLES="/usr/local/bin/iptables.static" INTERNAL=eth0 EXTERNAL=eth1 tc qdisc del dev eth0 root 2>/dev/null tc qdisc add dev eth0 root handle
2004 Jun 22
5
htb filter
Hello, I have wrote some scripts to shape about 1000 workstations. My config: Pentium IV - 2GHz, 1Gb RAM, RedHat Enterprise Advanced Server 3, kernel 2.4.21-9.EL, iproute-2.4.7-11.30E.1 2 Gigabit Lan cards in bridge mode. I use htb. Everything work fine, but I have troubles with showing running configuration. # Init shaper root for dev eth0 tc qdisc add dev eth0 root handle 2: htb default 200
2005 Jul 02
0
Bandwidth shaping script appears to incorrectly halve the bandwidth
Hi, I''m trying to modify the Wondershaper script so achieve the following. 1. Prioritize traffic to the few IP addresses. 2. Everyone else should get a fair amount of bandwidth The problem I am facing is when I run this script is that the bandwidth seems to get halved. I tried to apply this script to a site where the upstream and downstream were fully saturated. I immediately saw