dummynet4
Traffic shaper, bandwidth manager and delay emulator
Overview
The dummynet system facility permits the control of traffic going through the various network interfaces, by applying bandwidth and queue size limitations, implementing different scheduling and queue management policies, and emulating delays and losses.
The user interface for dummynet is implemented by the dnctl(8) utility, so please refer to the dnctl(8) manpage for a complete description of the dummynet capabilities and how to use it.
Kernel Options
The following options in the kernel configuration file are related to dummynet operation:
- IPFIREWALL
-
enable ipfirewall (if
dummynetis to be used with ipfw) - IPFIREWALL_VERBOSE
-
enable firewall output
- IPFIREWALL_VERBOSE_LIMIT
-
limit firewall output
- DUMMYNET
-
enable
dummynetoperation - HZ
-
set the timer granularity
Generally, the following options are required:
options IPFIREWALL options DUMMYNET options HZ=1000 # strongly recommended
Additionally, one may want to increase the number of mbuf clusters (used to store network packets) according to the sum of the bandwidth-delay products and queue sizes of all configured pipes.
Releases
78 releases since FreeBSD 2.2.8-RELEASE; the text changed 49 times.