Skip site navigation (1)Skip section navigation (2)
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 follow=
ing
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 20Kb=
ytes
           ipfw pipe 2 config mask dst-ip 0x000000ff bw 640Kbit/s queue 20Kb=
ytes

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


-----------------------------
=C8=F1=EA=E0=F8 =EB=E8 =C8=ED=F2=E5=F0=ED=E5=F2, =EA=EE=E9=F2=EE =E4=E0 =EB=
=E5=F2=E8?
=C4=E0 =ED=E0=EB=E8? =96 =C2=EA=EB=FE=F7=E8 =F1=E5!
=CA=E0=E1=E5=EB=E5=ED =C8=ED=F2=E5=F0=ED=E5=F2 =EE=F2 =C5=E2=F0=EE=EA=EE=EC =
=CA=E0=E1=E5=EB =ED=E0
=ED=EE=E2=E0 =E8 =EE=F9=E5 =EF=EE-=E0=EF=E5=F2=E8=F2=ED=E0 =F6=E5=ED=E0
http://www.ekk.bg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1085411550.d99a113e60ee5>