similar to: Marking returned MASQ'ed packets (ingress, TC, etc.)

Displaying 20 results from an estimated 4000 matches similar to: "Marking returned MASQ'ed packets (ingress, TC, etc.)"

2001 Feb 07
3
cbq ip range?
OK, finally I have made cbq run ! now I would like to know if it is posible to limit a range of IP to a speed. something like this : from 192.168.1.1 to 192.168.1.21 limit to 128K I don''t whant to limit each IP to 128K, what I would like to do is limit all 20 IP to have a max of 128K. Is it posible?
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 Jul 02
24
TC Hashing Filters
Hey all, I had asked a question a little while ago about CPU usage being outrageous while using tc and a cbq qdisc. Ed was very kind and offered a few suggestions. One of these was to look at hashing. So after pounding away at it for about a week, I have a general understanding of how it works and have tried to implement it. Unfortunately, and quite obviously since I''m posting here, it
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
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all, I''m having some problems setting up qdiscs on a bridge.The config looks a little like this: ifconfig ifb0 up # Bring up the IFB for this bridge. tc qdisc add dev eth2 ingress tc qdisc add dev eth3 ingress tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 # Raw qdiscs on each bridge port tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All , My first message and I have a little problem with my FC6 box trying to block emule traffic using layer7 . Here my network : Internet --------- ADSL Router ------------------- FC6 Box -------------------- Emule Box external ADSL : Dynamic Internal ADSL : 192.168.254.1 external FC6 : 192.168.254.3 internal FC6 : 192.168.253.1 Emule Box : 192.168.253.3 I guess that everything
2005 Dec 14
1
mgen & tc
Hello, I have the following proplem. My DiffServ configuration is working fine when I do ping, but when I use mgen the packets are not detected at the core router. Here is my core router configuration: #!/bin/bash tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2 tc qdisc add dev eth1 parent
2004 Apr 09
2
Bandwidth limiting for each computer in subnet
Dear members I''m new to this list and also new to tc command. I have a subnet with over 30 pc which have ip addresses from 172.16.1.1/16 range.I want that each computer in my subnet can work with internet with maximum 6k for download and maximum 6k for upload.when i run the following tc commands from my bridge the first pc works well but the second pc can not work with 6k and it has an
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
2006 Jan 04
3
TC/CBQ shaping problems
Hello everyone, I''m a newbie experimenting with CBQ shaping and am facing a few problems. Can any of you please help? TEST SETUP: +---------------+ +----------------+ | 10.0.0.103 |----------->| 10.0.0.102 | +---------------+ +----------------+ 10.0.0.103: Linux, 100Mbit/s NIC 10.0.0.102: Windows, 100Mbit/s NIC, iperf tcp server (ports 2000 and 2001) WHAT I
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks. For quite a while, I tried to use linux (cbq and htb) to control bandwidth in order to replace a cisco equipment used to play this role on our network. After trying here and there, with a bunch of different distros, different versions, different compilations, ... the closest I could get was as follows: (using htb.init and cbq.init) Desired BW ==> Achieved BW 128k ==> 404.78
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
2007 Apr 09
3
tc (CBQ) and UDP packets
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
2000 Nov 18
9
priority bands don't reduce interactive latency?
I run a small Linux webserver and NAT router from my cable modem at home. Whenever someone starts an http download, all other traffic from my LAN is starved. Bandwidth is not really an issue, but latency is particularly horrible -- pings that usually come back in 20ms can take up to 600ms while the web server is active! I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
2007 Mar 23
1
Setting bandwidth to unlimited
Hello, I am using the following commands to "throttle" the bandwidth of the NIC at eth0 : tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000 tc qdisc add dev eth0 root handle 10: htb tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 100mbit rate 128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3 tc class add
2002 May 28
5
QoS graphical interface ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Is there any grapical interface for the QoS (Quality of Service) Traffic Control in Linux ? Greetings. - --- Carles Xavier Munyoz Baldó carles@descom.es Descom Consulting Telf: +34 965861024 Fax: +34 965861024 http://www.descom.es/ - --- -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8
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
2002 Oct 28
6
Fw: wondershaper kills eth0 :(
Hi, When i do ''wshaper start'' the interface i have defined stops routing traffic for some reason. It resumes routing when i do ''wshaper stop''. I''m using debian stable (3.0 woody) with debian''s default 2.4.18-686 kernel. When I run the script I get no errors, and when I do a ''status'', everything looks correct. Can ANYONE
2007 Mar 28
7
(no subject)
Hi all, I''m having a hell of a time getting my IFB to work. I know I''ve done this before, so I''m missing something stupid. Can anybody tell me what it might be? Configs as follows: -------- #!/bin/sh modprobe ifb numifbs=1000 modprobe act_mirred modprobe 8021q brctl addbr br0 brctl setfd br0 0 brctl stp br0 off brctl addif br0 eth1 brctl addif br0 eth2 ifconfig eth1