All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] redhat 9 and htb
@ 2004-02-19 10:28 Razvan Stranschi
  2004-02-19 14:16 ` Razvan Stranschi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Razvan Stranschi @ 2004-02-19 10:28 UTC (permalink / raw)
  To: lartc

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#cccccc" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hi everyone,<br>
<br>
I have RH9 2.4.20-28.0 with iproute-2.4.7-7.90.1 installed.<br>
But when I try <br>
<br>
<pre style="margin: 0em;">tc qdisc add dev eth0 root handle 1:0 htb default 12
Unknown qdisc "htb", hence  option "default" is unparsable.

There are some others settings that must be done in kernel?

I search the archive but I saw that some people with same versions of 
rh9 and iproute don't get this errors


Thank you :)
</pre>
<pre class="moz-signature" cols="90">-- 

Razvan Stranschi
<a class="moz-txt-link-abbreviated" href="mailto:razvan@arvo.ro">razvan@arvo.ro</a>
</pre>
</body>
</html>
---------------------------------------
This e-mail was scanned for viruses by ARVO.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LARTC] redhat 9 and htb
  2004-02-19 10:28 [LARTC] redhat 9 and htb Razvan Stranschi
@ 2004-02-19 14:16 ` Razvan Stranschi
  2004-02-19 14:27 ` Chad Juettner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Razvan Stranschi @ 2004-02-19 14:16 UTC (permalink / raw)
  To: lartc

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#cccccc" text="#000000">
I want an advise, because I don't know much about lartc, I am using
htb.init.<br>
What I want to accomplish:<br>
I have a RH9 as gateway in a network with 30 computers. RH9 make SNAT
for them to go out on internet, and I want to be able to assign
different bandwidth to different computer in local network.<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ________&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <small><small><small><small><small><small>________________<br>
&nbsp;&nbsp;&nbsp; 192.168.0.2 &nbsp; &nbsp; |&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
&nbsp;&nbsp;&nbsp; 192.168.0.3 &nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; switch &nbsp; |&nbsp; -------&gt;eth0 |&nbsp;&nbsp; &nbsp; &nbsp; RedHat
9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; eth1 -&gt; internet<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ......&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
</small></small></small></small></small></small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; |__ _____|&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |________________|<br>
<br>
<br>
If I understand corectly I must:<br>
<br>
1. include both eth0 and eth1 in traffic control: eth0 will limit
download and eth1 will limit upload from lan host perspective<br>
2. because on eth1 I make SNAT I cannot differentiate by source IP
different classes, all packets will have the public IP as source after
SNAT so I must MARK packets and different classes by this MARK<br>
<br>
Are any other issue to take in account here?<br>
<br>
<br>
Thank you.<br>
<pre class="moz-signature" cols="90">-- 

Razvan Stranschi
<a class="moz-txt-link-abbreviated" href="mailto:razvan@arvo.ro">razvan@arvo.ro</a>
</pre>
</body>
</html>
---------------------------------------
This e-mail was scanned for viruses by ARVO.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] redhat 9 and htb
  2004-02-19 10:28 [LARTC] redhat 9 and htb Razvan Stranschi
  2004-02-19 14:16 ` Razvan Stranschi
@ 2004-02-19 14:27 ` Chad Juettner
  2004-02-19 14:38 ` andybr
  2004-02-19 14:42 ` [LARTC] " Razvan Stranschi
  3 siblings, 0 replies; 5+ messages in thread
From: Chad Juettner @ 2004-02-19 14:27 UTC (permalink / raw)
  To: lartc

Razvan Stranschi wrote:

>
>tc qdisc add dev eth0 root handle 1:0 htb default 12
>Unknown qdisc "htb", hence  option "default" is unparsable.
>
>There are some others settings that must be done in kernel?
>  
>
There's a chance you don't have the htb kernel module installed on your 
box. I'm not sure if it's included on a default RH9 installation. When 
you do an lsmod you should see a module sch_htb listed. If not you'll 
probably have to recompile a newer kernel and include support for HTB (I 
believe it's under QOS in the networking options section).

Hope that helps - good luck!

--
Chad Juettner
chad@bitstream.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re:[LARTC] redhat 9 and htb
  2004-02-19 10:28 [LARTC] redhat 9 and htb Razvan Stranschi
  2004-02-19 14:16 ` Razvan Stranschi
  2004-02-19 14:27 ` Chad Juettner
@ 2004-02-19 14:38 ` andybr
  2004-02-19 14:42 ` [LARTC] " Razvan Stranschi
  3 siblings, 0 replies; 5+ messages in thread
From: andybr @ 2004-02-19 14:38 UTC (permalink / raw)
  To: lartc

Hi,

Try this:

tc qdisc add dev eth0 root handle 1: htb default 12

[]'s
Anderson

> Hi everyone,
> 
> I have RH9 2.4.20-28.0 with iproute-2.4.7-7.90.1 
installed.
> But when I try
> 
> tc qdisc add dev eth0 root handle 1:0 htb default 12
> Unknown qdisc "htb", hence  option "default" is 
unparsable.
> 
> There are some others settings that must be done in 
kernel?
> 
> I search the archive but I saw that some people with 
same versions of
> rh9 and iproute don't get this errors
> 
> 
> Thank you :)
> --
> 
> Razvan Stranschi
> razvan@arvo.ro
> --------------------------------------- This e-mail 
was scanned for viruses by
> ARVO. _______________________________________________ 
LARTC mailing list /
> LARTC@mailman.ds9a.nl 
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
> http://lartc.org/
> 
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] redhat 9 and htb
  2004-02-19 10:28 [LARTC] redhat 9 and htb Razvan Stranschi
                   ` (2 preceding siblings ...)
  2004-02-19 14:38 ` andybr
@ 2004-02-19 14:42 ` Razvan Stranschi
  3 siblings, 0 replies; 5+ messages in thread
From: Razvan Stranschi @ 2004-02-19 14:42 UTC (permalink / raw)
  To: lartc

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#cccccc" text="#000000">
I solved the problem, I install iproute-2.4.7-7.11 from Fedora,<br>
I find this ideea on this list somewhere, now it works :)<br>
<br>
Thanks for suggestions<br>
<pre class="moz-signature" cols="90">Razvan Stranschi
<a class="moz-txt-link-abbreviated" href="mailto:razvan@arvo.ro">razvan@arvo.ro</a>
</pre>
<br>
<br>
Razvan Stranschi wrote:
<blockquote cite="mid40348FEB.4030203@arvo.ro" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
Hi everyone,<br>
  <br>
I have RH9 2.4.20-28.0 with iproute-2.4.7-7.90.1 installed.<br>
But when I try <br>
  <br>
  <pre style="margin: 0em;">tc qdisc add dev eth0 root handle 1:0 htb default 12
Unknown qdisc "htb", hence  option "default" is unparsable.

There are some others settings that must be done in kernel?

I search the archive but I saw that some people with same versions of 
rh9 and iproute don't get this errors


Thank you :)
  </pre>
  <pre class="moz-signature" cols="90">-- 

Razvan Stranschi
<a class="moz-txt-link-abbreviated" href="mailto:razvan@arvo.ro">razvan@arvo.ro</a>
  </pre>
---------------------------------------
This e-mail was scanned for viruses by ARVO.
_______________________________________________
LARTC mailing list / <a class="moz-txt-link-abbreviated" href="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</a> HOWTO: <a class="moz-txt-link-freetext" href="http://lartc.org/">http://lartc.org/</a>
---------------------------------------
This e-mail was scanned for viruses by ARVO.
</blockquote>
</body>
</html>
---------------------------------------
This e-mail was scanned for viruses by ARVO.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-19 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 10:28 [LARTC] redhat 9 and htb Razvan Stranschi
2004-02-19 14:16 ` Razvan Stranschi
2004-02-19 14:27 ` Chad Juettner
2004-02-19 14:38 ` andybr
2004-02-19 14:42 ` [LARTC] " Razvan Stranschi

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.