2 Simulation program » History » Version 3

Version 2 (MERIOCHAUD, Antoine, 03/21/2016 09:22 AM) → Version 3/47 (MOURA, Ninon, 03/22/2016 11:59 PM)

h3. 2. Simulation program

h4. 2.1. Simulation

Insertion des lignes de commandes SANS MODEM

# Remote Terminal: ssh connexion
ssh labo@192.168.0.200
# Super User Connexion
sudo su

# Definition of p5p1 IP adress
ifconfig p5p1 192.168.2.2
# Definition of p6p1 IP adress
ifconfig p5p1 192.168.3.1

# Add space delay to user interface
tc qdisc add dev p5p1 root netem delay 600ms

# Test connection and delay
# from 192.168.2.1 to 192.168.3.1
ping 192.168.3.1 -I 192.168.2.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

# Display all rules
iptables -t mangle -t nat -L

# Proxy PEPSal
# pepsal -a 192.168.2.1

h4. 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.

# Save data, from management computer (192.168.0.102)
scp labo@192.168.0.201:Proj3/*.

Tests in


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

?