ipfw: bandwidth limiting

Martin Schweizer lists_freebsd at bluewin.ch
Sun Apr 5 02:16:04 PDT 2009


Hello

My system:
FreeBSD firewall 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Fri Feb  6 
10:47:08 CET 2009 martin at firewall:/usr/obj/usr/src/sys/FREEBSD_AMD64  amd64

I use the following rule in my /etc/rc.firewall:

[snip]
$ipfwcmd pipe 1 config bw 80KByte/s
$ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1
[snip]

I'm not sure it works. When I do a large download which takes long and 
anybody else want download too, this download will only get a reduce 
bandwidth. I expect that the second download get same rate as the first one 
(and reduce the bandwidth from the first one). Is that correct? 

Kind regards,
-- 

Martin Schweizer
<office at pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



More information about the freebsd-questions mailing list