Displaying 20 results from an estimated 5000 matches similar to: "Can we use 2 tc filter rules with the same prio"
2007 Aug 10
0
Re: Allocating 64 kbits/s out of 256 kbits/s for one LAN behingfirewall (SOLVED)
Hi Paolo Malfatti,
Thanks for your script. It works fine.
I get what I expect.
THANK you all the way until it comes to an end.
FOR the benifit for evryone in the LIST.
HERE IS the SCRIPT AGAIN.
INTERFAZ_LAN=eth0
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
tc qdisc del root dev $INTERFAZ_LAN
tc qdisc add dev $INTERFAZ_LAN root handle 1 htb r2q 4
tc class add dev $INTERFAZ_LAN parent 1: classid 1:2
2007 Aug 02
5
Allocating 64 kbits/s out of 256 kbits/s for one LAN behing firewall
Hi,
We have a 256 kbits/s (kilobits per second) link to the internet. it is a
router running Linux that belongs to our ISP. They have given us 8 internet
ips. (i.e- subnet is 255.255.255.248). one has been given to this router. I
have given another internet ip to the firewall running CentOS 4.5. iptables
is running on it. And also, I have installed iproute2 pkg as well.
pls see below for
2007 Aug 08
0
Allocating 64 kbits/s out of 256 kbits/s for one LAN behind firewall
Hi,
I have a CENTOS BOX as a firewall . both iptabes and iproute 2 are running
on it.
pls see bleow for installed RPMs.
[root at firebox ~]# rpm -qa |grep iptables
iptables-1.2.11-3.1.RHEL4
[root at firebox ~]# rpm -qa |grep iproute
iproute-2.6.9-3.EL4.7
It has 3 ethernet cards.
pls see below.
eth0 - internet ip (pls asume. 1.2.3.4/29 ). it connects to ISP router.
eth1 - 192.168.100.254
2007 Aug 24
3
subdivide 64 kbit bandwidth 32kbit for WWW and 32 Kbit for mail
Hi all,
I''ve got a BOX running CentOS 4.5. It acts as a firewall + router.
I have installed both iptables and iproute2.
I has 3 network cards.
eth0 is connected to Internet (is has an internet ip. pls assume its ip is
1.2.3.4/29). it is a 256 Kbit link.
eth1 is DMZ. its ip is 192.168.100.254
eth2 is LAN. Its ip is 192.168.101.254
I have alreday shaped traffic to 64 Kbit on eth1 for
2007 Sep 14
0
pkgs to monitor traffic
Hi all,
I have a 256kbit link where I have shaped 64kbit for downloading @ one
ethernet. (eth1)
I am using mrtg to monior it. it works fine. In addition to that, I am
looking for some other pkgs.
Are there good pkgs for that purpose?
below is my script for dowmloading. I am looking for pkgs that suit below
script.
#traffic shaping on eth1 (Downloading)
INTERFAZ_DMZ=eth1
FULLBANDWIDTH=256
2002 Sep 17
8
the range of HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1
please tell me the range of "prio"
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 -
2005 Apr 20
1
deleting tc rules
Hi
I''m doing traffic shaping with tc on ''10.0.0.0/30'' and ''10.0.0.28/30''.
I want to delete part of shaping rules on the fly. (see my
configuration at the end of this mail)
I wan''t to delete the shaping for ''10.0.0.0/30'' on the fly while still
keeping the shaping for part ''10.0.0.28/30'' running.
When I for
2006 Feb 05
1
htb prio ...
Hey, I have such a script:
tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2
tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil
512kbit
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil
1024kbit
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2004 Apr 13
4
tc does''nt limit the bandwidth!
Hi, good people!
I wanted to limit my 4 customers to 144, 16, 32, and
32kbps.
I used the following tc commands BUT IT FAILED TO
LIMIT each and everyone of them to its bandwidth.
What am I doing wrong:
My tc scripts are:
tc qdisc add dev eth1 root handle 1: htb default 1
#Classes#
tc class add dev eth1 parent 1: classid 1:1 htb
rate 9bps ceil 9bps #Default
2006 Jul 19
2
PRIO and CBQ
Hi,
I''m work on traffic shaping and I would like to know if it''s possible to mix
differents Queueing Disciplines ??
I would like to combine the proporties of a PRIO discipline with that of a
CBQ discipline.
I read some documentation and I found nothing about that, can you help me ?
I think to try something like that :
tc qdisc add dev $DEV root handle 1: cbq …
tc class add dev
2005 Jun 06
1
TC, HTB, and multiple qdiscs
Here is what I am trying to do... I want to set it up so any traffic
coming or going to a specific host is ran through 3 HTBs. Two of the
HTBs are for limiting incoming and out going and I want them to then
dump the traffic into the third for limiting overall bandwidth for that
host. I have been using tc filter to put it into the HTBs for incoming
and out going, but am having problems getting it
2002 Dec 29
8
wondershaper + htb prio + qdisc prio
hello,
a friend of mine have this configuration:
10 x PC -- router/linux/rh8 -- ADSL Modem -- ISP
let''s say that the bandwidth is: 5M and 800K
he does dc++ and counter-strike, so let''s say the UP is full, and the
ping from the counter server is 300ms, the server cut the connection, and
no more game, the player is unhappy. The normal ping is 50ms.
so he thinks to put some
2005 Jun 01
2
TC Filtering Problems
Dear Admins and Hackers,
maybe i am to stupid to use ''tc''. But i having logical Problems to understand the Filter Rules in tc.
Common Config:
There is a Linux Engine (Debian) with a 2.6.11.11 Kernel which act as Packetshaper.
Two Interfaces eth0 and eth1 are installed. Interface ''eth0'' is the Firewall Side Net
195.185.185.0/24. Interface
2001 Jun 26
1
prio fighting
Hi,
I have done this setup to give the machine 192.168.1.4 (masqueraded over
dialup) the highest priority:
#! /bin/bash
WHAT="add"
iptables -A PREROUTING -i eth0 -s 192.168.1.1 -t mangle -j MARK
--set-mark 1
iptables -A PREROUTING -i eth0 -s 192.168.1.4 -t mangle -j MARK
--set-mark 4
tc qdisc $WHAT dev ppp0 root handle 1: prio bands 3 priomap 0 1 2
tc qdisc $WHAT dev ppp0 parent 1:1
2005 Jul 19
10
Problem with HTB and ceil
Hi,
I am trying to setup a shaper for my linux box and I am experiencing some
problems. What I am trying to do is priorizing packets on the egress link,
therefore I have setup some prio classes etc. The priorizing seem to work but
the problem is that the ceil parameter doesnt seem to work on non leafs.
This is what stats show:
> class htb 1:1 root rate 3000bit ceil 3000bit burst 1602b/8 mpu
2002 Oct 08
1
how can i choose HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 2
$AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
burst 2k
please tell me if i do not set prio, what is the
default prio? low delay class
2004 Dec 25
1
prio
Hi!
Could somebody tell me, what is difference between these two prio
parameters in http://lartc.org/lartc.html#AEN2241
1) tc class add dev $DEV parent 1:1 classid 1:10 htb rate ${UPLINK}kbit burst 6k prio 1
^^^^^^
AND
2) tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10
2006 Jan 26
3
tc qdisc ingress problem ?
Hi, all
I''ve got problems with tc qdisc ingress.
I''m using vanillia kernel 2.6.14.4 patched with
http://www.ssi.bg/~ja/routes-2.6.14-12.diff, and iproute2-2.6.14-051107.
i am using ingress to limit incoming traffic :
(DEV is eth1 / DOWNLINK is 7700)
# attach ingress policer:
tc qdisc add dev $DEV handle ffff: ingress
# filter *everything* to it (0.0.0.0/0), drop everything
2005 Nov 11
8
Pfifo_fast "Unknown qdisc" and asking for basic design advice
Hi all,
I''ve done a search through the archives but I can''t find a
cause/solution to this.
I''m running a FC4 box with the stock 2.6.12 kernel and a FC2 box with a
stock 2.6.9 kernel. I''m obviously using
iproute2 and the patched tc.
When I clear down the qdiscs with "tc qdisc del dev <DEV> root" I get
the following in response to "tc
2007 May 24
2
tc-htb traffic shaping script
Hi,
Is there any tested good HTB script for traffic shaping available like as
that of CBQ available at.
http://freshmeat.net/projects/cbq.init
I am n new bie and need to work on htb.
--
Regards,
M Arman
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc