Is it possible to slow down the network interface?

Jason Hellenthal jhellenthal at dataix.net
Wed Apr 3 00:15:44 UTC 2013


Bandwidth limiting via pf or ipfw ?

ipfw may be more forward to use since its usually easier to comprehend the syntax and type it directly on the command line.

-- 

 Jason Hellenthal
 JJH448-ARIN
 - (2^(N-1))


On Apr 2, 2013, at 19:25, Yuri <yuri at rawbw.com> wrote:

> For the testing purposes, I would like to be able to control the maximum speed 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 system. All connections are broken, even the router had to be rebooted. Maybe this is the router issue.
> 
> Is there any other, "soft" way to change maximum interface speed to a particular value?
> When somebody sends data too fast, OS sends back ICMP notifications that connection is jammed. My question is, is it possible to impose such condition artificially?
> Is 'ifconfig re0 media 10baseT/UTP' actually supposed to work transparently, or disconnects are to be expected?
> 
> Yuri
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list