VILLASframework
Modular co-simulation framework
|
VILLASnode supports the emulation of wide-area network characterisics.
This emulation can be configured on a per-node basis for outgoing (egress) data only. Incoming data is not processed by the network emulation!
This network emulation is handled by Linux' netem queuing discipline which is part of the traffic control subsystem. Take a look at the following manual page for supported metrics: tc-netem(8).
VILLASnode only takes care of setup and initalizing the netem queuing discipline inside the kernel. For this the iproute2 software package (ip
& tc
commands) must be installed. The configuration is done via the config file. Look at etc/example.conf
for a section called netem
or tc-netem(8)
for more details.
For some reason, Fedora installs the delay distribution profiles under /usr/lib64/tc/
. But libnl3 only seraches /usr/lib/tc/
. This results in the following error when using netem:
To fix this error please add a symlink: ln -s /usr/lib64/tc /usr/lib/tc
Netem supports loading custom delay distributions.
.dist
in the tc
lib directory: /usr/lib/tc/
.Weather or not network emulation is active.
Additional latency in micro seconds.
Packet delay jitter in micro seconds.
Distribution of delay: uniform, normal, pareto, paretonormal
Packet loss in percent.
Packet duplication in percent.
Packet corruption in percent.