similar to: using tc on xen

Displaying 20 results from an estimated 4000 matches similar to: "using tc on xen"

2006 Feb 07
0
unable to get download restrictions working on an interface
I am using the following commands to restrict download on an interface vm01 /sbin/tc qdisc add dev vm01 root handle 11: cbq bandwidth 100Mbit avpkt 1000 mpu 64 /sbin/tc class add dev vm01 parent 11:0 classid 11:1 cbq rate 1.5Kbit weight 1.5Kbit allot 1514 prio 1 avpkt 1000 bounded /sbin/tc filter add dev vm01 parent 11:0 protocol ip handle 4 fw flowid 11:1 When i do a qdisc show and class show,
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
2006 Dec 17
0
Need help with this simple CBQ setup NEWBIE
Hi Iam using the script below to limit usage for the computers on my lan with respect to download and upload I have a 256kb up and 256 kb down connection, I want limit the speed of each computer to 64kbyte down and 32 up as a maximum. The script below works however it limits the up and down of the whole specified network to 64/32 ... what do I have to edit so that the script handles the requests
2006 Dec 20
0
Need Help with this simple CBQ scripts
Hi Iam using the script below to limit usage for the computers on my lan with respect to download and upload I have a 256kb up and 256 kb down connection, I want limit the speed of each computer to 64kbyte down and 32 up as a maximum. The script below works however it limits the up and down of the whole specified network to 64/32 ... what do I have to edit so that the script handles the requests
2007 Apr 17
0
RSVP questions?
Have a few generic questions about Kom-RSVP 1.) 11:00:05.175 WARNING: timer system overloaded, deviation is 30.080 sec - what timer is this referring to? System time? 2.) What is the relationship between the CBQ class created for RSVP traffic and the CBQ parameter that is in RSVP.conf? - ex. ### cbq qdisc ### tc qdisc add dev eth0 root handle 1: cbq bandwidth 10mbit avpkt 1000 mpu 64
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The problem is that the cbq doesnt drop packets. The cbq is configured at a rate of 500Kbit "qdisc cbq 4: rate 500000bit (bounded,isolated) prio no-transmit Sent 100103048 bytes 73933 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 24000 undertime 0 " The traffic that being generated is more than 5Mbit with the
2001 Jan 17
0
dscp marking
I want to set the DSCP field of the incoming packets. And then put them in the correct queues. I can mark the packets: iptables -A OUTPUT -t mangle -d 10.10.10.12 -j MARK --set-mark 1 tc qdisc add dev eth0 handle 1:0 dsmark indices 64 set_tc_index tc class change dev eth0 classid 1:1 dsmark mask 0x3 value 0xb8 tc filter add dev eth0 parent 1:1 protocol ip prio 1 handle 1 fw
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 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
2001 Sep 27
0
Not bounded but almost....
Hi, I have a question about CBQ and wonder if I can make a class that are guaranteed 2Mbit but can borrow excess bandwith and only to specific rate. In my exampel below I want to guarantee the network x.x.x.x/y 2Mbit and they can borrow up to MAX 4Mbit. I have tried to create subclasses but it only works like bounded or not. # tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All, I''m trying to do some traffic shaping on an ethernet bridge. Currently, I have the following setup working: ifconfig eth0 down brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 brctl stp br0 off ifconfig eth0 0.0.0.0 up ifconfig eth1 0.0.0.0 up ifconfig br0 up This creates a bridge consisting of eth0 and eth1. So far so good. I now want to use tc to shape traffic
2005 May 05
1
TC breaking Virtual network connection
Good afternoon, I am a newbie to lartc. I have read the HOWTO. I set up a CBQ traffic control using the following commands, and it caused my VNC connection to break frequently. ======================================================================= **CBQ: cbq-1280.My_shaper /sbin/tc qdisc del dev lo root /sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt 1000 cell 8 /sbin/tc
2006 Jan 12
1
tc class class id problem Limitation
Hello, I have been working on tc class . But when the classid reaches 5 digit , it DOES NOT ACCEPT THAT ... see the example below :: tc class add dev eth0 parent 10:36 classid 10:13310 cbq bandwidth 10Mbit rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded See the bold digit !! this command doesn''t work , but if i use with 4 digit then it works : tc class
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
2004 May 25
1
how to borrow bandwith
Hi,All I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following: LAN --- |ADSL Router|------WAN When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script: /usr/sbin/tc qdisc del dev nas0 root
2004 May 22
6
MARK causes high CPU usage / using tc in conjunction with MASQ
Using below configuration multiplied by 3000+ nodes to control bandwidth causes very high kernel cpu usage (99.5%) narrowed it down to the mangle table. Any ideas to do this more efficiently would be appreciated. The mangle table entry (indicated by ***) is sucking all the cpu. I am running RH7.3 kernel 2.4.18-3 and iptables 1.2.5 This setup has worked well for more than 1000 devices but as the
2006 Dec 24
0
How
Hi Ive been reading, testing and applying what Iam reading in the LARTC tutorial for a couple of days, I do not wish to use ready made scripts because that means I will always come back and ask the same question again. So Ive been wondering if I have 10 computers and I do want to limit the download for each of those 10 computers to 10 kbyte per second. I would create a leaf class and match the
2006 Dec 24
0
How to classify packets per host on same class
Hi Ive been reading, testing and applying what Iam reading in the LARTC tutorial for a couple of days, I do not wish to use ready made scripts because that means I will always come back and ask the same question again. So Ive been wondering if I have 10 computers and I do want to limit the download for each of those 10 computers to 10 kbyte per second. I would create a leaf class and match the
2006 Aug 31
0
How can I get min 64kbps max 128kbps bandwidth
Hi all I have read the lartc manual, I have read the some faqs but still don''t know how to achive the following: I have a 512kbps line which I share with 8 customers. Now what I have is everyone gets max 64kbps. That''s fine. DEV=ath0 DEV_MAX_RATE=6mbit DEV_RAT_LOW=64kbit DEV_RATE_HIGH=128kbit tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: cbq avpkt 1000
2004 Jun 13
0
DSCP marking at core
Hi, I want to setup core routers to do both DSCP marking and to get the DSCP and forward packets based on DS field. I don''t want to separate DSCP marking to be done only at the edge routers. I know that dsmark is both used for DSCP marking and for getting the DSCP and forwarding packets according to DSCPs. In my case, since I want to do both of these I need two dsmarks.(?) I am not