2 Simulation program » History » Version 3

« Previous - Version 3/47 (diff) - Next » - Current version
MOURA, Ninon, 03/22/2016 11:59 PM


2. Simulation program

2.1. Simulation

Insertion des lignes de commandes SANS MODEM

  1. Remote Terminal: ssh connexion
    ssh
  2. Super User Connexion
    sudo su
  1. Definition of p5p1 IP adress
    ifconfig p5p1 192.168.2.2
  2. Definition of p6p1 IP adress
    ifconfig p5p1 192.168.3.1
  1. Add space delay to user interface
    tc qdisc add dev p5p1 root netem delay 600ms
  1. Test connection and delay
  2. from 192.168.2.1 to 192.168.3.1
    ping 192.168.3.1 -I 192.168.2.1
  1. Re-routing rule to in order to use PEPSal
    iptables -t mangle -A PREROUTING -s 192.168.2.1 --proto tcp --tcp-flags ALL SYN -j QUEUE
    iptables -t nat -A PREROUTING -s 192.168.2.1 --proto tcp -j REDIRECT --to-port 5000
    iptables -t mangle -A PREROUTING -d 192.168.3.1 --proto tcp --tcp-flags ALL SYN -j QUEUE
    iptables -t nat -A PREROUTING -d 192.168.3.1 --proto tcp -j REDIRECT --to-port 5000
  1. Display all rules
    iptables -t mangle -t nat -L
  1. Proxy PEPSal
  2. pepsal -a 192.168.2.1

2.2. Post processing

Use of iperf and tcpdump as hereafter

Then we collect three parameters in order to analyse the network :
- the latency;
- the jitter;
- the loss of packets.

  1. Save data, from management computer (192.168.0.102)
    scp :Proj3/*.

Tests in terms of quality of usage, such as download a web browser, were planed. However due to difficulties in network configuration, those tests will not be run.