Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 15:24:30 +0100
From:      Miroslav Chlastak <mira@chlastak.cz>
To:        freebsd-ipfw@freebsd.org
Subject:   better sharing connectivity in queue
Message-ID:  <4EEA031E.6090201@chlastak.cz>

next in thread | raw e-mail | index | archive | help
Hi all,

  is there (ipfw/dummynet) any mechanism, how to queue network traffic 
like PCQ in Mikrotik (http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ)?

What can I do - better sharing of internet conectivity for clients in 
LAN (better balanced).

If i have 1 queue (e.g. 10Mbps) with 10 clients ip address  and one 
client have heavy load on network, than this client have most of "speed" 
of this queue.

Example of my queue config:

ipfw pipe 1 config bw 10Mbps queue 16Kbytes
ipfw pipe 2 config bw 10Mbps queue 16Kbytes
ipfw queue 1 config pipe 1 mask src-ip 0xffffffff queue 16Kbytes
ipfw queue 2 config pipe 2 mask dst-ip  0xffffffff queue 16Kbytes

Client to queue config:

ipfw add queue 1 ip from client_ip to any
ipfw add queue 2 ip from any to client_ip




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