From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lopes Subject: Re: QoS with netfilter Date: Sun, 11 Dec 2005 01:56:57 +0100 Message-ID: <439B7959.4000400@lopsch.com> References: <200512101357.44378.arny@ats.s.bawue.de> <1134232492.31448.0.camel@anduril.intranet.cartel-securite.net> <1134243923.3532.8.camel@anduril.intranet.cartel-securite.net> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1134243923.3532.8.camel@anduril.intranet.cartel-securite.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Cc: netfilter@lists.netfilter.org Cedric Blancher schrieb: > Le samedi 10 d=E9cembre 2005 =E0 10:14 -0800, Erik a =E9crit : >=20 >>dscp is not important. You have a suggestion how to set TOS? >>I would ideally like to controll the whole byte. Either TOS or DSCP and= ECN. >>How can I change all these bits (i.e. the whole byte) with the >>netfilter mangle table or other? >=20 >=20 > I think you're taking the problem the wrong way. Altering DSCP/TOS won'= t > change the way packets are treated, because by default, there's no QoS > policy. So you'll have to set a QoS policy yourself that fits your > needs. >=20 > To do this, you have to read LARTC as adivsed before. Then, your QoS > policy can be built upon TOS/DSCP value, but you can use stuff like u32 > classifier or MARK. >=20 > Have you tried stuff like cbq-init or htb-init (see Google) ? >=20 >=20 Perhaps I'm wrong but the handling will be done bei IP as soon as the=20 bits are set. That's the way the internet routers should work. With tc=20 you can do other schemes of handling. Correct me please if I'm wrong.