Date: Tue, 2 Apr 2013 20:15:28 -0400 From: Jason Hellenthal <jhellenthal@dataix.net> To: Yuri <yuri@rawbw.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Is it possible to slow down the network interface? Message-ID: <4B9E361F-D9E7-4A58-A3C1-4E31E3BAF445@DataIX.net> In-Reply-To: <515B6906.7000305@rawbw.com> References: <515B6906.7000305@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <yuri@rawbw.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B9E361F-D9E7-4A58-A3C1-4E31E3BAF445>