better sharing connectivity in queue
Miroslav Chlastak
mira at chlastak.cz
Thu Dec 15 14:39:54 UTC 2011
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
More information about the freebsd-ipfw
mailing list