Displaying 20 results from an estimated 10000 matches similar to: "WonderShaper on LAN link kills to-host speed"
2002 Dec 01
2
a question about tc filter
hi, all
i run the following scripts :
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip \
pref 4 u32 match ip dst 10.0.0.1 flowid :1
my question is :
can i know how many packets are matched by
this filter?
if i can , what should i do to get this
counter value, then.
thanks :)
_________________________________________________________________
MSN
2004 Jan 19
3
Ingress Shaping using IMQ
Hi Guys,
Here is a question that is probably of concern to many of us.
I am under pressure to provide some solution for ingress traffic
shaping. What my customer demands is to divide the downstream (ingress)
of an ADSL lines to two classes of traffic - important traffic and non
important downloads. He has a very reasonable requirement: he wants a
guarantee of at least 1000kbps at all times for
2003 Jan 20
3
u32: how to say "all except z.x.y"?
Hello lartc,
Q1:
If I want select subhet, I wrote
...u32 match ip dst a.d.r.es/net police ...
How I can say "all except z.x.y" ?
Both src/dest addr/port - I foundn''t this info in HOWTO :(((
Q2:
Why I can''t (or not allowed) to create more then one class into
!ingress! queue? I know, it''s incoming trafic? but why?
it''s look simply: (yes, i may be
2004 Oct 21
1
can''t understand howto example
tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k
tc qdisc add dev $DEV handle ffff: ingress
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
why does the download is being sent to class 1 which is limited by uplink ?
why the rate is being mentioned in filter and in class ?
2004 Sep 17
4
Guaranteed rate per class and maximum ceiling per element in class???
Hi all,
It is my understanding that with HTB, the rate and the ceiling are divided over the elements of the class. E.g. using a rate of 100 kb and a ceiling of 2000 kb for a class with 10 elements on a 100Mb NIC, the effect of the ceiling will be that if all elements are generating their maximimum possible trafic they will be effectively limited to ~ ceiling / number of elements, in this case
2002 Sep 06
6
Wondershaper
Hi !
I´ve been using the wonderful wondershaper from chapter 15.8 of the
LARTC Howto for some time. It´s really wonderful.
Actually, I use the version from
http://freshmeat.net/projects/wshaper/?topic_id=87
Now I tried to put some hosts to low priority, and it doesn´t work. The
traffic is splitted equally between the noprio and the other hosts.
Is this because I use ip masquerading, and all
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2003 May 28
2
wondershaper htb P2P downloads
Sir,
Thanks for the wondershaper utility!
It has improved the response time for my ssh connections to my home
server whenever i need to access it from the Internet.
However, is there a way to setup a bandwidth, say 10kbits/sec (i only
have 128kbits/sec DSL), and assign it to a particular traffic type like
kazaa and other P2P file-sharing?
This way it will guarantee that my home users of
2004 Jan 26
1
Help with a simple config
Here''s the scenario:
- 4 NIC''s; 1 Upstream, 3 subscribers each with different rates.
NIC-1: NO CAP simply 100mbit
I want to cap the traffic on each of the subscriber NIC''s to a specific rate
i.e.:
- NIC-2: 8mbit
- NIC-3: 5mbit
- NIC-4: 3mbit
Just to summarize, ALL I''m trying to do is limit the bandwidth on each NIC
(ingress & egress) whether it
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
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can
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
2002 Dec 02
3
HTB and IP tables
Hi, All,
Does anyone have working scripts using HTB for QoS but IPtables for filtering? I want to learn how to put them together. Do the scripts working on Redhat?
Thanks in advance,
James
2003 Sep 22
14
Proxy Server Routing - One last try
Objective:
All web traffic originating from my proxy server should be forwarded
through interface eth2 instead of the default eth0. The reply should
take the same path back to the proxy server.
Problem:
On the return bout, the kernel doesn''t pass the packet to the higher
layers. The reply seems to be getting tossed away between PREROUTING and
INPUT Netfilter chains.
2002 Oct 15
1
Réf . : Re: trying to use wondershaper on a dedicated line (not adsl)
here''s the output :
# tc -s -d class show dev eth0
class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio
no-transmit/8 weight 10Mbit allot 1514b
level 2 ewma 5 avpkt 1000b maxidle 23us
Sent 294 bytes 7 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 605 undertime 0
class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight
100Kbit allot 1600b
2002 Oct 17
18
why dont packets go where i want?
Dear All!
I reach the point that I must ask you what I have to do. I am beginner at
traffic shaping and I''m very confused with it. :)
Here''s my script that doesn''t do what I want to do with it:
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 2 r2q 10
tc class add dev eth1 parent 1: classid 1:1 htb rate 300kbit
tc class add dev eth1 parent 1:
2003 Jan 13
1
Getting Error when starting Wondershaper 1.1a
Hello,
i´ve installed a Suse 8.1 minimal System with iproute 2.4.7 and iptables, Suse default Kernel 2.4.19.
When I start the Wondershaper 1.1a Script I get the following Error:
CBQ: "allot" is required to set WRR parameters.
/home/skripte/./wshaper: line 72: allot: command not found
CBQ: "allot" is required to set WRR parameters.
/home/skripte/./wshaper: line 78: allot:
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2002 May 03
1
ingress in 2.2.20
Hello ,
I am trying to install an ingress qdisc on a slackware 7 , 2.2.20 box . I
have installed iproute2-2.4.7-now-ss010824.tar.gz . I `ve built all the
QOS stuff in my kernel . Playing with cbq sfq etc works ok . However when
i try to setup ingress i get the infamous RNETLINK message
tc qdisc add dev eth0 handle ffff: ingress
RTNETLINK answers: No such file or directory
Something weird ,
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