Date: Mon, 24 May 2004 18:12:30 +0300 From: angel.kafazov@mail.bg To: freebsd-ipfw@freebsd.org Subject: How to give equal bandwidth to each host Message-ID: <1085411550.d99a113e60ee5@www.mail.bg>
next in thread | raw e-mail | index | archive | help
Hello everybody,
I have a problem when trying to shape my traffic so that every IP would get
proportional amount of the bandwidth. I mean that any number of hosts should be
able to use the full link at any time proportionally. I have made the following
settings:
ipfw add pipe 1 ip from 192.168.2.0/24 to any out
ipfw add pipe 2 ip from any to 192.168.2.0/24 in
ipfw pipe 1 config mask src-ip 0x000000ff bw 128Kbit/s queue 20Kbytes
ipfw pipe 2 config mask dst-ip 0x000000ff bw 640Kbit/s queue 20Kbytes
where 768 is my total bandwidth (640 down). However it does not seem to be
working correctly.
I have FreeBSD 4.9 box doing nat.
I will appreciate any help.
Best,
Angel Kafazov
-----------------------------
Искаш ли Интернет, който да лети?
Да нали? – Включи се!
Кабелен Интернет от Евроком Кабел на
нова и още по-апетитна цена
http://www.ekk.bg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1085411550.d99a113e60ee5>
