From owner-freebsd-ipfw Mon Jan 22 7: 7: 9 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from proxy.outblaze.com (proxy.outblaze.com [202.77.223.120]) by hub.freebsd.org (Postfix) with SMTP id AF98F37B401 for ; Mon, 22 Jan 2001 07:06:51 -0800 (PST) Received: (qmail 57182 invoked from network); 22 Jan 2001 15:06:44 -0000 Received: from unknown (HELO yusufg.portal2.com) (202.77.181.217) by proxy.outblaze.com with SMTP; 22 Jan 2001 15:06:44 -0000 Received: (qmail 3608 invoked by uid 500); 22 Jan 2001 15:11:43 -0000 Date: Mon, 22 Jan 2001 23:11:43 +0800 From: Yusuf Goolamabbas To: freebsd-ipfw@freebsd.org Subject: Sharing a single link evenly Message-ID: <20010122231143.A3564@outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Whilst reading Luigi's page on dummynet http://www.iet.unipi.it/~luigi/ip_dummynet/ I came across the following paragraph If you want all machines to share evenly a single link, you should use instead: ipfw add queue 1 ip from any to 10.1.2.0/24 ipfw queue 1 config weight 5 pipe 2 mask dst-ip 0x000000ff ipfw pipe 2 config bw 300Kbit/s According to the ipfw man page, the value of weight ranges from 1..100. I am trying to get some understanding as to why the value '5' implies evenness. My first thought that the weight should be 50 but maybe I am misunderstanding some concept or in this case could the value be anything since we want each flow to have the same weight ? Regards, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message