[Olsr-dev] olsrv2 test: handling change in link quality

Henning Rogge (spam-protected)
Fri Sep 5 14:34:49 CEST 2014


On Fri, Sep 5, 2014 at 2:07 PM, Vigneswaran R <(spam-protected)> wrote:
> Hello,
>
> I am planning to test OLSRv2 to see how the change in link quality affects
> the route calculation.
>
> 1. Any suggestion on simulating a degraded link (using tools such as
> ethtool, iptables, tc etc)?

The easiest way I found to simulate packet loss on a bridge is a
mixture of iptables (for dropping stuff with the statistic module) and
ebtables (for marking traffic depending on incoming/outgoing
interface).

I have a couple of scripts for this, maybe you want to have a look at them?

> I am using qemu-kvm virtual machines with emulated e1000 NICs for testing. I
> use iptables to introduce packet loss for testing. However, I am not sure
> whether any better way to do this.
>
> 2. Below is the list of plugins currently being used (default ones) by
> OLSRv2. Anything else to be enabled?
>
> Static plugin: auto_ll4
> Static plugin: cfg_compact
> Static plugin: eth_listener
> Static plugin: ff_dat_metric
> Static plugin: layer2info
> Static plugin: mpr
> Static plugin: neighbor_probing
> Static plugin: nhdpinfo
> Static plugin: nl80211_listener
> Static plugin: olsrv2info

After getting some new test data from emulation I would suggest
deactivating the MPR plugin until we get a good hysteresis mechanism
for it.

Henning




More information about the Olsr-dev mailing list