From: "Miguel A. Novo" <mnovo@redisis.com>
To: lartc@vger.kernel.org
Subject: RV: [LARTC] htb problem
Date: Fri, 20 Jun 2003 11:53:20 +0000 [thread overview]
Message-ID: <marc-lartc-105611000024281@msgid-missing> (raw)
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 {
class ( <$ssh> ) if tcp_sport = 22;
class ( <$smtp> ) if tcp_dport = 25;
class ( <$other> ) if 1 ;
htb {
class ( rate 298kbps, ceil 298kbps ) {
$ssh = class ( rate 32kbps, ceil 64kbps ) { sfq; }
;
$smtp = class ( rate 32kbps, ceil 290kbps ) {
sfq; } ;
$other = class ( rate 192kbps, ceil 298kbps ) {
sfq; } ;
}
}
}
}
But it didn't work (in this last case, I'm afraid my tcng-ing is very
incomplete. :(
--Miguel
>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!<br><br>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2003-06-20 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105611000024281@msgid-missing \
--to=mnovo@redisis.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.