From owner-freebsd-net@FreeBSD.ORG Sun Aug 15 04:25:05 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D051C16A4CF for ; Sun, 15 Aug 2004 04:25:04 +0000 (GMT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id BD9D343D45 for ; Sun, 15 Aug 2004 04:25:01 +0000 (GMT) (envelope-from bikrant_ml@wlink.com.np) Received: (qmail 25875 invoked from network); 15 Aug 2004 04:24:57 -0000 Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74) by 0 with SMTP; 15 Aug 2004 04:24:57 -0000 Received: (qmail 62762 invoked by uid 1008); 15 Aug 2004 04:24:57 -0000 Received: from bikrant_ml@wlink.com.np by qmail-scanner.wlink.com.np by uid 1002 with qmail-scanner-1.20 (clamscan: 0.60. Clear:RC:1(202.79.32.76):. Processed in 0.020572 secs); 15 Aug 2004 04:24:57 -0000 Received: from smtp1.wlink.com.np (202.79.32.76) by qmail-scanner.wlink.com.np with SMTP; 15 Aug 2004 04:24:56 -0000 Received: (qmail 12322 invoked by uid 508); 15 Aug 2004 04:24:56 -0000 Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 15 Aug 2004 04:24:56 -0000 (Sun, 15 Aug 2004 10:09:56 +0545) From: Bikrant Neupane To: "Thiago Pinto Damas" Date: Sun, 15 Aug 2004 10:09:52 +0545 User-Agent: KMail/1.6.1 References: <200408111158.43933.bikrant_ml@wlink.com.np> <20040815020237.1826.qmail@gawab.com> In-Reply-To: <20040815020237.1826.qmail@gawab.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408151009.52979.bikrant_ml@wlink.com.np> X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; -4.9 / 5.0 X-Spam-Status: No, hits=-4.9 required=5.0 cc: freebsd-net@freebsd.org Subject: Re: Changing TOS value X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 04:25:05 -0000 Hi, Thanks for the reply. But my problem is something else. I want to change the TOS value. In Linux we can change the TOS value in the mangle table. Is that possible in FreeBSD? regards, Bikrant On Sunday 15 August 2004 07:47, Thiago Pinto Damas wrote: > Try to limit the bandwidth for each interface, like: > ipfw pipe 1 config bw 512Kbits/s > ipfw pipe 2 config bw 512Kbits/s > ipfw add pipe 1 ip from 10.0.0.8 to any via wi0 in > ipfw add pipe 2 ip from any to 10.0.0.8 via wi0 out > > This might work! > > Bikrant Neupane writes: > > Hi, > > I am using freebsd 4.9 as a bandwidth manager. I would like to set IP > > TOS field to some desired value or is it possible to completely ignore > > the TOS value? > > I have observed that using different value of TOS affects fairness in > > b/w allocation in a pipe. So for that specific reason I would like to > > change the TOS of all IP pkts before it gets into the pipe. > > I think this is very common problem however I didn't find any useful > > information in google either. > > > > thanks, > > Bikrant > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"