All of lore.kernel.org
 help / color / mirror / Atom feed
* RV: [LARTC] htb problem
@ 2003-06-20 11:53 Miguel A. Novo
  0 siblings, 0 replies; only message in thread
From: Miguel A. Novo @ 2003-06-20 11:53 UTC (permalink / raw)
  To: lartc




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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-20 11:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20 11:53 RV: [LARTC] htb problem Miguel A. Novo

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.