From owner-freebsd-net@FreeBSD.ORG Wed Apr 3 00:15:44 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 04785D84 for ; Wed, 3 Apr 2013 00:15:44 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-gh0-f173.google.com (mail-gh0-f173.google.com [209.85.160.173]) by mx1.freebsd.org (Postfix) with ESMTP id BA9536CE for ; Wed, 3 Apr 2013 00:15:43 +0000 (UTC) Received: by mail-gh0-f173.google.com with SMTP id g16so163425ghb.18 for ; Tue, 02 Apr 2013 17:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=//1jSGNXtjOGAx12SocS9wvjySZVEPmuyxoY1aUnzSY=; b=Q2rByz7/L0+Vh6zi1152bTI/kh2Red7i3NDO1KBgEp7z1OXQT7P+XxXNS0zxJ0FLuC BSifoI/lYF8cABcr0P6L0WazvGOFT3bTEWLjC5I2lpZ3xEoMzSBI8HAnf+qq8oNv3up7 gQ7003KgI+quO4kVIVHjBocWoTH6xWDOqNHjI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=//1jSGNXtjOGAx12SocS9wvjySZVEPmuyxoY1aUnzSY=; b=S3BV1RAnpIzu3Xk/JgL4hXeS9wCU3KS8v+B5Wo++EdcMuZS0fXQPrRuaUB6S5joJ5h dZEK/b4CpTCe1QTDOdnVhhtHraF6Tv/KqS3tcMt2Y++c8CaZEDzm9GVxvl6GvBfOJELF LddErd6eI19W01ZAYXwB1Jto6t68hfPbUXC0iNnUUc3WG/UXKsUKmMVkTSJv86BFJz2i NiJwltMCdLVjoWhu5pVKtPlTzylnz7uganTEzPtDvgWgGZYBiB6tVRo7nSEjFcg/ELjk uLUo0S0NWI7dH5GF1jBTc4Y7zQg5+kur9TMd/Ej9b5snw80kcuD6/O25JDtj3QDV2ZUn Qbvw== X-Received: by 10.236.124.200 with SMTP id x48mr17222549yhh.180.1364948136823; Tue, 02 Apr 2013 17:15:36 -0700 (PDT) Received: from [10.24.132.116] (h96-60-216-253.wyngmi.dedicated.static.tds.net. [96.60.216.253]) by mx.google.com with ESMTPS id o31sm6563006yhh.21.2013.04.02.17.15.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 17:15:35 -0700 (PDT) References: <515B6906.7000305@rawbw.com> Mime-Version: 1.0 (1.0) In-Reply-To: <515B6906.7000305@rawbw.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <4B9E361F-D9E7-4A58-A3C1-4E31E3BAF445@DataIX.net> X-Mailer: iPhone Mail (10B146) From: Jason Hellenthal Subject: Re: Is it possible to slow down the network interface? Date: Tue, 2 Apr 2013 20:15:28 -0400 To: Yuri X-Gm-Message-State: ALoCoQn3M6vtn/OeApT3NsTOvicpNwpQR2KQ7MofCG6e0jzVNOfLRs1okLBDyGYWTMqssDKj5nll Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:15:44 -0000 Bandwidth limiting via pf or ipfw ? ipfw may be more forward to use since its usually easier to comprehend the s= yntax and type it directly on the command line. --=20 Jason Hellenthal JJH448-ARIN - (2^(N-1)) On Apr 2, 2013, at 19:25, Yuri wrote: > For the testing purposes, I would like to be able to control the maximum s= peed of the interface. > There is this command 'ifconfig re0 media 10baseT/UTP' that is supposed to= lower the speed to 10Mbps. However, it makes interface unusable on my syste= m. All connections are broken, even the router had to be rebooted. Maybe thi= s is the router issue. >=20 > Is there any other, "soft" way to change maximum interface speed to a part= icular value? > When somebody sends data too fast, OS sends back ICMP notifications that c= onnection is jammed. My question is, is it possible to impose such condition= artificially? > Is 'ifconfig re0 media 10baseT/UTP' actually supposed to work transparentl= y, or disconnects are to be expected? >=20 > Yuri > _______________________________________________ > 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"