From: Richard Nairn Subject: Re: how to set precedence in TOS Date: Tue, 27 Aug 2002 09:27:22 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20020827092722.B4777@taurus.nairnconsulting.ca> References: <20020827103309.GE2333@fede2.tumsan.fi> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20020827103309.GE2333@fede2.tumsan.fi>; from urgrue@tumsan.fi on Tue, Aug 27, 2002 at 01:33:09PM +0300 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: urgrue Cc: admin Taken from the iptables man page: TOS This is used to set the 8-bit Type of Service field in the IP header. It is only valid in the mangle table. --set-tos tos You can use a numeric TOS values, or use iptables -j TOS -h to see the list of valid TOS names. TOS target v1.2.3 options: --set-tos value Set Type of Service field to one of the following numeric or descriptive values: Minimize-Delay 16 (0x10) Maximize-Throughput 8 (0x08) Maximize-Reliability 4 (0x04) Minimize-Cost 2 (0x02) Normal-Service 0 (0x00) So, iptables -t mangle -j TOS --set-tos Maximize-Throughput On Tue, Aug 27, 2002 at 01:33:09PM +0300, urgrue wrote: > how can one manipulate the precedence bits in TOS (using > iptables/kernel 2.4.18)? > nothing on it in any docs...but it sounds like it might solve my > priorization problems... > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ---end quoted text--- -- | Richard Nairn Specializing in Linux | Nairn Consulting Web / Database Solutions | Calgary, AB | Richard@NairnConsulting.ca