On Linux

On Linux, installing the WAN Emulation driver depends on the system characteristics. The following process must be used as a general frame only.

Prerequisites

Before installing the driver on Linux, it is necessary to have installed:

A common way to install and prepare kernel sources is to execute the following commands:

yum install -y kernel-devel-`uname -r`
cd /usr/src/kernels/`uname -r`
make oldconfig
make prepare
make scripts

  1. A common way to compile the ipfw module on most common Linux distributions is:
    cd <neoload>/tools/ipfw/linux
    unzip ipfw-linux-src.zip -d ipfw-linux-src
    cd ipfw-linux-src
    make KERNELPATH=/lib/modules/`uname -r`/build
  2. Once the compilation is successful, the ipfw binaries need be placed in a specific Neotys Design Studio directory with:
    cd <neoload>/tools/ipfw/linux
    cp ipfw-linux-src/ipfw/ipfw .
    chmod +x ipfw
    cp ipfw-linux-src/dummynet2/ipfw_mod.ko .
  3. Before launching the NeoLoad Agent, the ipfw module needs be loaded into the system with:
    cd <neoload>/tools/ipfw/linux
    insmod ipfw_mod.ko

    Be careful with this command as it may need root privileges to be executed successfully. If it is the case, see step 5.

  4. Then you can check that the module is correctly running with:
    ./ipfw list

    The result should be something like: 65535 allow ip from any to any

    Be careful with this command as it may need root privileges to be executed successfully. If it is the case, see step 5.

  5. The Controller or the Load Generator Agent must execute the ipfw command. You have to ensure that the account running Neotys Design Studio has sufficient privileges to execute it.
    This can be achieved by giving the account running Neotys Design Studio a sudo access without a password prompt to the program with:
  6. Restart Neotys Design Studio.