From owner-freebsd-questions Sun Nov 3 18: 5:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F07F37B401 for ; Sun, 3 Nov 2002 18:05:22 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A6243E8A for ; Sun, 3 Nov 2002 18:05:21 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gA425FZp022743; Sun, 3 Nov 2002 20:05:15 -0600 (CST) (envelope-from dan) Date: Sun, 3 Nov 2002 20:05:15 -0600 From: Dan Nelson To: Max Clark Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to simulate high latency links? Message-ID: <20021104020515.GB63929@dan.emsphone.com> References: <000f01c28399$c2482c60$6445a8c0@princess> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000f01c28399$c2482c60$6445a8c0@princess> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Nov 03), Max Clark said: > Hi, > > I am looking for a way to do some performance testing/tuning in a lab > environment. I have a high latency low speed link (T1/200MS) that I need > to replicate. > > Are there any ways to do this with FreeBSD? dummynet is what you want. By redirecting traffic through a dummynet pipe with ipfw, you can simulate latency and packet loss. See the ipfw and dummynet manpages. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message