Displaying 20 results from an estimated 4000 matches similar to: "how to clean "tc" configure"
2002 May 13
11
bw console monitoring
Hi,
I want to see bandwidth every ip address in the local network that passing
my linux gateway in the console, may be it''s similar like mrtg (web based
version)
It''s possible ?
Best regards,
>--<Kristiadi Himawan>--<
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
2004 Jul 17
9
Re: QoS for Voip.
Hi!
I answer to two messages from this thread (I use digest).
lartc-request@mailman.ds9a.nl wrote:
>
> Message: 3
> Date: Fri, 16 Jul 2004 10:51:37 -0700 (PDT)
> From: ibro tj <ibb_linux@yahoo.com>
> Subject: Re: [LARTC] QoS for Voip.
> To: lartc@mailman.ds9a.nl, alessandro.ren@opservices.com.br
>
> Hi,
>
> the hint from Martin A Brown which I am
2002 Apr 22
2
RE: RTNETLINK answers: Invalid argument
Hi All,
concerning the problem when running the "ip ru ls" command.
I faced with the same problem, and I solved it by making sure to include the following settings into the kernel configuration (2.4.18):
CONFIG_IP_ADVANCED_ROUTER=y <===
CONFIG_IP_MULTIPLE_TABLES=y <===
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
2002 May 29
3
can not locate module imq0
''imq-2.4.18.diff-9'' patched to kernel18 and
''iptables-1.2.6a-imq.diff-3'' patched to
iptables-1.2.6a
the following options are choosed:
Networking options ---> IP: Netfilter Configuration
--->IMQ target support (as a module)
Networking options ---> IPv6: Netfilter Configuration
--->IMQ target support
Network device support --->IMQ
2005 Dec 10
10
Marking packets by mac addr using tc filter u32 match?
Hi
Is there a way of marking packets by mac address instead of ip or ports
using a "tc filter u32 match"?
I read somewhere that I could use the offset -8 and -14 to grab the mac
addresses but if I use anything lower than -8, for example -9, I get an
error.
I''m modifying the wondershaper script to cap the download speed by mac
address.
Any sugestions?
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody!
I''ve been trying with htb and tc filter. It seemed to work fine, but
after testing with ethloop I''ve realized that traffic is not being
distributed through the leaves as I thought. When sending packets to
1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no
traffic through 1:11 until traffic through 1:10 has finished. Though
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
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1
The last line prints:
Unknown filter "flowid", hence option "1:1"
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1
2003 Oct 16
5
tc filter problem with 2.4.22
Hi,
I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1
distribution.
The tc command binary is from htb3.6-020525.tgz
(http://luxik.cdi.cz/~devik/qos/htb)
I''m trying the following command sequence:
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
1200kbit
tc class add dev
2002 May 10
1
Will stephen's defrag run in a ext3 partion correctly?
Will stephen's defrag run in a ext3 partion correctly?
What about the performance?
_________________________________________________________
Do You Yahoo!?
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser
2002 May 15
2
Where can I find any document on ext filesystem?
Dear all,
Where can I find any document on extended filesystem
version 1?
thanks.
_________________________________________________________
Do You Yahoo!?
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser
2002 Jul 26
2
RTNETLINK answers: Invalid argument, fwmark
I''m using htb classes on my firewall to queue traffic and implement
different restrictions on different protocols.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 190
tc class add dev eth0 parent 1: classid 1:3 htb rate 2mbit burst 30k
tc class add dev eth0 parent 1:1 classid 1:90 htb rate 50kbit ceil 384kbit
burst 5k
tc qdisc add dev eth0 parent 1:90 handle
2003 Jan 10
4
Question on TC filter
Hi,
I want work out a GUI interface for htb and now here
comes to the part about adding and removing classes
and filters.
Here is an example script.
TC="tc"
DEV="dev eth1"
echo "Add root qdisc, default traffic go to 1:30"
$TC qdisc add $DEV root handle 1: htb default 30
echo "Divide the traffic into different classes and
levels"
# -------- level 1
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
2003 Nov 15
3
ctokens vs tokens - HTB.
Hi,
One more of those ...
1) what is a ctoken with regard to HTB? Does the ''c''
stand for ceil and if so how is it different from
tokens?
2) Is the difference, only in the generation of these
tokens?
3) Would the ctokens and token be treated equally once
borrowed?
Kindly help.
Thank you.
Regards,
suraj.
__________________________________
Do you Yahoo!?
Protect your
2002 Dec 07
4
Why my script doesn''t work ???
Hi All,
I''m using iptables-1.2.7a on RedHat8 kernel 2.4.20.
I wanted to limit the file-sharing traffic to the internet.
I marked the packets with iptables:
iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d !
192.168.1.1/24 --dport 1024:1862 -j MARK --set-mark 1
iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d !
192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1
2003 Nov 23
4
u32 filter won''t match
Hi!
I really need help with a u32 filter that won''t match what I think I''m
telling it to. The situation is that I have set up an internal
computer to change the TOS value of packets sent by certain processes
to 0x1E (If anyone known of a better way to mark packets, please tell
me. I would love to find some module that adds an IP option with UIDs
and GIDs to the packets - does
2004 Jan 31
6
HTB dequeueing in pairs fixed
I posted earlier when I noticed that htb was releasing packets in pairs,
even though my burst/quantums were 1 pkt.
To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c .
This gives a noticable gain in upstream worst case latency, for me with
256kbit/s up I used to see +90 sometimes, now it''s +45. For the many who
have 128 up it should limit them to +90 rather than +180.
Andy.