From owner-freebsd-questions Sun Nov 3 22: 2:21 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 1442137B401 for ; Sun, 3 Nov 2002 22:02:20 -0800 (PST) Received: from jack.clarksys.com (jack.clarksys.com [64.70.36.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 766B943E77 for ; Sun, 3 Nov 2002 22:02:19 -0800 (PST) (envelope-from max@mailution.net) Received: (qmail 58996 invoked from network); 4 Nov 2002 06:01:44 -0000 Received: from unknown (HELO princess) (4.47.62.87) by jack.clarksys.com with SMTP; 4 Nov 2002 06:01:44 -0000 From: "Max Clark" To: "'Dan Nelson'" Cc: Subject: RE: How to simulate high latency links? Date: Sun, 3 Nov 2002 22:02:33 -0800 Message-ID: <001a01c283c7$c4b78fd0$6445a8c0@princess> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20021104020515.GB63929@dan.emsphone.com> 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 So if I want to do testing between machine A and B I can route all of the traffic trough a machine C with dummynet and simulate the network environment that I need? Basically I want to test/experiment with the send/receive settings within the servers. What about a hardware appliance? Could this be set up using a QOS policy or something similar with a switch? Thanks for the advice. Max -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Dan Nelson Sent: Sunday, November 03, 2002 6:05 PM To: Max Clark Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to simulate high latency links? 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message