Hi Sebastian,

On Tue, Oct 02, 2007 at 11:02:00AM +0200, Sebastian Reitenbach wrote:
> Hi,
> 
> I want to simulate some max bandwidth on an interface of a test box, e.g.
> 34MBit, 155MBit, ... to make some tests. The test box has some gigabit
> interfaces installed.
> 
> I read in the pf.conf manual that I can define a maximum bandwidth for an
> interface, instead of taking the bandwidth from the interface itself. I just
> have to enable queueing, like this:
> 
> altq on dc0 cbq bandwidth 5Mb queue { my_test_queue }
> 
> just my question is, will pf honour the limit of 5Mb on that interface,
> regardless how much faster it could be? Or will it try to be "intelligent"
> and use all available bandwidth?

I don't intend to make any advertisement for one or the other BSD, but
you may be interested in DUMMYNET, a feature available in FreeBSD which
allow you to fake physical networks (bandwidth, packet loss rate and
delay).

See section "TRAFFIC SHAPER" in
http://www.freebsd.org/cgi/man.cgi?query=ipfw&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

Reply via email to