Samuel Koscelansky / "SUBNET" wrote:
I tested shaping on vlan and it seems OK for me (even though my switch
doesn't do vlan it doesn't seem to block oversize frames). I noticed a
few things with your setup -
#classes for download
/sbin/tc class add dev eth0.100 parent 100: classid 100:1 htb
Hello.
I'm running linux box with Slackware 9.1 and
compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS.
On this box i have more ethernet
interfaces:
eth0
eth1
eth2
and so as more vlan interfaces:
eth0.100
eth1.3
eth1.4
This is entrace(uplink) router to our whole network
Andy Furniss wrote:
Saying that I did notice that HTB was dropping -
maybe the default queue length is shorter now? It does seem a bit
strange though, I see drops where I expect the queue to be long enough
for my rwin and a class with two tcps on the go had less drops than one
with one - strang
Andy Furniss wrote:
1
$TC class add dev imq0 parent 1:1 classid 1:32 htb rate 133kbit ceil
400kbit prio 1
I meant to delete the prio 1 - I don't know if it matters - I tested
with the other two.
Andy.
___
LARTC mailing list / [EMAIL PROTECTE
Leslie Patrick Polzer wrote:
Still problems :(
I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after
NAT, called it
from prerouting, used u32 (matching works), set the root class to a rate
of 800kBit
(which is 200 less than my link speed) - and the behavior gets even
worse :(
U
Quoting Leslie Patrick Polzer <[EMAIL PROTECTED]>:
> Still problems :(
>
> I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after
> NAT, called it
> from prerouting, used u32 (matching works), set the root class to a rate
> of 800kBit
> (which is 200 less than my link speed) - a
On Friday 29 October 2004 11:36, Leslie Patrick Polzer wrote:
> Still problems :(
>
> I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after
> NAT, called it
> from prerouting, used u32 (matching works), set the root class to a rate
> of 800kBit
> (which is 200 less than my link spe
Still problems :(
I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after
NAT, called it
from prerouting, used u32 (matching works), set the root class to a rate
of 800kBit
(which is 200 less than my link speed) - and the behavior gets even worse :(
Unfortunately, I cannot shape o
Leslie Patrick Polzer wrote:
Andy Furniss wrote:
Leslie Patrick Polzer wrote:
Hello,
I have a serious problem with HTB which I wasn't able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide
Andy Furniss wrote:
Shaping from the narrow end of the bottleneck is a bit of a kludge,
you have to set your rates/ceils lower than link speed or you won't
have a queue to shape with.
Could you also elaborate this a bit further?
Many thanks so far!
Leslie
Andy Furniss wrote:
Leslie Patrick Polzer wrote:
Hello,
I have a serious problem with HTB which I wasn't able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet
Leslie Patrick Polzer wrote:
Hello,
I have a serious problem with HTB which I wasn't able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet being forwarded to o
Hello Leslie,
I had the same problem for kernel 2.4.27 and it was related to bug in HTB.
Use kernel >=2.6.8.1 or apply patch from Devik's site
http://luxik.cdi.cz/~devik/qos/htb/v3/htbfair.diff.
Best regards,
Zviad
>Hello,
>
>I have a serious problem with HTB wh
did u try it with sfq ?
On Thu, 28 Oct 2004 18:55:00 +0200, Leslie Patrick Polzer
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a serious problem with HTB which I wasn't able to solve myself.
>
> I run a masquerading router with ppp0 as interface to the Internet.
> Three clients need to share
Hello,
I have a serious problem with HTB which I wasn't able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet being forwarded to one of these clients, I give
i
Am Tuesday 07 September 2004 23:18 schrieb Cow:
> zytec: (?)
> > I assume that you want somethink like:
> > data from server to LAN (PC1,PC2) unshaped (full 100mbit)
> > data from Internet to LAN shaped
>
> Correct.
Not really an example, but you may have a look at my script [1].
It solves the 10
>by zytek
>Hello all, my first post here, maybe even I will help someone;)
>I assume that you want somethink like:
>data from server to LAN (PC1,PC2) unshaped (full 100mbit)
>data from Internet to LAN shaped
Correct.
>Then all you need to do is make classes with source 192.168.0.1 and
>destinati
> You might want to check out this script
> http://www.geocities.com/jame_sj I just noticed a bug (that I need to
> figure out...) in it but this should give a start..
Looks nice, want to share the bug with me? :-)
>
> James
>
___
LARTC mailing list /
I've tryed to make a script, some of you, who thinks it looks ok?
DEV=eth2
DOWNLINK=1024
UPLINK=512
DOWN1=768
UP1=384
DOWN2=256
UP2=128
tc qdisc add dev $DEV root handle 1: htb default 20
tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst
6k
tc class add dev $DEV parent 1
Dnia poniedziałek 06 wrzesień 2004 23:56, Cow napisał:
> Hi folks.
>
> Let's say I would like to make some bandwidth control on my network
> using HTB. I have 2 clients:
[...]
> I think a script as i described, could be very complex to write,
> therefore i ask, whoever is here, for help.
> Thank yo
Hi folks.
Let's say I would like to make some bandwidth control on my network
using HTB. I have 2 clients:
PC1: 192.168.100.2
PC2: 192.168.100.3
Server:
192.168.100.1
This has 2 NIC's eth1 is local and eth2 is connected to the internet.
It could be nice to have a script, where you could specify
> > Hello,
> >
> > I'm having some problems using HTB to prioritize traffic on my linux
> > router.
> > The main problem is as follows:
> > I have a 6Mbits channel on the metropolitan network and a 64kbps link
> > for the sites outside my country.
> >
> > These 64kbps are dynamically allocated by m
Doesn't anyone have any ideas regarding my problem ?
Mihai Tanasescu wrote:
Hello,
I'm having some problems using HTB to prioritize traffic on my linux
router.
The main problem is as follows:
I have a 6Mbits channel on the metropolitan network and a 64kbps link
for the sites outside my countr
Hello,
I'm having some problems using HTB to prioritize traffic on my linux router.
The main problem is as follows:
I have a 6Mbits channel on the metropolitan network and a 64kbps link
for the sites outside my country.
These 64kbps are dynamically allocated by my ISP so I usually get
something
On Tuesday 30 September 2003 15:44, Guilherme Benkenstein wrote:
> Hi all!!
>
> I'm new in the list.
>
> I'm using Slackware 9.0 with 2.4.21
>
> HTB 0.8.3
>
> eth0
>
> DEFAULT=30
>
> eth0-2:30.dfl
>
> RATE=256Kbit
> BURST=32Kb
> LEAF=sfq
>
> This is my configuration, but, the shaper dosen't works i
Hi all!!
I'm new in the list.
I'm using Slackware 9.0 with 2.4.21
HTB 0.8.3
eth0
DEFAULT=30
eth0-2:30.dfl
RATE=256Kbit
BURST=32Kb
LEAF=sfq
This is my configuration, but, the shaper dosen't works in 32Kbps...
Anybody can help me?
Thanks
Guilherme
___
On Thursday 24 July 2003 16:26, Delcho wrote:
> Hello,
> I have a problem with my htb in linux gateway machine.
> Wana make this borrow to and from internet:
> every user must be shaped to 32Kbit,max number of users are 6 in one
> subnet /29
> and all subnet must be shaped to 92Kbit,e.i every user
Hello,
I have a problem with my htb in linux gateway machine.
Wana make this borrow to and from internet:
every user must be shaped to 32Kbit,max number of users are 6 in one
subnet /29
and all subnet must be shaped to 92Kbit,e.i every user will download
with 32Kbit,but when
all 6 user download
f Coene" <[EMAIL PROTECTED]>
To: "Ratel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 9:35 PM
Subject: Re: [LARTC] htb problem
> On Thursday 12 June 2003 21:21, Ratel wrote:
> > Hi,
> >
> > I have some interesting problem
I have the same problem using tc and iptables. All traffic goes to
"default".
I tried using tcng too: (eth0 as local NIC, eth1 as Inet nic, eth1
masquerading via iptables and bridged to DSL -I have the internet IP on NIC
2-)
#include "fields.tc"
#include "ports.tc"
dev eth1 {
egress {
On Saturday 14 June 2003 23:46, [EMAIL PROTECTED] wrote:
> Hey I hve the same problem. My packets are marked, my classes are OK
> my filters are set OK
> and all packets are passing through the root class!!
> I think that this is a big problem. A know 1 more person that has the same
> problem!
Ok.
Hey I hve the same problem. My packets are marked, my classes are OK
my filters are set OK
and all packets are passing through the root class!!
I think that this is a big problem. A know 1 more person that has the same
problem!
--- изпратено от mail.bG
Силна Анти-спам защита
12MB
On Thursday 12 June 2003 23:08, Esteban wrote:
> my set up is like this:
>
> #!/bin/bash
> DEV=eth1
>
> tc qdisc del dev $DEV root2> /dev/null > /dev/null
> tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null
>
> tc qdisc add dev $DEV root handle 1: htb
>
> tc class add dev $DEV parent 1: cl
On Thursday 12 June 2003 21:46, Esteban wrote:
> Stef! please explain me this:
> When i use traffic shaper, i apply the root to the innterface i want to
> controll the packets that are leaving right?
Yes.
> The sum of classes "should"
> not be greater than the root one.
> Supossing i have 2 nics.
On Thursday 12 June 2003 22:04, Morten Isaksen wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Stef Coene
> > Sent: 12. juni 2003 21:35
> > To: Ratel; [EMAIL PROTECTED]
> > Subject: Re: [LARTC] htb p
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Stef Coene
> Sent: 12. juni 2003 21:35
> To: Ratel; [EMAIL PROTECTED]
> Subject: Re: [LARTC] htb problem
>
> > adequate lines from firewall script :
> > [...]
> >
On Thursday 12 June 2003 21:21, Ratel wrote:
> 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
do you have two nics? the 2megas internet is eth0 right? so you are tc'ing packets
going out of interface eth0.
paquets are comming from eth1 for example?
in such case you coutlf -t mangle -I PREROUTING -i eth1 -j MARK --set-mark {1|2|4|}
??
so packets going from internal (eth1) going out (eth0
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 de
grr, I thought i had checked everything close. Thanks =)
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
You have a typo :- kpbs
Also, it seems that the parent 1:1 is not created yet.
- Original Message -
From: "Jay Wineinger" <[EMAIL PROTECTED]>
>
> However, I get an error about illegal rate when I try to create a class
> with:
> $TC class add dev eth0 parent 1:1 classid 1:10 htb rate
Hi,
Ive been looking at tinkering with the linux traffic control stuff
lately and decided to try out the htb qdisc. My setup is as follows:
2 interfaces: eth0 goes to internet, and eth1 goes to a NAT'd subnet. eth0
has a 7mbit link, but only a 4.5 mbit link to the internet while eth1 is a
100
On Monday 09 December 2002 19:19, [EMAIL PROTECTED] wrote:
> Hello,
>
> I am shaping traffic for ~250 users and i have noticed something is wrong:
> Each user is being shaped from 32kbit/s to 2mbit/s.
>
> When i run the script which creates the classes the following error is
> printed to syslog:
Hello,
I am shaping traffic for ~250 users and i have noticed something is wrong:
Each user is being shaped from 32kbit/s to 2mbit/s.
When i run the script which creates the classes the following error is printed to
syslog:
Dec 9 19:53:34 p1 kernel: HTB: quantum of class 10009 is small. Con
On Wednesday 28 August 2002 20:45, Stef Coene wrote:
> > The problem is that clients can have their bandwidths at maximum only if
> > they use a download accelerating software like DAP with multiple
> > symultanous threads. Using only one thread, a single download can reach
> > about 60% of the
On Wednesday 28 August 2002 15:15, Ciprian Nica wrote:
> Hello,
>
> Besides a very good functionality, I have a small, yet stressing, problem.
>
> Let's say I have a bandwidth of N bits.
>
> I have X clients, everyone with his fixed bandwidth.
>
> I create htb qdsics for each client. Each leaf has
Hello,
Besides a very good functionality, I have a small, yet stressing, problem.
Let's say I have a bandwidth of N bits.
I have X clients, everyone with his fixed bandwidth.
I create htb qdsics for each client. Each leaf has sfq queueing
discipline.
A sample config would be like this :
> endeavour:~# tc qdisc add dev imq0 root handle 1 htb ttt
> What is "ttt"?
> Usage: ... qdisc add ... htb [default N] [r2q N]
> default number of class to which unclassified packets are sent {1}
>
Why do you have that "ttt" option? If you remove ttt from the command, does
it work?
> ---
Hello
I have a small (maybe typical?) problem with HTB. Present configuration is:
Kernel: 2.4.20-pre4 (with HTB, IMQ)
endeavour:/var/log# tc -V
tc utility, iproute2-ss010824
Which should support HTB because writes help for it ;-)
endeavour:~# tc qdisc add dev imq0 root handle 1 htb ttt
What i
Stef Coene wrote:
> On Tuesday 14 May 2002 08:22, Arindam Haldar wrote:
>
>>hi all
>>
>>After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with
>>kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i
>>faced the folowing problem patching htb3_tc with
>>iproute2-2.4.7
On Tuesday 14 May 2002 08:22, Arindam Haldar wrote:
> hi all
>
> After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with
> kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i
> faced the folowing problem patching htb3_tc with
> iproute2-2.4.7-now-ss010824--->
>
> [ro
hi all
After patching & compiling htb3_2.4.17; imq-2.4.18; sch_geberic with
kernal 2.4.18 and iptables-1.2.6a-imq with iptables-1.2.7-20020423 i
faced the folowing problem patching htb3_tc with
iproute2-2.4.7-now-ss010824--->
[root@test iproute2]# patch -p1 < ../htb3_tc.diff
patching file tc
52 matches
Mail list logo