From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Wed, 20 Nov 2002 09:43:58 +0000 Subject: Re: [LARTC] Do I have to use imq or ingress for incoming packets? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Tuesday 19 November 2002 10:32, =B9=DA =C1=A4=C0=BA wrote: > I have 2 lan cards in LINUX ROUTER. eth0 for hub(masqurade ) and eth1 > for an internet. > I used htb with eth1 to menage outgoing packets. And It is working > perfect. > In my opinion , policying eth1 with htb could make the incoming packets > controlled. > but I doesn't work. It doesn't recognize any special port number. If you add a htb qdisc on device eth1, you are controlling outgoing bandwid= th. =20 For incoming bandwidth, you need the ingress qdisc and filters with policer= s. =20 So "policyng with eth1 with htb" does not make any sense to me. It's or policyng on eth1 with the ingress qdisc or shaping on eth0 with htb. > Do I thinking wrong? Do i have to use imq ? You don't have to, but if you use imq you can use htb or cbq. But if you h= ave=20 a router, why not shaping at eth0 ??? All packets coming from the internet= =20 has to leave eth0. Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/