teoretical question about ipfw

Jeremie Le Hen jeremie at le-hen.org
Mon Aug 8 18:48:03 GMT 2005


Hi,

> I have this situation:
> ipfw pipe 1 config bw 512kbits/s
> ipfw queue 1 config pipe 1 mask dst-ip 0xffffff
> ipfw add queue 1 ip from any to any out via $private_interface
> 
> Acording with man pages, this configurations give to each host same
> bandwith.
> My question:
> I have 2 users:
> first download an file from an good server with maximum speed posibil
> second download an file with very little speed from another server
> 
> My rules split bandwith equal for both users in this case? More
> exactly, each user have 256kbits/s, even if an user cannot
> use all bandwith?

I'm not 100% sure about it, but as a long time user of ipfw/dummynet,
I would say that bandwidth not used by the second one will be given to
the first one.  However Luigi surely has the right answer on this.

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


More information about the freebsd-ipfw mailing list