similar to: Simple set up to shape traffic...

Displaying 20 results from an estimated 7000 matches similar to: "Simple set up to shape traffic..."

2005 Feb 13
2
Problems after Kernel upgrade to 2.6.10
Greetings, I have been reading the list for a little while now, but this is the first occasion I have had to post--of course, because of a problem. My problems began when I upgraded my RedHat 9 system to 2.6.10 from source. Aside from some other booting issues and things, all of which appear to be resolved, the only things NOT working are my scripts for traffic control. I get a whole host of
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all, I have installed 2.4.5 kernel, Debian Potato. my tc script: #!/bin/bash tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000 echo root tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \ 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 echo class tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \ 5Mbit allot
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
2004 Aug 13
1
Shaping weirdness
I''ve been following the HOWTO, and reading mailing list discussions about throttling bandwidth, and have had some success, but I just want to tie off some loose ends. Essentially what I am wanting to do is to keep our bandwidth usage below 1megabit, because if we go over we get charged for that traffic. I''ve used some of the examples from the HOWTO to limit our bandwidth, but I
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 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello, I''m using tc to limit the bandwidth of our wireless customers. I have a working script, but I''m not happy with it. I''m trying to write a more sophisticated script, but when I run it, it give me this error: RTNETLINK answers: File exists I have no idea what this error means or how to fix it. Here is a portion of the script (the whole script shapes several
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
hey guys i am regulating the traffic to & fro by my network through a linux gateway , its behaving strange. i regulated Downlink to 2Mbps & UPlLINK to 500Kbps. both perform well when those are done independent i.e. one at a time but when i do both from a client system ..the downlink however continues at 2mbps but the uplink falls down to 100kbps? is something wrong with my script or
2007 May 04
0
RSVP RESV not seen
all: I"m just trying to create a simple rsvp session to familiarize myself with the protocol. I don''t ever get a rsvp RESV message only PATH AND PATH TEAR messages. There is a timeout but i''m not sure whats causing it exactly. Can anyone shed some light on why? All the configs and output are below. Please let me know if you need more information. Thanks. Jon Test
2006 Jan 06
1
Wondershaper and DSCP
Did anyone ever answer this one? THIS is what I am trying to do: >[LARTC] cbq+sfq and DSCP marking >Maria Joana Urbano stmaria@dei.uc.pt >Thu, 13 Feb 2003 19:29:42 +0000 > > * Previous message: [LARTC] Monitoring.... > * Next message: [LARTC] two routes 1 network card > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >
2005 Oct 25
4
Terminal Services and traffic control.
Hi everybody, I have a network that only uses terminal services. Look at the diagram. 20 machines running WinXP <-> LinuxFW-1 <-> 1Mbit link dedicated fiber link <–> LinuxFW-2 <–> Terminal Server I’d like to give the maximum priority for bandwidth to terminal services (port 3389). I’ve changed the CBQ script from LARTC site to suite my needs, but every time I
2001 Feb 05
0
bandwidth limiting when src and dst are on the same interface
Hello! I have a problem here. I set up a Linux 2.4 machine to do bandwidth limiting for some of our customers. Current setup is something like this: |--------| backbone |-------| |---------| |Internet|225.1-----------225.10|limiter|228.1----228.10|cust. gw2| |--------| | eth0 |-------| eth1 |---------| | 225.20
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio): > Because it doesn''t actually shape, the same warning as for SFQ holds: > either use it only if your physical link is really full or wrap it > inside a classful qdisc that does shape. The latter holds for almost all > cable modems and DSL devices. I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL line, which has
2004 Jul 28
0
CBQ Problem
Hi. I want to shape traffic from some IPs in my lan, but I''m w/ trouble. I have a linux box connected to the Internet. In the other side of this box is my LAN. I want to create the following scenario: My root qdisc is attached to a 100Mbit/s NIC I want to create a class attached to this qdisc that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limits
2006 Jan 08
1
unexpected drop
Hello everybody, I have a Linux router with an ethernet adapter and a ADSL device. My router has a GRE tunnel connected to a remote IP address. Using "tc" I have configured 3 different classes: 1. 290kbit rate (used for Voip Services) 2. 180kbit rate (used for GRE tunnel) 3. 80kbit rate (for generic data traffic) For each class, using "iperf", I send some data from a PC
2002 Apr 06
0
Clarification required for Prio in CBQ dequeing order
Hi, I have been modifying the Wonder shaper to include another queue. My understanding was packets would be de queued to hardware in the following order: cbq1 -> sfq10 > sfq20 > sfq30. Also we only move onto the next queue when the preceding one is empty. However is seems to be prio xx number that reflects the order packets are de queued not to what flowid they belong to. If I
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
2003 Sep 04
3
CBQ Rate
Hi everyone, This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at 10Mb/s. The purpose is to test CBQ Here is my script ------------------------------------------------------------------- # Root qdisc tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \ avpkt 1000 cell 8 # Classes tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \ rate 5Mbit weight
2005 Jun 02
0
CBQ throughput and efficiency question
Hello all, I am testing CBQ and HTB these days and I got a lots problem which needs your help. It is a little long text :) Thank you! (All my test is based on Redhat Linux9.0) 1.Is isolated of CBQ working? I have read Mr. stef word that he never made cbq isolated work. 2. I have setup an environment to test cbq: one tcp flow which I should protect and a noisy udp flow who will eat much of the
2004 Jan 27
1
Filter not listed for firewall filter - and not running!
Hello all, I am having some trouble getting a firewall filter to work with TC. I am actually setting the mark via EBTables (which is working as far as I can tell, I am also logging the packet and my syslog reports lots of marks): ebtables -t broute -A BROUTING -p ipv4 -i eth1 -s 08:00:46:60:B3:57 -j mark --set-mark 7 --mark-target CONTINUE --log --log-level debug --log-prefix "EBFW Mark
2004 Apr 08
1
traffic shaping on single ip...
Hi all. Im using the following CQB shaper to shape IP addresses: DEV=eth1 (internal eth) tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev $DEV parent 1: classid 1:1 cbq rate 256kbit allot 1500 prio 5 bounded isolated tc class add dev $DEV parent 1: classid 1:2 cbq rate 512kbit allot 1500 prio 5 bounded isolated tc filter add dev