Displaying 20 results from an estimated 10000 matches similar to: "Rate limiting for guests via ebtables"
2004 Nov 24
8
tc and iptables trouble
Hi all
I have a trouble configuring the qdiscs, when I indicate the "perturb 10" option to tc, i gives me this error:
tc qdisc add dev eth0 parent 5:1323 handle 1323 sfq perturb 10
RTNETLINK answers: Invalid argument
if I don''t put the "perturb 10" option, it works.
another question is about iptables, when I indicate the " --set-mark" option:
iptables -t
2005 Nov 25
1
Difference between snmp traffic rate, and rate from tc
Hello,
I use rrdtool to graph the traffic in the different classes on an
interface, eth1. Basically, I use the output from
tc -s qdisc ls dev eth1
my tc script (which is only for testing the graphing) looks like this:
/sbin/tc qdisc add dev eth1 root handle 1: htb default 20 r2q 1
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit burst 15k
/sbin/tc class add dev eth1 parent
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
2006 Aug 14
1
HTB and BOND Interface
Hi!
Is it HTB fully compatible with BOND interface?
I have this setup (mode= fault tolerance) :
BOND0 -> ETH0 + ETH1
BOND1 -> ETH2 + ETH3
( http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt
)
HTB work very well with Class over BOND0.
If I add Class for BOND1 it generate balance errors.
Also with HTB.init
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section
9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
I''m trying to hack up wondershaper, as it looked like a good place to
start.. Here''s where I currently at, but I''ve tried alot of different
things, all failing, some worse than others. The end result is to throttle
back 126
2007 Jan 19
3
HTB? (NEWBIE)
Hi to all
I am studying HTB on LARTC how to. I realize a simple configuration on
router:
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 3mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
2004 Jan 27
7
Whats wrong with my script?
I`m trying to shape both upload (eth0) and download(eth1). I made this
script to acomplishthis but the filters are not working even though the
classes and qdiscs are created. What am I doing wrong? #!/bin/bash
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5
tc class add dev
2004 Oct 10
3
How to invert tc matches?
Hi,
I want to use inverted matches with tc-filter. I tried to invert the
matches with a "!", but this doesn''t seem to be the correct syntax.
The following rules don''t work:
---------------------------snip-----------------------------------------
$TC filter $ACTION dev $DEV protocol ip parent 1:0 u32 match ip src
${NETWORK[$i]} !match ip dst 192.168.0.0/24 flowid
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using
PREROUTING. But the filterrules seems to ignore the marks set with
PREROUTING
Only POSTROUTING marks are accepted.
First my configuration
I have a router connected to the internet via ADSL over interface ppp0.
eth0 is a tunnel to ppp0 and eth1 serves the LAN.
LAN is 192.168.57.0/24 on 10Mbit
ppp0 is 80.126.16.44 on
2005 Mar 13
1
Traffic Shaping for DVB gateway
Hello all,
I am providing broadband service through DVB circuit.
I have 4KB uplink and 32KB downlink. I want to share
32KB downlink bandwidth among 192.168.0.0/24 (20 users
in this subnet i.e 192.168.0.2-192.168.0.22)subnet
where each user will get 2KB to 6KB bandwidth. And
from 4KB uplink bandwidth each users will get only 1KB
to 2KB bandwidth.
2004 Oct 08
1
Ceiling question
Hi!
I have a setup where I want to prefer traffic on one port (for testing
purposes I used port 22)
my setup is :
tc qdisc add dev eth3 root handle 1: htb default 30
tc class add dev eth3 parent 1: classid 1:1 htb rate 96mbit burst 15k
tc class add dev eth3 parent 1: classid 1:7 htb rate 2mbit burst 15k
tc class add dev eth3 parent 1:1 classid 1:10 htb rate 96mbit burst 15k
tc class add dev
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some sites with which downloa=
d is
2006 Jan 10
8
Simple shaping question
I have linux box (does nat and firewall for small network) connected
to dsl. I want to set priorities for protocols (that nothing could
disturb web browsing). This is my rules (eth0 connected to internet):
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 htb default 30 r2q 100
/sbin/tc class add dev eth0 parent 1: classid 1:2 htb rate 900Kbit burst 15k
/sbin/tc class
2005 Nov 11
2
marked packets end up in wrong class
Hello,
I have recently started looking at tc and iptables. I have an htb-queue
with two classes 1:10 and 1:20 where 1:20 is the default. Then I use
iptables to mark all packets I send out on eth1. I then filter marked
packets into class 1:10. I expected all packets sent on eth1 to end up in
class 1:10, but some packets still go to 1:20. Did I do it wrong?
Thank you for any help.
regards,
David
2007 Feb 28
1
Xen and tc problems
Hi,
I am trying to shape traffic to two VMs hosted in Xen. There seems to be
very little information regarding this. I found this web page
http://www.ioncannon.net/system-administration/57/limiting-bandwidth-usa
ge-on-xen-linux-setup/ and followed the instructions. But, the real
bandwidth experienced from clients always seems to exceed the set rate.
Part of the problem may be because of the way
2005 Feb 08
1
Shaping and forward
Lartc readers
I have a peculiar problem with shaping and firewalling.
My tc rules work great, below is a smaller version:
#Root
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 100
#Root Class
tc class add dev eth0 parent 1: classid 1:1 htb rate 1024kbit quantum
20000 burst 15k
#Class for each user
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 32kbit ceil
2006 Feb 28
10
Htb queueing problem
Hi everybody!
I''m using an edge bridge box with two ethernet cards to shape traffic in
a WAN link. I''m running Debian 3.1 stable with kernel 2.6.8 and
iproute from packages. I recompiled the kernel with the following
built-in options:
[*] 802.1d Ethernet Bridging
[*] QoS and/or fair queueing
<*> HTB packet scheduler
<*> SFQ queue
[*] QoS support
2003 Mar 24
11
How to do ensure bandwith
How to do ensure a class not lended and not borrowed each other.
I do cburst burst 0b ,but ctokens tokens go to negative!
---------------------------------
Do You Yahoo!?
"更多惊喜,同样精彩,NetVista A30 热卖"
--0-611462377-1048485942=:33792
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit
<P>How to do ensure a class not lended and not borrowed each
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1