Dear All,
I'm using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo.
I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn't go to the right
class (it always go to the default class).
Any help will be appreciated
here's my htb
- Original Message -
From: [EMAIL PROTECTED]
To: Ing Isianto Istiadi [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 1:40 PM
Subject: Re: [LARTC] htb and fw problems
hi!
your default class must not have rate grater than your desired speed rate.
If you have 64kbps your class shoud
-
From: [EMAIL PROTECTED]
To: Ing Isianto Istiadi [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 1:40 PM
Subject: Re: [LARTC] htb and fw problems
hi!
your default class must not have rate grater than your desired speed rate.
If you have 64kbps your class shoud have 60kbps
Hello,
On Wednesday 04 August 2004 11:00, Ing Isianto Istiadi wrote:
I'm using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and
gentoo. I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn't go to
the right class (it always go to the
Dear Isianto Istiadi,
Here are your class creation statements:
: [ snip ] 1: classid 1:1 htb rate 65kbps ceil 65kbps
: [ snip ] 1:1 classid 1:10 htb rate 20kbps ceil 35kbps prio 3
: [ snip ] 1:1 classid 1:20 htb rate 5kbps ceil 10kbps prio 0
: [ snip ] 1:1 classid 1:30 htb rate 8kbps
only short answer test
sorry
- Original Message -
From: Ing Isianto Istiadi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 3:11 PM
Subject: Re: [LARTC] htb and fw problems
Dear, I have change
tc class add dev eth1 parent 1: classid 1:1 htb rate 65kbps ceil
Ok,
here's my new htb config
#!/bin/bash
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 80 debug 333
tc class add dev eth1 parent 1: classid 1:1 htb rate 60kbit ceil 60kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbit ceil 65kbit prio 3
tc
it looks like you might have a problem with your marking with the FW.
#-A OUTPUT -p tcp -m tcp --sport 3128 -j MARK --set-mark 0x2
-A OUTPUT -p tcp -m tcp --dport 80 -j others
-A personal -j MARK --set-mark 40
-A others -j MARK --set-mark 20
From Looking at this I see the first commented link
On Wed, 04 Aug 2004 14:31:06 +
[EMAIL PROTECTED] wrote:
it looks like you might have a problem with your marking with the FW.
That's what I thought, but I can't troubleshoot any other way.
I tried both ways 0x80, 80 to the same affect.
The strange problem is if I omitted the source ip part,
I can see the counter works in iptables, but in the htb, it doesn't go to
the right class
Please write what commands do you use to see the counter and what counter
do you mean? I think counter for ip packets isn't it?
You can try to see my problem in LARTC archive: HTB 3.13 please help.
In my
10 matches
Mail list logo